Home
last modified time | relevance | path

Searched refs:nlen (Results 1 – 6 of 6) sorted by relevance

/PHP-7.4/sapi/fpm/tests/
H A Dfcgi.inc325 $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.4/ext/pdo/
H A Dpdo.c182 int nlen; in php_pdo_parse_data_source() local
227 nlen = valstart - optstart - 1; in php_pdo_parse_data_source()
229 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
/PHP-7.4/ext/standard/
H A Dformatted_print.c70 size_t nlen = ZSTR_LEN(*buffer); in php_sprintf_appendchars() local
74 nlen = nlen << 1; in php_sprintf_appendchars()
75 } while ((*pos + len) >= nlen); in php_sprintf_appendchars()
76 *buffer = zend_string_extend(*buffer, nlen, 0); in php_sprintf_appendchars()
H A Dstring.c3760 size_t nlen = ZSTR_LEN(str), i; local
3767 case 'n': *target++='\n'; nlen--; break;
3768 case 'r': *target++='\r'; nlen--; break;
3769 case 'a': *target++='\a'; nlen--; break;
3770 case 't': *target++='\t'; nlen--; break;
3781 nlen-=3;
3784 nlen-=2;
3798 nlen-=i;
3802 nlen--;
3810 if (nlen != 0) {
[all …]
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c225 unsigned long nlen; /* ptrdiff_t is not portable */ in litespeed_php_import_environment_variables() local
249 nlen = p - *env; in litespeed_php_import_environment_variables()
250 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables()
251 alloc_size = nlen + 64; in litespeed_php_import_environment_variables()
254 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables()
255 t[nlen] = '\0'; in litespeed_php_import_environment_variables()
256 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_compile.c7344 int nlen = (int)(code - bracode); in compile_branch() local
7345 (void)memmove(bracode + 1 + LINK_SIZE, bracode, CU2BYTES(nlen)); in compile_branch()
7347 nlen += 1 + LINK_SIZE; in compile_branch()
7350 PUTINC(code, 0, nlen); in compile_branch()
7351 PUT(bracode, 1, nlen); in compile_branch()

Completed in 58 milliseconds