Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 25 of 69) sorted by relevance

123

/PHP-7.4/Zend/
H A Dzend_constants.c214 } else if (name_len == sizeof("__COMPILER_HALT_OFFSET__")-1 && in zend_get_special_constant()
252 char *lcname = do_alloca(name_len + 1, use_heap); in zend_get_constant_str_impl()
253 zend_str_tolower_copy(lcname, name, name_len); in zend_get_constant_str_impl()
259 c = zend_get_special_constant(name, name_len); in zend_get_constant_str_impl()
328 size_t name_len = ZSTR_LEN(cname); in zend_get_constant_ex() local
333 name_len -= 1; in zend_get_constant_ex()
337 if ((colon = zend_memrchr(name, ':', name_len)) && in zend_get_constant_ex()
340 size_t const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex()
415 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) { in zend_get_constant_ex()
418 size_t const_name_len = name_len - prefix_len - 1; in zend_get_constant_ex()
[all …]
H A Dzend_constants.h80 ZEND_API zval *zend_get_constant_str(const char *name, size_t name_len);
82 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, zend_bool bval, int fl…
83 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_…
84 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int fl…
85 ZEND_API void zend_register_double_constant(const char *name, size_t name_len, double dval, int fla…
86 ZEND_API void zend_register_string_constant(const char *name, size_t name_len, char *strval, int fl…
87 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, char *strval, size_…
/PHP-7.4/ext/phar/
H A Dstub.h19 static inline zend_string* phar_get_stub(const char *index_php, const char *web, const int name_len in phar_get_stub() argument
30 …rn strpprintf(name_len + web_len + newstub_len, "%s%s%s%s%s%s%d%s%s", newstub0, web, newstub1_0, n… in phar_get_stub()
/PHP-7.4/ext/ffi/
H A Dffi.g81 {size_t name_len;}
178 {size_t name_len;}
240 {size_t name_len;}
303 {size_t name_len;}
331 {size_t name_len;}
333 ID(&name, &name_len)
344 ( ID(name, name_len)
464 {size_t name_len;}
502 {size_t name_len;}
538 {size_t name_len;}
[all …]
H A Dphp_ffi.h216 int zend_ffi_is_typedef_name(const char *name, size_t name_len);
217 void zend_ffi_resolve_typedef(const char *name, size_t name_len, zend_ffi_dcl *dcl);
218 void zend_ffi_resolve_const(const char *name, size_t name_len, zend_ffi_val *val);
219 void zend_ffi_declare_tag(const char *name, size_t name_len, zend_ffi_dcl *dcl, zend_bool incomplet…
223 void zend_ffi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *…
225 void zend_ffi_add_bit_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_d…
230 void zend_ffi_add_arg(HashTable **args, const char *name, size_t name_len, zend_ffi_dcl *arg_dcl);
231 void zend_ffi_declare(const char *name, size_t name_len, zend_ffi_dcl *dcl);
232 void zend_ffi_add_attribute(zend_ffi_dcl *dcl, const char *name, size_t name_len);
233 void zend_ffi_add_attribute_value(zend_ffi_dcl *dcl, const char *name, size_t name_len, int n, zend…
[all …]
H A Dffi_parser.c2023 size_t name_len; in parse_declarations() local
2232 size_t name_len; in parse_type_specifier() local
2334 size_t name_len; in parse_struct_or_union_specifier() local
2435 size_t name_len = 0; in parse_struct_declarator() local
2475 size_t name_len; in parse_enum_specifier() local
2561 size_t name_len; in parse_enumerator() local
2867 size_t name_len = 0; in parse_parameter_declaration() local
2886 size_t name_len; in parse_attributes() local
2967 size_t name_len; in parse_attrib() local
3079 size_t name_len; in parse_designation() local
[all …]
/PHP-7.4/win32/
H A Dregistry.c90 DWORD name_len, type, value_len; in LoadDirectory() local
93 name_len = max_name+1; in LoadDirectory()
111 zend_hash_str_update(ht, name, name_len, &data); in LoadDirectory()
141 DWORD name_len; in LoadDirectory() local
146 name_len = max_key+1; in LoadDirectory()
152 memcpy(new_path+path_len+1, name, name_len+1); in LoadDirectory()
153 zend_str_tolower(new_path, path_len+name_len+1); in LoadDirectory()
154 name_len += path_len+1; in LoadDirectory()
156 memcpy(new_path, name, name_len+1); in LoadDirectory()
157 zend_str_tolower(new_path, name_len); in LoadDirectory()
[all …]
/PHP-7.4/ext/dom/
H A Delement.c326 size_t name_len; in PHP_FUNCTION() local
377 if (name_len == 0) { in PHP_FUNCTION()
435 size_t name_len; in PHP_FUNCTION() local
483 size_t name_len; in PHP_FUNCTION() local
636 size_t name_len; in PHP_FUNCTION() local
757 if (name_len == 0) { in PHP_FUNCTION()
876 size_t name_len, uri_len; in PHP_FUNCTION() local
933 size_t uri_len, name_len; in PHP_FUNCTION() local
1061 size_t uri_len, name_len; in PHP_FUNCTION() local
1092 size_t name_len; in PHP_FUNCTION() local
[all …]
H A Ddomimplementation.c94 size_t name_len = 0, publicid_len = 0, systemid_len = 0; in PHP_METHOD() local
99 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sss", &name, &name_len, &publicid, &publicid_len, &sy… in PHP_METHOD()
103 if (name_len == 0) { in PHP_METHOD()
165 size_t uri_len = 0, name_len = 0; in PHP_METHOD() local
170 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ssO", &uri, &uri_len, &name, &name_len, &node, dom_do… in PHP_METHOD()
188 if (name_len > 0) { in PHP_METHOD()
189 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len); in PHP_METHOD()
H A Dentityreference.c53 size_t name_len, name_valid; in PHP_METHOD() local
55 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
H A Dprocessinginstruction.c54 size_t name_len, value_len; in PHP_METHOD() local
57 …if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == F… in PHP_METHOD()
H A Dattr.c60 size_t name_len, value_len, name_valid; in PHP_METHOD() local
62 …if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == F… in PHP_METHOD()
H A Ddocument.c709 size_t name_len, value_len; in PHP_FUNCTION() local
861 size_t value_len, name_len = 0; in PHP_FUNCTION() local
898 size_t name_len; in PHP_FUNCTION() local
935 size_t name_len; in PHP_FUNCTION() local
967 size_t name_len; in PHP_FUNCTION() local
981 local = xmlCharStrndup(name, name_len); in PHP_FUNCTION()
1053 size_t uri_len = 0, name_len = 0, value_len = 0; in PHP_FUNCTION() local
1066 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len); in PHP_FUNCTION()
1118 size_t uri_len = 0, name_len = 0; in PHP_FUNCTION() local
1182 size_t uri_len, name_len; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/xmlwriter/
H A Dphp_xmlwriter.c680 size_t name_len; in php_xmlwriter_string_arg() local
821 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
864 size_t name_len, content_len; in PHP_FUNCTION() local
959 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
1019 size_t name_len, content_len; in PHP_FUNCTION() local
1143 size_t name_len, content_len; in PHP_FUNCTION() local
1357 size_t name_len, pubid_len, sysid_len; in PHP_FUNCTION() local
1461 size_t name_len, content_len; in PHP_FUNCTION() local
1519 size_t name_len, content_len; in PHP_FUNCTION() local
1562 size_t name_len; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/curl/
H A Dcurl_file.c72 static void curlfile_get_property(char *name, size_t name_len, INTERNAL_FUNCTION_PARAMETERS) in curlfile_get_property() argument
79 res = zend_read_property(curl_CURLFile_class, ZEND_THIS, name, name_len, 1, &rv); in curlfile_get_property()
83 static void curlfile_set_property(char *name, size_t name_len, INTERNAL_FUNCTION_PARAMETERS) in curlfile_set_property() argument
91 zend_update_property_string(curl_CURLFile_class, ZEND_THIS, name, name_len, ZSTR_VAL(arg)); in curlfile_set_property()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_env.c44 int name_len = strlen(name); in setenv() local
46 char *var = alloca(name_len + 1 + value_len + 1); in setenv()
48 memcpy(var, name, name_len); in setenv()
50 var[name_len] = '='; in setenv()
52 memcpy(var + name_len + 1, value, value_len); in setenv()
54 var[name_len + 1 + value_len] = '\0'; in setenv()
/PHP-7.4/ext/standard/
H A Durl_scanner_ex.h29 PHPAPI int php_url_scanner_add_session_var(char *name, size_t name_len, char *value, size_t value_l…
32 PHPAPI int php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int …
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_cmd.c34 memcpy(&buffer[pos], command->parent->name, command->parent->name_len); in ZEND_EXTERN_MODULE_GLOBALS()
35 pos += command->parent->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
40 memcpy(&buffer[pos], command->name, command->name_len); in ZEND_EXTERN_MODULE_GLOBALS()
41 pos += command->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
579 if (name->len == 1 || command->name_len >= name->len) { in phpdbg_stack_resolve()
591 if ((name->len != command->name_len && command->alias) || name->len == command->name_len) { in phpdbg_stack_resolve()
597 if (name->len == command->name_len) { in phpdbg_stack_resolve()
632 list = emalloc(matched[it]->name_len + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0)); in phpdbg_stack_resolve()
634 …list = erealloc(list, (pos + matched[it]->name_len) + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0… in phpdbg_stack_resolve()
636 memcpy(&list[pos], matched[it]->name, matched[it]->name_len); in phpdbg_stack_resolve()
[all …]
/PHP-7.4/main/
H A Doutput.c517 zend_string *str = zend_string_init(name, name_len, 0); in php_output_handler_create_internal()
570 PHPAPI int php_output_handler_started(const char *name, size_t name_len) in php_output_handler_started() argument
579 …if (name_len == ZSTR_LEN(handlers[i]->name) && !memcmp(ZSTR_VAL(handlers[i]->name), name, name_len in php_output_handler_started()
615 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_conflict_register()
643 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_reverse_conflict_register()
653 PHPAPI php_output_handler_alias_ctor_t php_output_handler_alias(const char *name, size_t name_len) in php_output_handler_alias() argument
655 return zend_hash_str_find_ptr(&php_output_handler_aliases, name, name_len); in php_output_handler_alias()
669 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_alias_register()
1554 size_t name_len, value_len; in PHP_FUNCTION() local
1556 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &value, &value_len) == FAILURE)… in PHP_FUNCTION()
[all …]
H A Dphp_output.h225 PHPAPI int php_output_start_internal(const char *name, size_t name_len, php_output_handler_func_t o…
228 PHPAPI php_output_handler *php_output_handler_create_internal(const char *name, size_t name_len, ph…
232 PHPAPI int php_output_handler_started(const char *name, size_t name_len);
H A Dfastcgi.c1016 unsigned int name_len, val_len; in fcgi_get_params() local
1019 name_len = *p++; in fcgi_get_params()
1020 if (UNEXPECTED(name_len >= 128)) { in fcgi_get_params()
1022 name_len = ((name_len & 0x7f) << 24); in fcgi_get_params()
1023 name_len |= (*p++ << 16); in fcgi_get_params()
1024 name_len |= (*p++ << 8); in fcgi_get_params()
1025 name_len |= *p++; in fcgi_get_params()
1036 if (UNEXPECTED(name_len + val_len > (unsigned int) (end - p))) { in fcgi_get_params()
1040 …fcgi_hash_set(&req->env, FCGI_HASH_FUNC(p, name_len), (char*)p, name_len, (char*)p + name_len, val… in fcgi_get_params()
1041 p += name_len + val_len; in fcgi_get_params()
[all …]
/PHP-7.4/ext/zip/
H A Dphp_zip.c1830 size_t name_len; local
2051 if (name_len < 1) {
2105 size_t name_len; local
2117 if (name_len < 1) {
2164 size_t name_len; local
2178 if (name_len < 1) {
2245 if (name_len < 1) {
2292 size_t name_len; local
2350 size_t name_len; local
2435 size_t name_len; local
[all …]
/PHP-7.4/ext/xmlreader/
H A Dphp_xmlreader.c405 size_t name_len = 0; in php_xmlreader_string_arg() local
410 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in php_xmlreader_string_arg()
414 if (!name_len) { in php_xmlreader_string_arg()
593 size_t name_len = 0, ns_uri_len = 0; in PHP_METHOD() local
601 if (name_len == 0 || ns_uri_len == 0) { in PHP_METHOD()
670 size_t name_len = 0; in PHP_METHOD() local
675 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
679 if (name_len == 0) { in PHP_METHOD()
732 size_t name_len=0, ns_uri_len=0; in PHP_METHOD() local
741 if (name_len == 0 || ns_uri_len == 0) { in PHP_METHOD()
[all …]
/PHP-7.4/ext/oci8/
H A Doci8_interface.c126 size_t name_len; in PHP_FUNCTION() local
134 Z_PARAM_STRING(name, name_len) in PHP_FUNCTION()
140 if (!name_len) { in PHP_FUNCTION()
158 zvtmp = zend_string_init(name, name_len, 0); in PHP_FUNCTION()
176 memcpy(define->name, name, name_len); in PHP_FUNCTION()
177 define->name[name_len] = '\0'; in PHP_FUNCTION()
178 define->name_len = (ub4) name_len; in PHP_FUNCTION()
193 size_t name_len; in PHP_FUNCTION() local
202 Z_PARAM_STRING(name, name_len) in PHP_FUNCTION()
226 size_t name_len; in PHP_FUNCTION() local
[all …]
/PHP-7.4/sapi/apache2handler/
H A Dphp_apache.h56 char *get_php_config(void *conf, char *name, size_t name_len);

Completed in 87 milliseconds

123