Home
last modified time | relevance | path

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

/php-src/ext/bcmath/libbcmath/src/
H A Dconvert.h48 static inline void bc_convert_to_vector(BC_VECTOR *n_vector, const char *nend, size_t nlen) in bc_convert_to_vector() argument
51 while (nlen > 0) { in bc_convert_to_vector()
52 size_t len = MIN(BC_VECTOR_SIZE, nlen); in bc_convert_to_vector()
55 nlen -= len; in bc_convert_to_vector()
/php-src/ext/pdo/
H A Dpdo.c164 int nlen; in php_pdo_parse_data_source() local
209 nlen = valstart - optstart - 1; in php_pdo_parse_data_source()
211 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
/php-src/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-src/ext/standard/
H A Dformatted_print.c65 size_t nlen = ZSTR_LEN(*buffer); in php_sprintf_appendchars() local
69 nlen = nlen << 1; in php_sprintf_appendchars()
70 } while ((*pos + len) >= nlen); in php_sprintf_appendchars()
71 *buffer = zend_string_extend(*buffer, nlen, 0); in php_sprintf_appendchars()
H A Dstring.c3735 size_t nlen = ZSTR_LEN(str), i; local
3742 case 'n': *target++='\n'; nlen--; break;
3743 case 'r': *target++='\r'; nlen--; break;
3744 case 'a': *target++='\a'; nlen--; break;
3745 case 't': *target++='\t'; nlen--; break;
3756 nlen-=3;
3759 nlen-=2;
3773 nlen-=i;
3777 nlen--;
3785 if (nlen != 0) {
[all …]
/php-src/sapi/litespeed/
H A Dlsapi_main.c219 unsigned long nlen; /* ptrdiff_t is not portable */ in litespeed_php_import_environment_variables() local
243 nlen = p - *env; in litespeed_php_import_environment_variables()
244 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables()
245 alloc_size = nlen + 64; in litespeed_php_import_environment_variables()
248 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables()
249 t[nlen] = '\0'; in litespeed_php_import_environment_variables()
250 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr); in litespeed_php_import_environment_variables()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_compile.c7720 int nlen = (int)(code - bracode); in compile_branch() local
7721 (void)memmove(bracode + 1 + LINK_SIZE, bracode, CU2BYTES(nlen)); in compile_branch()
7723 nlen += 1 + LINK_SIZE; in compile_branch()
7726 PUTINC(code, 0, nlen); in compile_branch()
7727 PUT(bracode, 1, nlen); in compile_branch()

Completed in 73 milliseconds