Home
last modified time | relevance | path

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

/PHP-8.3/ext/pdo/
H A Dpdo.c149 int nlen; in php_pdo_parse_data_source() local
194 nlen = valstart - optstart - 1; in php_pdo_parse_data_source()
196 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
/PHP-8.3/sapi/fpm/tests/
H A Dfcgi.inc582 $nlen = strlen($name);
584 if ($nlen < 128) {
586 $nvpair = chr($nlen);
589 $nvpair = chr(($nlen >> 24) | 0x80) . chr(($nlen >> 16) & 0xFF)
590 . chr(($nlen >> 8) & 0xFF) . chr($nlen & 0xFF);
622 $nlen = ord($data[$p++]);
623 if ($nlen >= 128) {
624 $nlen = ($nlen & 0x7F << 24);
627 $nlen |= (ord($data[$p++]));
636 $array[substr($data, $p, $nlen)] = substr($data, $p+$nlen, $vlen);
[all …]
/PHP-8.3/ext/standard/
H A Dformatted_print.c68 size_t nlen = ZSTR_LEN(*buffer); in php_sprintf_appendchars() local
72 nlen = nlen << 1; in php_sprintf_appendchars()
73 } while ((*pos + len) >= nlen); in php_sprintf_appendchars()
74 *buffer = zend_string_extend(*buffer, nlen, 0); in php_sprintf_appendchars()
H A Dstring.c3473 size_t nlen = ZSTR_LEN(str), i; local
3480 case 'n': *target++='\n'; nlen--; break;
3481 case 'r': *target++='\r'; nlen--; break;
3482 case 'a': *target++='\a'; nlen--; break;
3483 case 't': *target++='\t'; nlen--; break;
3494 nlen-=3;
3497 nlen-=2;
3511 nlen-=i;
3515 nlen--;
3523 if (nlen != 0) {
[all …]
/PHP-8.3/sapi/litespeed/
H A Dlsapi_main.c220 unsigned long nlen; /* ptrdiff_t is not portable */ in litespeed_php_import_environment_variables() local
244 nlen = p - *env; in litespeed_php_import_environment_variables()
245 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables()
246 alloc_size = nlen + 64; in litespeed_php_import_environment_variables()
249 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables()
250 t[nlen] = '\0'; in litespeed_php_import_environment_variables()
251 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_compile.c7461 int nlen = (int)(code - bracode); in compile_branch() local
7462 (void)memmove(bracode + 1 + LINK_SIZE, bracode, CU2BYTES(nlen)); in compile_branch()
7464 nlen += 1 + LINK_SIZE; in compile_branch()
7467 PUTINC(code, 0, nlen); in compile_branch()
7468 PUT(bracode, 1, nlen); in compile_branch()

Completed in 102 milliseconds