Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/
H A Dphp_smart_str.h115 #define smart_str_appendl_ex(dest, src, nlen, what) do { \ argument
119 smart_str_alloc4(__dest, (nlen), (what), __nl); \
120 memcpy(__dest->c + __dest->len, (src), (nlen)); \
189 #define smart_str_setl(dest, src, nlen) do { \ argument
190 (dest)->len = (nlen); \
191 (dest)->a = (nlen) + 1; \
H A Dincomplete_class.c138 PHPAPI char *php_lookup_class_name(zval *object, zend_uint *nlen) in php_lookup_class_name() argument
150 if (nlen) { in php_lookup_class_name()
151 *nlen = Z_STRLEN_PP(val); in php_lookup_class_name()
H A Dphp_incomplete_class.h61 PHPAPI char *php_lookup_class_name(zval *object, zend_uint *nlen);
H A Dstring.c3445 int nlen = *len, i; local
3452 case 'n': *target++='\n'; nlen--; break;
3453 case 'r': *target++='\r'; nlen--; break;
3454 case 'a': *target++='\a'; nlen--; break;
3455 case 't': *target++='\t'; nlen--; break;
3466 nlen-=3;
3469 nlen-=2;
3483 nlen-=i;
3487 nlen--;
3495 if (nlen != 0) {
[all …]
/PHP-5.5/ext/pdo/
H A Dpdo.c223 int nlen; in php_pdo_parse_data_source() local
268 nlen = valstart - optstart - 1; in php_pdo_parse_data_source()
270 …if (0 == strncmp(data_source + optstart, parsed[j].optname, nlen) && parsed[j].optname[nlen] == '\… in php_pdo_parse_data_source()
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c244 unsigned long nlen; /* ptrdiff_t is not portable */ in litespeed_php_import_environment_variables() local
291 nlen = p - *env; in litespeed_php_import_environment_variables()
292 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables()
293 alloc_size = nlen + 64; in litespeed_php_import_environment_variables()
296 memcpy(t, *env, nlen); in litespeed_php_import_environment_variables()
297 t[nlen] = '\0'; in litespeed_php_import_environment_variables()
298 add_variable(t, nlen, p + 1, strlen( p + 1 ), array_ptr TSRMLS_CC); in litespeed_php_import_environment_variables()
/PHP-5.5/main/
H A Dphp_variables.c423 unsigned long nlen; /* ptrdiff_t is not portable */ in _php_import_environment_variables() local
430 nlen = p - *env; in _php_import_environment_variables()
431 if (nlen >= alloc_size) { in _php_import_environment_variables()
432 alloc_size = nlen + 64; in _php_import_environment_variables()
435 memcpy(t, *env, nlen); in _php_import_environment_variables()
436 t[nlen] = '\0'; in _php_import_environment_variables()
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c138 register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1); in string_printf() local
139 if (str->alloced < nlen) { in string_printf()
140 str->alloced = nlen; in string_printf()
153 register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1); in string_write() local
154 if (str->alloced < nlen) { in string_write()
155 str->alloced = nlen; in string_write()
5367 int nlen; in add_extension_class() local
5372 nlen = hash_key->nKeyLength-1; in add_extension_class()
5376 nlen = (*pce)->name_length; in add_extension_class()
5381 add_assoc_zval_ex(class_array, name, nlen+1, zclass); in add_extension_class()
[all …]
/PHP-5.5/ext/pcre/pcrelib/
H A Dpcre_compile.c6316 int nlen = (int)(code - bracode); in compile_branch() local
6319 memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); in compile_branch()
6321 nlen += 1 + LINK_SIZE; in compile_branch()
6324 PUTINC(code, 0, nlen); in compile_branch()
6325 PUT(bracode, 1, nlen); in compile_branch()

Completed in 73 milliseconds