Searched refs:nlen (Results 1 – 8 of 8) sorted by relevance
/PHP-7.1/ext/standard/ |
H A D | php_smart_string.h | 114 #define smart_string_appendl_ex(dest, src, nlen, what) do { \ argument 118 smart_string_alloc4(__dest, (nlen), (what), __nl); \ 119 memcpy(__dest->c + __dest->len, (src), (nlen)); \ 140 #define smart_string_setl(dest, src, nlen) do { \ argument 141 (dest)->len = (nlen); \ 142 (dest)->a = (nlen) + 1; \
|
H A D | string.c | 3690 size_t nlen = ZSTR_LEN(str), i; local 3697 case 'n': *target++='\n'; nlen--; break; 3698 case 'r': *target++='\r'; nlen--; break; 3699 case 'a': *target++='\a'; nlen--; break; 3700 case 't': *target++='\t'; nlen--; break; 3711 nlen-=3; 3714 nlen-=2; 3728 nlen-=i; 3732 nlen--; 3740 if (nlen != 0) { [all …]
|
/PHP-7.1/sapi/fpm/tests/ |
H A D | fcgi.inc | 325 $nlen = strlen($name); 327 if ($nlen < 128) { 329 $nvpair = chr($nlen); 332 $nvpair = chr(($nlen >> 24) | 0x80) . chr(($nlen >> 16) & 0xFF) 333 . chr(($nlen >> 8) & 0xFF) . chr($nlen & 0xFF); 365 $nlen = ord($data{$p++}); 366 if ($nlen >= 128) { 367 $nlen = ($nlen & 0x7F << 24); 370 $nlen |= (ord($data{$p++})); 379 $array[substr($data, $p, $nlen)] = substr($data, $p+$nlen, $vlen); [all …]
|
/PHP-7.1/ext/pdo/ |
H A D | pdo.c | 198 int nlen; in php_pdo_parse_data_source() local 243 nlen = valstart - optstart - 1; in php_pdo_parse_data_source() 245 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
|
/PHP-7.1/main/ |
H A D | php_variables.c | 524 unsigned long nlen; /* ptrdiff_t is not portable */ in _php_import_environment_variables() local 531 nlen = p - *env; in _php_import_environment_variables() 532 if (nlen >= alloc_size) { in _php_import_environment_variables() 533 alloc_size = nlen + 64; in _php_import_environment_variables() 536 memcpy(t, *env, nlen); in _php_import_environment_variables() 537 t[nlen] = '\0'; in _php_import_environment_variables()
|
/PHP-7.1/sapi/litespeed/ |
H A D | lsapi_main.c | 244 unsigned long nlen; /* ptrdiff_t is not portable */ in litespeed_php_import_environment_variables() local 267 nlen = p - *env; in litespeed_php_import_environment_variables() 268 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables() 269 alloc_size = nlen + 64; in litespeed_php_import_environment_variables() 272 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables() 273 t[nlen] = '\0'; in litespeed_php_import_environment_variables() 274 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
|
/PHP-7.1/ext/reflection/ |
H A D | php_reflection.c | 146 register size_t nlen = (ZSTR_LEN(str->buf) + 1 + len + (1024 - 1)) & ~(1024 - 1); in string_printf() local 147 if (str->alloced < nlen) { in string_printf() 149 str->alloced = nlen; in string_printf() 163 register size_t nlen = (ZSTR_LEN(str->buf) + 1 + len + (1024 - 1)) & ~(1024 - 1); in string_write() local 164 if (str->alloced < nlen) { in string_write() 166 str->alloced = nlen; in string_write()
|
/PHP-7.1/ext/pcre/pcrelib/ |
H A D | pcre_compile.c | 6314 int nlen = (int)(code - bracode); in compile_branch() local 6317 memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); in compile_branch() 6319 nlen += 1 + LINK_SIZE; in compile_branch() 6322 PUTINC(code, 0, nlen); in compile_branch() 6323 PUT(bracode, 1, nlen); in compile_branch()
|
Completed in 212 milliseconds