Searched refs:nlen (Results 1 – 7 of 7) sorted by relevance
/php-src/ext/bcmath/libbcmath/src/ |
H A D | convert.h | 48 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 D | pdo.c | 164 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 D | fcgi.inc | 582 $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 D | formatted_print.c | 65 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 D | string.c | 3766 size_t nlen = ZSTR_LEN(str), i; local 3773 case 'n': *target++='\n'; nlen--; break; 3774 case 'r': *target++='\r'; nlen--; break; 3775 case 'a': *target++='\a'; nlen--; break; 3776 case 't': *target++='\t'; nlen--; break; 3787 nlen-=3; 3790 nlen-=2; 3804 nlen-=i; 3808 nlen--; 3816 if (nlen != 0) { [all …]
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 219 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 D | pcre2_compile.c | 7720 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 61 milliseconds