Home
last modified time | relevance | path

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

1234

/php-src/Zend/
H A Dzend_constants.h79 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, bool bval, int flags, …
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, const char *strval, …
87 ZEND_API void zend_register_stringl_constant(const char *name, size_t name_len, const char *strval,…
93 ZEND_API zend_constant *_zend_get_special_const(const char *name, size_t name_len);
96 const char *name, size_t name_len) { in zend_get_special_const() argument
97 if (name_len == 4 || name_len == 5) { in zend_get_special_const()
[all …]
H A Dzend_constants.c193 } else if (name_len == sizeof("__COMPILER_HALT_OFFSET__")-1 && in zend_get_halt_offset_constant()
263 c = zend_get_halt_offset_constant(name, name_len); in zend_get_constant_str_impl()
268 return zend_get_special_const(name, name_len); in zend_get_constant_str_impl()
273 zend_constant *c = zend_get_constant_str_impl(name, name_len); in zend_get_constant_str()
403 size_t name_len = ZSTR_LEN(cname); in zend_get_constant_ex() local
408 name_len -= 1; in zend_get_constant_ex()
412 if ((colon = zend_memrchr(name, ':', name_len)) && in zend_get_constant_ex()
415 size_t const_name_len = name_len - class_name_len - 2; in zend_get_constant_ex()
426 if ((colon = zend_memrchr(name, '\\', name_len)) != NULL) { in zend_get_constant_ex()
429 size_t const_name_len = name_len - prefix_len - 1; in zend_get_constant_ex()
[all …]
/php-src/ext/ffi/
H A Dffi.g78 {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.h215 bool zend_ffi_is_typedef_name(const char *name, size_t name_len);
216 void zend_ffi_resolve_typedef(const char *name, size_t name_len, zend_ffi_dcl *dcl);
217 void zend_ffi_resolve_const(const char *name, size_t name_len, zend_ffi_val *val);
218 void zend_ffi_declare_tag(const char *name, size_t name_len, zend_ffi_dcl *dcl, bool incomplete);
222 void zend_ffi_add_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *…
224 void zend_ffi_add_bit_field(zend_ffi_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_d…
229 void zend_ffi_add_arg(HashTable **args, const char *name, size_t name_len, zend_ffi_dcl *arg_dcl);
230 void zend_ffi_declare(const char *name, size_t name_len, zend_ffi_dcl *dcl);
231 void zend_ffi_add_attribute(zend_ffi_dcl *dcl, const char *name, size_t name_len);
232 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.c2080 size_t name_len; in parse_declarations() local
2293 size_t name_len; in parse_type_specifier() local
2395 size_t name_len; in parse_struct_or_union_specifier() local
2496 size_t name_len = 0; in parse_struct_declarator() local
2536 size_t name_len; in parse_enum_specifier() local
2622 size_t name_len; in parse_enumerator() local
2928 size_t name_len = 0; in parse_parameter_declaration() local
2947 size_t name_len; in parse_attributes() local
3028 size_t name_len; in parse_attrib() local
3140 size_t name_len; in parse_designation() local
[all …]
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_encoding.c314 const mbfl_encoding *mbfl_name2encoding_ex(const char *name, size_t name_len) in mbfl_name2encoding_ex() argument
336 if (name_len <= NAME_HASH_MAX_NAME_LENGTH && name_len >= NAME_HASH_MIN_NAME_LENGTH) { in mbfl_name2encoding_ex()
337 unsigned int key = mbfl_name2encoding_perfect_hash(name, name_len); in mbfl_name2encoding_ex()
342 if (strncasecmp((*encoding)->name, name, name_len) == 0) { in mbfl_name2encoding_ex()
352 …if (strncasecmp((*encoding)->mime_name, name, name_len) == 0 && (*encoding)->mime_name[name_len] =… in mbfl_name2encoding_ex()
362 if (strncasecmp(name, *alias, name_len) == 0 && (*alias)[name_len] == '\0') { in mbfl_name2encoding_ex()
/php-src/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-src/win32/
H A Dregistry.c88 DWORD name_len, type, value_len; in LoadDirectory() local
91 name_len = max_name+1; in LoadDirectory()
109 zend_hash_str_update(ht, name, name_len, &data); in LoadDirectory()
139 DWORD name_len; in LoadDirectory() local
144 name_len = max_key+1; in LoadDirectory()
150 memcpy(new_path+path_len+1, name, name_len+1); in LoadDirectory()
151 zend_str_tolower(new_path, path_len+name_len+1); in LoadDirectory()
152 name_len += path_len+1; in LoadDirectory()
154 memcpy(new_path, name, name_len+1); in LoadDirectory()
155 zend_str_tolower(new_path, name_len); in LoadDirectory()
[all …]
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.c228 size_t name_len; in ZEND_GET_MODULE() local
307 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
330 size_t name_len, content_len; in PHP_FUNCTION() local
383 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
420 size_t name_len, content_len; in PHP_FUNCTION() local
496 size_t name_len, content_len; in PHP_FUNCTION() local
624 size_t name_len, pubid_len, sysid_len; in PHP_FUNCTION() local
685 size_t name_len, content_len; in PHP_FUNCTION() local
722 size_t name_len, content_len; in PHP_FUNCTION() local
745 size_t name_len; in PHP_FUNCTION() local
[all …]
/php-src/ext/curl/
H A Dcurl_file.c68 static void curlfile_get_property(const char *name, size_t name_len, INTERNAL_FUNCTION_PARAMETERS) in curlfile_get_property() argument
73 res = zend_read_property(curl_CURLFile_class, Z_OBJ_P(ZEND_THIS), name, name_len, 1, &rv); in curlfile_get_property()
77 static void curlfile_set_property(const char *name, size_t name_len, INTERNAL_FUNCTION_PARAMETERS) in curlfile_set_property() argument
85 zend_update_property_str(curl_CURLFile_class, Z_OBJ_P(ZEND_THIS), name, name_len, arg); in curlfile_set_property()
/php-src/ext/dom/
H A Delement.c300 size_t name_len; in PHP_METHOD() local
417 if (name_len == 0) { in PHP_METHOD()
606 size_t name_len; in PHP_METHOD() local
627 size_t name_len; in PHP_METHOD() local
651 size_t name_len; in PHP_METHOD() local
814 size_t name_len; in dom_element_get_elements_by_tag_name() local
822 if (name_len > INT_MAX) { in dom_element_get_elements_by_tag_name()
913 if (name_len == 0) { in dom_set_attribute_ns_legacy()
1133 size_t name_len, uri_len; in PHP_METHOD() local
1292 size_t name_len; in PHP_METHOD() local
[all …]
H A Ddomimplementation.c57 size_t name_len = 0, publicid_len = 0, systemid_len = 0; in PHP_METHOD() local
62 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ss", &name, &name_len, &publicid, &publicid_len, &sy… in PHP_METHOD()
66 if (name_len == 0) { in PHP_METHOD()
113 size_t name_len, publicid_len = 0, systemid_len = 0; in PHP_METHOD() local
116 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ppp", &name, &name_len, &publicid, &publicid_len, &sys… in PHP_METHOD()
158 size_t uri_len = 0, name_len = 0; in PHP_METHOD() local
163 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!sO!", &uri, &uri_len, &name, &name_len, &node, dom_… in PHP_METHOD()
183 if (name_len > 0) { in PHP_METHOD()
184 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len); in PHP_METHOD()
H A Dprocessinginstruction.c40 size_t name_len, value_len; in PHP_METHOD() local
43 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE… in PHP_METHOD()
H A Dentityreference.c41 size_t name_len, name_valid; in PHP_METHOD() local
43 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in PHP_METHOD()
H A Dattr.c44 size_t name_len, value_len, name_valid; in PHP_METHOD() local
46 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s", &name, &name_len, &value, &value_len) == FAILURE… in PHP_METHOD()
/php-src/sapi/fpm/fpm/
H A Dfpm_env.c46 int name_len = strlen(name); in setenv() local
48 char *var = alloca(name_len + 1 + value_len + 1); in setenv()
50 memcpy(var, name, name_len); in setenv()
52 var[name_len] = '='; in setenv()
54 memcpy(var + name_len + 1, value, value_len); in setenv()
56 var[name_len + 1 + value_len] = '\0'; in setenv()
/php-src/ext/standard/
H A Durl_scanner_ex.h27 PHPAPI zend_result php_url_scanner_add_session_var(const char *name, size_t name_len, const char *v…
30 PHPAPI zend_result php_url_scanner_add_var(const char *name, size_t name_len, const char *value, si…
H A Dversioning.c80 uint8_t name_len; member
103 if (strncmp(form1, pp->name, pp->name_len) == 0) { in compare_special_version_forms()
109 if (strncmp(form2, pp->name, pp->name_len) == 0) { in compare_special_version_forms()
/php-src/sapi/phpdbg/
H A Dphpdbg_cmd.c36 memcpy(&buffer[pos], command->parent->name, command->parent->name_len); in ZEND_EXTERN_MODULE_GLOBALS()
37 pos += command->parent->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
42 memcpy(&buffer[pos], command->name, command->name_len); in ZEND_EXTERN_MODULE_GLOBALS()
43 pos += command->name_len; in ZEND_EXTERN_MODULE_GLOBALS()
582 if (name->len == 1 || command->name_len >= name->len) { in phpdbg_stack_resolve()
594 if ((name->len != command->name_len && command->alias) || name->len == command->name_len) { in phpdbg_stack_resolve()
600 if (name->len == command->name_len) { in phpdbg_stack_resolve()
635 list = emalloc(matched[it]->name_len + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0)); in phpdbg_stack_resolve()
637 …list = erealloc(list, (pos + matched[it]->name_len) + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0… in phpdbg_stack_resolve()
639 memcpy(&list[pos], matched[it]->name, matched[it]->name_len); in phpdbg_stack_resolve()
[all …]
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c61 zend_string *str = zend_string_init_interned(name, name_len, true); in xmlreader_register_prop_handler()
436 size_t name_len = 0; in php_xmlreader_string_arg() local
441 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &name_len) == FAILURE) { in php_xmlreader_string_arg()
445 if (!name_len) { in php_xmlreader_string_arg()
629 size_t name_len = 0, ns_uri_len = 0; in PHP_METHOD() local
637 if (name_len == 0) { in PHP_METHOD()
709 size_t name_len = 0; in PHP_METHOD() local
718 if (name_len == 0) { in PHP_METHOD()
769 size_t name_len=0, ns_uri_len=0; in PHP_METHOD() local
778 if (name_len == 0) { in PHP_METHOD()
[all …]
/php-src/main/
H A Doutput.c508 zend_string *str = zend_string_init(name, name_len, 0); in php_output_handler_create_internal()
561 PHPAPI bool php_output_handler_started(const char *name, size_t name_len) in php_output_handler_started() argument
570 if (zend_string_equals_cstr(handlers[i]->name, name, name_len)) { in php_output_handler_started()
606 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_conflict_register()
634 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_reverse_conflict_register()
644 PHPAPI php_output_handler_alias_ctor_t php_output_handler_alias(const char *name, size_t name_len) in php_output_handler_alias() argument
646 return zend_hash_str_find_ptr(&php_output_handler_aliases, name, name_len); in php_output_handler_alias()
660 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_alias_register()
1542 size_t name_len, value_len; in PHP_FUNCTION() local
1544 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &name, &name_len, &value, &value_len) == FAILURE)… in PHP_FUNCTION()
[all …]
H A Dphp_output.h223 PHPAPI zend_result php_output_start_internal(const char *name, size_t name_len, php_output_handler_…
226 PHPAPI php_output_handler *php_output_handler_create_internal(const char *name, size_t name_len, ph…
230 PHPAPI bool php_output_handler_started(const char *name, size_t name_len);
/php-src/ext/zip/
H A Dphp_zip.c1932 size_t name_len; local
2170 if (name_len == 0) {
2225 size_t name_len; local
2284 size_t name_len; local
2412 size_t name_len; local
2470 size_t name_len; local
2530 size_t name_len; local
2615 size_t name_len; local
2625 if (name_len < 1) {
2731 size_t name_len; local
[all …]
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtree_res.h23 size_t name_len; member
/php-src/sapi/apache2handler/
H A Dphp_apache.h52 char *get_php_config(void *conf, char *name, size_t name_len);

Completed in 69 milliseconds

1234