Home
last modified time | relevance | path

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

/PHP-5.4/ext/standard/
H A Dphp_smart_str.h112 #define smart_str_appendl_ex(dest, src, nlen, what) do { \ argument
116 smart_str_alloc4(__dest, (nlen), (what), __nl); \
117 memcpy(__dest->c + __dest->len, (src), (nlen)); \
186 #define smart_str_setl(dest, src, nlen) do { \ argument
187 (dest)->len = (nlen); \
188 (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.c3475 int nlen = *len, i; local
3482 case 'n': *target++='\n'; nlen--; break;
3483 case 'r': *target++='\r'; nlen--; break;
3484 case 'a': *target++='\a'; nlen--; break;
3485 case 't': *target++='\t'; nlen--; break;
3496 nlen-=3;
3499 nlen-=2;
3513 nlen-=i;
3517 nlen--;
3525 if (nlen != 0) {
[all …]
/PHP-5.4/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.4/sapi/litespeed/
H A Dlsapi_main.c239 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 TSRMLS_CC); in litespeed_php_import_environment_variables()
/PHP-5.4/main/
H A Dphp_variables.c424 unsigned long nlen; /* ptrdiff_t is not portable */ in _php_import_environment_variables() local
431 nlen = p - *env; in _php_import_environment_variables()
432 if (nlen >= alloc_size) { in _php_import_environment_variables()
433 alloc_size = nlen + 64; in _php_import_environment_variables()
436 memcpy(t, *env, nlen); in _php_import_environment_variables()
437 t[nlen] = '\0'; in _php_import_environment_variables()
/PHP-5.4/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()
/PHP-5.4/ext/pcre/pcrelib/
H A Dpcre_compile.c6268 int nlen = (int)(code - bracode); in compile_branch() local
6271 memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); in compile_branch()
6273 nlen += 1 + LINK_SIZE; in compile_branch()
6276 PUTINC(code, 0, nlen); in compile_branch()
6277 PUT(bracode, 1, nlen); in compile_branch()

Completed in 74 milliseconds