Searched refs:nlen (Results 1 – 10 of 10) sorted by relevance
/PHP-5.6/ext/standard/ |
H A D | php_smart_str.h | 116 #define smart_str_appendl_ex(dest, src, nlen, what) do { \ argument 120 smart_str_alloc4(__dest, (nlen), (what), __nl); \ 121 memcpy(__dest->c + __dest->len, (src), (nlen)); \ 190 #define smart_str_setl(dest, src, nlen) do { \ argument 191 (dest)->len = (nlen); \ 192 (dest)->a = (nlen) + 1; \
|
H A D | incomplete_class.c | 138 PHPAPI char *php_lookup_class_name(zval *object, zend_uint *nlen) in php_lookup_class_name() argument 150 if (nlen) { in php_lookup_class_name() 151 *nlen = Z_STRLEN_PP(val); in php_lookup_class_name()
|
H A D | php_incomplete_class.h | 61 PHPAPI char *php_lookup_class_name(zval *object, zend_uint *nlen);
|
H A D | string.c | 3451 int nlen = *len, i; local 3458 case 'n': *target++='\n'; nlen--; break; 3459 case 'r': *target++='\r'; nlen--; break; 3460 case 'a': *target++='\a'; nlen--; break; 3461 case 't': *target++='\t'; nlen--; break; 3472 nlen-=3; 3475 nlen-=2; 3489 nlen-=i; 3493 nlen--; 3501 if (nlen != 0) { [all …]
|
/PHP-5.6/sapi/fpm/tests/ |
H A D | fcgi.inc | 298 $nlen = strlen($name); 300 if ($nlen < 128) { 302 $nvpair = chr($nlen); 305 …$nvpair = chr(($nlen >> 24) | 0x80) . chr(($nlen >> 16) & 0xFF) . chr(($nlen >> 8) & 0xFF) . chr($… 336 $nlen = ord($data{$p++}); 337 if ($nlen >= 128) { 338 $nlen = ($nlen & 0x7F << 24); 341 $nlen |= (ord($data{$p++})); 345 $vlen = ($nlen & 0x7F << 24); 350 $array[substr($data, $p, $nlen)] = substr($data, $p+$nlen, $vlen); [all …]
|
/PHP-5.6/ext/pdo/ |
H A D | pdo.c | 223 int nlen; in php_pdo_parse_data_source() local 268 nlen = valstart - optstart - 1; in php_pdo_parse_data_source() 270 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
|
/PHP-5.6/main/ |
H A D | php_variables.c | 512 unsigned long nlen; /* ptrdiff_t is not portable */ in _php_import_environment_variables() local 519 nlen = p - *env; in _php_import_environment_variables() 520 if (nlen >= alloc_size) { in _php_import_environment_variables() 521 alloc_size = nlen + 64; in _php_import_environment_variables() 524 memcpy(t, *env, nlen); in _php_import_environment_variables() 525 t[nlen] = '\0'; in _php_import_environment_variables()
|
/PHP-5.6/sapi/litespeed/ |
H A D | lsapi_main.c | 285 unsigned long nlen; /* ptrdiff_t is not portable */ in litespeed_php_import_environment_variables() local 332 nlen = p - *env; in litespeed_php_import_environment_variables() 333 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables() 334 alloc_size = nlen + 64; in litespeed_php_import_environment_variables() 337 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables() 338 t[nlen] = '\0'; in litespeed_php_import_environment_variables() 339 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr TSRMLS_CC); in litespeed_php_import_environment_variables()
|
/PHP-5.6/ext/reflection/ |
H A D | php_reflection.c | 138 register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1); in string_printf() local 139 if (str->alloced < nlen) { in string_printf() 140 str->alloced = nlen; in string_printf() 153 register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1); in string_write() local 154 if (str->alloced < nlen) { in string_write() 155 str->alloced = nlen; in string_write() 5441 int nlen; in add_extension_class() local 5446 nlen = hash_key->nKeyLength-1; in add_extension_class() 5450 nlen = (*pce)->name_length; in add_extension_class() 5455 add_assoc_zval_ex(class_array, name, nlen+1, zclass); in add_extension_class() [all …]
|
/PHP-5.6/ext/pcre/pcrelib/ |
H A D | pcre_compile.c | 6316 int nlen = (int)(code - bracode); in compile_branch() local 6319 memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); in compile_branch() 6321 nlen += 1 + LINK_SIZE; in compile_branch() 6324 PUTINC(code, 0, nlen); in compile_branch() 6325 PUT(bracode, 1, nlen); in compile_branch()
|
Completed in 74 milliseconds