Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VKCOM/kphp
/ functions
Functions
17,654 in github.com/VKCOM/kphp
⨍
Functions
17,654
◇
Types & classes
5,411
↓ 4 callers
Function
str_replace_string
runtime-common/stdlib/string/string-functions.cpp:2127
↓ 4 callers
Function
stream_status
runtime-light/k2-platform/k2-api.h:213
↓ 4 callers
Function
string_view_dup
compiler/utils/string-utils.h:73
↓ 4 callers
Method
substitute
runtime-light/stdlib/string/pcre2-functions.h:233
↓ 4 callers
Function
tagged_ptr_get_tag
common/smart_ptrs/tagged-ptr.h:29
↓ 4 callers
Function
tagged_ptr_to_uintptr
common/smart_ptrs/tagged-ptr.h:64
↓ 4 callers
Function
take8_8
runtime-common/stdlib/msgpack/packer.cpp:14
↓ 4 callers
Function
test
@param mixed $x */
tests/phpt/string_functions/003_strip_tags_mixed_arg.php:5
↓ 4 callers
Function
test1
@param CallableNode|ConstexprNode $x */
tests/phpt/smart_casts/06_unions_with_interfaces.php:15
↓ 4 callers
Function
test2
@param CallableNode|IntLiteral|StringLiteral $x */
tests/phpt/smart_casts/06_unions_with_interfaces.php:30
↓ 4 callers
Function
test3
@param IntLiteral|CallableNode|ConstexprNode $x */
tests/phpt/smart_casts/06_unions_with_interfaces.php:41
↓ 4 callers
Function
test4
@param IntLiteral|StringLiteral|CallableImpl $x */
tests/phpt/smart_casts/06_unions_with_interfaces.php:52
↓ 4 callers
Function
testAutoReifyArr
* @kphp-generic T * @param T[] $arr */
tests/phpt/generics/017_templates_primitives.php:125
↓ 4 callers
Function
test_array_unique_no_conversion
($array)
tests/phpt/array/017_array_unique.php:13
↓ 4 callers
Function
test_assign_binary_operations_null_false
* @param null|false $lhs * @param false|null $rhs */
tests/phpt/optional/004_operations.php:169
↓ 4 callers
Function
test_bcmod
($nums)
tests/phpt/dl/483_bcmath.php:201
↓ 4 callers
Function
test_binary_operations_null_false
* @param null|false $lhs * @param false|null $rhs */
tests/phpt/optional/004_operations.php:88
↓ 4 callers
Function
test_cmp_operation_class_instance_null_false
* @param A $lhs * @param null|false $rhs */
tests/phpt/optional/004_operations.php:240
↓ 4 callers
Function
test_cmp_operation_null_false
* @param null|false $lhs * @param mixed $rhs */
tests/phpt/optional/004_operations.php:221
↓ 4 callers
Function
test_double_names
tests/cpp/runtime/flex-test.cpp:110
↓ 4 callers
Function
test_json
($options)
tests/phpt/dl/include/test-json.php:3
↓ 4 callers
Function
test_switch_by_optional_int
* @param int|false|null $x */
tests/phpt/optional/005_switch_by_null.php:7
↓ 4 callers
Function
test_utf_to_win_to_utf_with_escaped
(string $utf_str, bool $escaped)
tests/phpt/string_functions/004_vk_win_to_utf.php:12
↓ 4 callers
Function
test_with_seed
(int $seed)
tests/phpt/array_access/002_set_append.php:36
↓ 4 callers
Function
tl_buf_add_tree
common/tl/compiler/tl-parser-new.cpp:1363
↓ 4 callers
Function
tl_fetch_data
common/tl/parse.cpp:292
↓ 4 callers
Function
tl_fetch_init_raw_message
common/tl/methods/rwm.cpp:160
↓ 4 callers
Function
tl_finish_subtree
common/tl/compiler/tl-parser-new.cpp:1541
↓ 4 callers
Function
tl_get_var
common/tl/compiler/tl-parser-new.cpp:1052
↓ 4 callers
Function
tl_magic_convert_to_name
runtime/tl/tl_magics_decoding.cpp:12
↓ 4 callers
Function
tl_parse_string
runtime/rpc.cpp:1245
↓ 4 callers
Function
tl_set_error
vkext/vkext-tl-parse.cpp:108
↓ 4 callers
Function
tl_tree_dup
common/tl/compiler/tl-parser-new.cpp:1291
↓ 4 callers
Function
tl_type_get_by_name
vkext/vkext-rpc-tl-serialization.cpp:264
↓ 4 callers
Function
to_array
* @param tuple(int, int, mixed, mixed[])|null $x * @return mixed[] */
tests/phpt/fork/006_fork_tuple.php:26
↓ 4 callers
Function
to_half_byte
runtime-common/stdlib/vkext/vkext-stats.cpp:18
↓ 4 callers
Method
to_mixed
runtime-light/stdlib/web-transfer-lib/defs.h:330
↓ 4 callers
Function
transform_to_vector
runtime-common/stdlib/array/array-functions.h:26
↓ 4 callers
Function
trim_impl
runtime-common/stdlib/string/string-functions.cpp:2309
↓ 4 callers
Function
tryCatch
(callable $cb)
tests/phpt/generics/028_constexpr_services_cont.php:91
↓ 4 callers
Method
try_consume
(self, kind: str)
compiler/rewrite-rules/impl/rules_parser.py:55
↓ 4 callers
Function
uncompress
runtime-light/stdlib/zstd/zstd-functions.cpp:76
↓ 4 callers
Function
unregister_wait_queue
runtime/resumable.cpp:960
↓ 4 callers
Method
use_callback
($a, callable $callback)
tests/phpt/lambdas/Classes/UseCallbacksAsString.php:59
↓ 4 callers
Function
valid_regex_flags
runtime-light/stdlib/string/regex-functions.h:144
↓ 4 callers
Function
vector_lib
@return ffi_scope<vector> */
tests/python/tests/ffi/php/include/common.php:21
↓ 4 callers
Function
vk_flex
(string $name, string $case_name, int $sex, string $type, int $lang_id)
vkext/vkext.stub.php:26
↓ 4 callers
Function
vk_sp_full_simplify
(string $str)
vkext/vkext.stub.php:328
↓ 4 callers
Function
vk_zend_update_public_property_long
vkext/vk_zend.h:221
↓ 4 callers
Function
wait_queue_skip_gotten
runtime/resumable.cpp:1023
↓ 4 callers
Function
withDef3
* @kphp-generic T: \I = \I * @param ?T $i */
tests/phpt/generics/021_default_T.php:50
↓ 4 callers
Method
withDef6
* @kphp-generic T: self = self * @param T $cc */
tests/phpt/generics/021_default_T.php:85
↓ 4 callers
Function
with_callable_variadic
(callable $f, ...$args)
tests/phpt/lambdas/051_lambdas_and_variadics.php:12
↓ 4 callers
Function
write_buff_char_3
vkext/vkext.cpp:213
↓ 4 callers
Function
write_buff_char_4
vkext/vkext.cpp:222
↓ 4 callers
Function
write_buff_char_5
vkext/vkext.cpp:232
↓ 4 callers
Function
write_buff_char_6
vkext/vkext.cpp:243
↓ 4 callers
Function
write_buff_long
vkext/vkext.cpp:255
↓ 4 callers
Method
write_int64
runtime/kphp_tracing_binlog.cpp:127
↓ 4 callers
Method
write_log
server/json-logger.cpp:264
↓ 4 callers
Method
write_log_with_backtrace
server/json-logger.cpp:298
↓ 4 callers
Method
write_stats_to
server/server-stats.cpp:857
↓ 4 callers
Function
write_to
server/server-stats.cpp:739
↓ 4 callers
Function
zzrealloc
vkext/vkext-rpc-include.h:95
↓ 4 callers
Function
zzstrfree
vkext/vkext-rpc-include.h:161
↓ 4 callers
Method
~string
Don't move this destructor to the headers, it spoils addr2line traces
runtime-common/core/core-types/definition/string.cpp:8
↓ 3 callers
Function
GGGG
* @kphp-template T $arg * @kphp-template $arg2 * @kphp-return T */
tests/phpt/generics/011_infer_return_type_of_template_call_inside_template.php:19
↓ 3 callers
Function
_assert_fetch_int
(expected_result: int, expected_exception: bool = False)
tests/python/tests/tl_primitives/test_tl_primitives.py:29
↓ 3 callers
Function
_assert_rpc_parse
(new_rpc_data: str, expected_result: bool, expected_exception: bool = False)
tests/python/tests/tl_primitives/test_tl_primitives.py:19
↓ 3 callers
Method
_clear_working_dir
(dir_path)
tests/python/lib/kphp_builder.py:86
↓ 3 callers
Method
_is_json_log_enabled
(self)
tests/python/lib/k2_server.py:59
↓ 3 callers
Function
_rpc_connect_open
vkext/vkext-rpc.cpp:1077
↓ 3 callers
Method
_test_job_redirect_chain
(self, *, data, redirect_chain_len, timeout_error=False)
tests/python/tests/job_workers/test_job_inside_job.py:22
↓ 3 callers
Method
_test_job_worker_start_multi
(self, *, uri, with_shared_data, jobs_cnt, errors_cnt=0)
tests/python/tests/job_workers/test_job_shared_immutable_message.py:43
↓ 3 callers
Method
aMethod
()
tests/phpt/phpdocs/030_hint_but_always_throw.php:7
↓ 3 callers
Method
aMethod
()
tests/phpt/by_name/01_by_name_construct.php:29
↓ 3 callers
Method
aMethod
()
tests/phpt/generics/130_not_constexpr_switch_1.php:13
↓ 3 callers
Method
accept
runtime/ffi.h:114
↓ 3 callers
Method
accept
for f$estimate_memory_usage() set at compiler at deeply_require_instance_memory_estimate_visitor()
runtime-common/stdlib/visitors/dummy-visitor-methods.h:16
↓ 3 callers
Function
acceptArrayTurnsOptional
@kphp-template $arr */
tests/phpt/generics/002_array_as_argument_of_template.php:29
↓ 3 callers
Function
acceptTypedC2
@param ?callable(A):A $call */
tests/phpt/lambdas/023_deduce_typed_callable.php:27
↓ 3 callers
Function
accept_nullable_string
@param ?string $s */
tests/phpt/regexp/001_string_result.php:7
↓ 3 callers
Method
add
compiler/code-gen/raw-data.cpp:82
↓ 3 callers
Method
add_extern_from_init_val
compiler/code-gen/const-globals-batched-mem.cpp:264
↓ 3 callers
Method
add_extra_memory
runtime-common/core/memory-resource/unsynchronized_pool_resource.h:82
↓ 3 callers
Method
add_extra_tag
runtime-light/stdlib/diagnostics/contextual-tags.h:74
↓ 3 callers
Method
add_header
runtime-light/server/http/http-server-state.h:88
↓ 3 callers
Method
add_static_field
compiler/data/class-members.cpp:179
↓ 3 callers
Method
add_static_method
compiler/data/class-members.cpp:149
↓ 3 callers
Method
add_timestamp
server/php-master.cpp:239
↓ 3 callers
Method
add_to_scheduler
compiler/scheduler/node.cpp:11
↓ 3 callers
Method
add_vertex_depends
compiler/code-gen/includes.cpp:136
↓ 3 callers
Function
add_world
* @kphp-template T $obj */
tests/phpt/generics/010_reassign_var.php:24
↓ 3 callers
Method
adjust
runtime-light/tl/tl-core.h:128
↓ 3 callers
Function
advance_read_ptr
net/net-buffers.cpp:219
↓ 3 callers
Function
aes_key_add
net/net-aes-keys.cpp:47
↓ 3 callers
Method
af
()
tests/phpt/generics/123_no_use_in_lambda_typeof.php:40
↓ 3 callers
Function
aligned_alloc
runtime/allocator.cpp:259
↓ 3 callers
Function
alloc
runtime-common/core/allocator/platform-malloc-interface.h:21
↓ 3 callers
Method
alloc_global_memory
runtime-light/allocator/runtime-light-allocator.cpp:82
← previous
next →
1,801–1,900 of 17,654, ranked by callers