Searched refs:slen (Results 1 - 13 of 13) sorted by relevance

/PHP_5_4/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_5_4/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_5_4/win32/
H A Dsendmail.c855 int slen; local
859 if ((slen = send(sc, msg + index, len, 0)) < 1)
861 len -= slen;
862 index += slen;
/PHP_5_4/ext/mbstring/oniguruma/
H A Dregcomp.c438 int rlen, r, len, prev_len, slen, ambig; local
452 slen = 1;
458 slen++;
461 r = add_compile_string_length(prev, prev_len, slen, reg, ambig);
464 slen = 1;
469 r = add_compile_string_length(prev, prev_len, slen, reg, ambig);
486 int r, len, prev_len, slen, ambig; local
501 slen = 1;
506 slen++;
509 r = add_compile_string(prev, prev_len, slen, re
4379 int slen = sn->end - sn->s; local
[all...]
H A Dregparse.c239 int slen, term_len, i; local
242 slen = end - s;
245 r = (UChar* )xmalloc(slen + term_len);
247 xmemcpy(r, s, slen);
250 r[slen + i] = (UChar )0;
/PHP_5_4/ext/sockets/
H A Dsockets.c1827 socklen_t slen; local
1848 slen = sizeof(s_un);
1850 retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&s_un, (socklen_t *)&slen);
1866 slen = sizeof(sin);
1867 memset(&sin, 0, slen);
1875 retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin, (socklen_t *)&slen);
1895 slen = sizeof(sin6);
1896 memset(&sin6, 0, slen);
1904 retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t *)&slen);
2163 slen; local
[all...]
/PHP_5_4/main/
H A Dspprintf.c137 #define INS_STRING(xbuf, s, slen) do { \
138 smart_str_appendl(xbuf, s, slen); \
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c1260 int slen = len - strlen(pt); local
1262 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL;
2278 int slen = strlen(PG(arg_separator).input); local
2282 len += strlen(argv[i]) + slen;
/PHP_5_4/ext/fileinfo/libmagic/
H A Dapprentice.c1098 size_t slen; local
1103 slen = sizeof(**ma) * mentrycount;
1104 if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
1105 file_oomem(ms, slen);
H A Dsoftmagic.c2018 size_t slen; local
2024 slen = MIN(m->vallen, sizeof(m->value.s));
2029 if (slen + idx > ms->search.s_len)
2032 v = file_strncmp(m->value.s, ms->search.s + idx, slen, m->str_flags);
/PHP_5_4/ext/spl/
H A Dspl_directory.c999 int slen = 0, path_len; local
1001 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1015 php_basename(fname, flen, suffix, slen, &fname, &flen TSRMLS_CC);
1027 int slen = 0; local
1030 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) {
1034 php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname, &flen TSRMLS_CC);
/PHP_5_4/ext/standard/
H A Dstring.c2959 static PATNREPL *php_strtr_array_prepare_repls(int slen, HashTable *pats, zend_llist **allocs, int *outsize) argument
2994 if (string_key_len > slen) { /* this pattern can never match */
3153 static void php_strtr_array(zval *return_value, char *str, int slen, HashTable *pats) argument
3162 RETURN_STRINGL(str, slen, 1);
3166 L(&text) = slen;
3168 patterns = php_strtr_array_prepare_repls(slen, pats, &allocs, &patterns_len);
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c1204 int slen = len - ptlen; local
1211 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1213 path_info = env_path_info ? env_path_info + pilen - slen : NULL;

Completed in 49 milliseconds