Searched refs: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/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/sapi/fpm/fpm/
H A Dfpm_main.c1199 int slen = len - ptlen; local
1206 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1208 path_info = env_path_info ? env_path_info + pilen - slen : NULL;
/PHP_TRUNK/ext/fileinfo/libmagic/
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);
H A Dsoftmagic.c2056 size_t slen; local
2062 slen = MIN(m->vallen, sizeof(m->value.s));
2067 if (slen + idx > ms->search.s_len)
2070 v = file_strncmp(m->value.s, ms->search.s + idx, slen, m->str_flags);
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp171 int32_t slen = Z_STRSIZE(bio->text); local
175 next = slen;
177 assert(next <= slen && next >= cur);
/PHP_TRUNK/ext/sockets/
H A Dmulticast.c205 slen; local
217 &slen TSRMLS_CC) == FAILURE) {
226 glen, (struct sockaddr*)&source, slen, if_index TSRMLS_CC);
H A Dsockets.c1638 socklen_t slen; local
1659 slen = sizeof(s_un);
1661 retval = recvfrom(php_sock->bsd_socket, recv_buf->val, arg3, arg4, (struct sockaddr *)&s_un, (socklen_t *)&slen);
1679 slen = sizeof(sin);
1680 memset(&sin, 0, slen);
1688 retval = recvfrom(php_sock->bsd_socket, recv_buf->val, arg3, arg4, (struct sockaddr *)&sin, (socklen_t *)&slen);
1710 slen = sizeof(sin6);
1711 memset(&sin6, 0, slen);
1719 retval = recvfrom(php_sock->bsd_socket, recv_buf->val, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t *)&slen);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c981 int slen = 0, path_len; local
983 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
997 RETURN_STR(php_basename(fname, flen, suffix, slen TSRMLS_CC));
1007 int slen = 0; local
1010 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1014 fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen TSRMLS_CC);
/PHP_TRUNK/ext/standard/
H A Dstring.c2814 static void php_strtr_array(zval *return_value, char *str, php_size_t slen, HashTable *pats TSRMLS_DC) argument
2839 } else if (UNEXPECTED(len > slen)) {
2863 if (UNEXPECTED(len > slen)) {
2878 if (UNEXPECTED(len > slen)) {
2897 RETURN_STRINGL(str, slen);
2907 while (pos <= slen - minlen) {
2911 if (len > slen - pos) continue;
2926 smart_str_appendl(&result, str + pos, slen - pos);
2930 while (pos <= slen - minlen) {
2931 if (maxlen > slen
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1257 int slen = len - strlen(pt); local
1259 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL;
2279 int slen = strlen(PG(arg_separator).input); local
2283 len += strlen(argv[i]) + slen;
/PHP_TRUNK/win32/
H A Dsendmail.c857 int slen; local
861 if ((slen = send(sc, msg + index, len, 0)) < 1)
863 len -= slen;
864 index += slen;

Completed in 63 milliseconds