Home
last modified time | relevance | path

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

/PHP-5.3/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.c3123 int nlen = *len, i; local
3130 case 'n': *target++='\n'; nlen--; break;
3131 case 'r': *target++='\r'; nlen--; break;
3132 case 'a': *target++='\a'; nlen--; break;
3133 case 't': *target++='\t'; nlen--; break;
3144 nlen-=3;
3147 nlen-=2;
3161 nlen-=i;
3165 nlen--;
3173 if (nlen != 0) {
[all …]
/PHP-5.3/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.3/main/
H A Dphp_variables.c448 unsigned long nlen; /* ptrdiff_t is not portable */ in _php_import_environment_variables() local
462 nlen = p - *env; in _php_import_environment_variables()
463 if (nlen >= alloc_size) { in _php_import_environment_variables()
464 alloc_size = nlen + 64; in _php_import_environment_variables()
467 memcpy(t, *env, nlen); in _php_import_environment_variables()
468 t[nlen] = '\0'; in _php_import_environment_variables()
/PHP-5.3/ext/reflection/
H A Dphp_reflection.c132 register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1); in string_printf() local
133 if (str->alloced < nlen) { in string_printf()
134 str->alloced = nlen; in string_printf()
147 register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1); in string_write() local
148 if (str->alloced < nlen) { in string_write()
149 str->alloced = nlen; in string_write()
/PHP-5.3/ext/pcre/pcrelib/
H A Dpcre_compile.c5439 int nlen = (int)(code - bracode); in compile_branch() local
5442 memmove(bracode + 1 + LINK_SIZE, bracode, IN_UCHARS(nlen)); in compile_branch()
5444 nlen += 1 + LINK_SIZE; in compile_branch()
5447 PUTINC(code, 0, nlen); in compile_branch()
5448 PUT(bracode, 1, nlen); in compile_branch()

Completed in 65 milliseconds