Home
last modified time | relevance | path

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

/PHP-7.2/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.2/ext/pdo/
H A Dpdo.c198 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.2/main/
H A Dphp_variables.c532 unsigned long nlen; /* ptrdiff_t is not portable */ in _php_import_environment_variables() local
539 nlen = p - *env; in _php_import_environment_variables()
540 if (nlen >= alloc_size) { in _php_import_environment_variables()
541 alloc_size = nlen + 64; in _php_import_environment_variables()
544 memcpy(t, *env, nlen); in _php_import_environment_variables()
545 t[nlen] = '\0'; in _php_import_environment_variables()
/PHP-7.2/sapi/litespeed/
H A Dlsapi_main.c245 unsigned long nlen; /* ptrdiff_t is not portable */ in litespeed_php_import_environment_variables() local
268 nlen = p - *env; in litespeed_php_import_environment_variables()
269 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables()
270 alloc_size = nlen + 64; in litespeed_php_import_environment_variables()
273 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables()
274 t[nlen] = '\0'; in litespeed_php_import_environment_variables()
275 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
/PHP-7.2/ext/standard/
H A Dstring.c3748 size_t nlen = ZSTR_LEN(str), i; local
3755 case 'n': *target++='\n'; nlen--; break;
3756 case 'r': *target++='\r'; nlen--; break;
3757 case 'a': *target++='\a'; nlen--; break;
3758 case 't': *target++='\t'; nlen--; break;
3769 nlen-=3;
3772 nlen-=2;
3786 nlen-=i;
3790 nlen--;
3798 if (nlen != 0) {
[all …]
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_compile.c6398 int nlen = (int)(code - bracode); in compile_branch() local
6401 memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); in compile_branch()
6403 nlen += 1 + LINK_SIZE; in compile_branch()
6406 PUTINC(code, 0, nlen); in compile_branch()
6407 PUT(bracode, 1, nlen); in compile_branch()

Completed in 69 milliseconds