Searched defs:slen (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/ext/ereg/regex/
H A Dregcomp.c27 sopno slen; /* malloced strip length (used) */ member in struct:parse
64 #define HERE() (p->slen)
65 #define THERE() (p->slen - 1)
66 #define THERETHERE() (p->slen - 2)
67 #define DROP(n) (p->slen -= (n))
122 p->slen = 0;
1352 assert(p->ssize >= p->slen + len);
1353 (void) memcpy((char *)(p->strip + p->slen),
1355 p->slen += len;
1381 if (p->slen >
[all...]
/PHP_TRUNK/ext/phar/
H A Dmakestub.php21 $slen = strlen($s) - strlen('index.php') - strlen("000"); variable
93 $stub .= "\n\tstatic const int newstub_len = " . $slen . ";
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp176 int32_t slen = Z_STRLEN_P(bio->text), local
181 next = slen;
183 assert(next <= slen && next >= cur);
/PHP_TRUNK/win32/
H A Dsendmail.c856 int slen; local
860 if ((slen = send(sc, msg + index, len, 0)) < 1)
862 len -= slen;
863 index += slen;
/PHP_TRUNK/ext/sockets/
H A Dmulticast.c203 slen; local
215 &slen TSRMLS_CC) == FAILURE) {
224 glen, (struct sockaddr*)&source, slen, if_index TSRMLS_CC);
H A Dsockets.c1647 socklen_t slen; local
1668 slen = sizeof(s_un);
1670 retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&s_un, (socklen_t *)&slen);
1686 slen = sizeof(sin);
1687 memset(&sin, 0, slen);
1695 retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin, (socklen_t *)&slen);
1715 slen = sizeof(sin6);
1716 memset(&sin6, 0, slen);
1724 retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t *)&slen);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1207 int slen = len - ptlen; local
1214 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1216 path_info = env_path_info ? env_path_info + pilen - slen : NULL;
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dsoftmagic.c2039 size_t slen; local
2045 slen = MIN(m->vallen, sizeof(m->value.s));
2050 if (slen + idx > ms->search.s_len)
2053 v = file_strncmp(m->value.s, ms->search.s + idx, slen, m->str_flags);
H A Dapprentice.c1109 size_t slen; local
1114 slen = sizeof(**ma) * mentrycount;
1115 if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
1116 file_oomem(ms, slen);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c997 int slen = 0, path_len; local
999 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1013 php_basename(fname, flen, suffix, slen, &fname, &flen TSRMLS_CC);
1025 int slen = 0; local
1028 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1032 php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname, &flen TSRMLS_CC);
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c460 int rlen, r, len, prev_len, slen, ambig; local
474 slen = 1;
480 slen++;
483 r = add_compile_string_length(prev, prev_len, slen, reg, ambig);
486 slen = 1;
491 r = add_compile_string_length(prev, prev_len, slen, reg, ambig);
508 int r, len, prev_len, slen, ambig; local
523 slen = 1;
528 slen++;
531 r = add_compile_string(prev, prev_len, slen, re
3253 expand_case_fold_string_alt(int item_num, OnigCaseFoldCodeItem items[], UChar *p, int slen, UChar *end, regex_t* reg, Node **rnode) argument
4583 int slen = sn->end - sn->s; local
[all...]
H A Dregparse.c232 int slen, term_len, i; local
235 slen = end - s;
238 r = (UChar* )xmalloc(slen + term_len);
240 xmemcpy(r, s, slen);
243 r[slen + i] = (UChar )0;
/PHP_TRUNK/ext/standard/
H A Dstring.c2896 static PATNREPL *php_strtr_array_prepare_repls(int slen, HashTable *pats, zend_llist **allocs, int *outsize) argument
2931 if (string_key_len > slen) { /* this pattern can never match */
3096 static void php_strtr_array(zval *return_value, char *str, int slen, HashTable *pats) argument
3105 L(&text) = slen;
3107 patterns = php_strtr_array_prepare_repls(slen, pats, &allocs, &patterns_len);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1262 int slen = len - strlen(pt); local
1264 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL;
2284 int slen = strlen(PG(arg_separator).input); local
2288 len += strlen(argv[i]) + slen;

Completed in 52 milliseconds