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

/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/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;
1356 assert(p->ssize >= p->slen + len);
1357 (void) memcpy((char *)(p->strip + p->slen),
1359 p->slen += len;
1385 if (p->slen >
[all...]
/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/fileinfo/libmagic/
H A Dsoftmagic.c2058 size_t slen; local
2064 slen = MIN(m->vallen, sizeof(m->value.s));
2069 if (slen + idx > ms->search.s_len)
2072 v = file_strncmp(m->value.s, ms->search.s + idx, slen, m->str_flags);
H A Dapprentice.c1108 size_t slen; local
1113 slen = sizeof(**ma) * mentrycount;
1114 if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
1115 file_oomem(ms, slen);
/PHP_TRUNK/ext/sockets/
H A Dmulticast.c205 slen; local
217 &slen) == FAILURE) {
226 glen, (struct sockaddr*)&source, slen, if_index);
H A Dsockets.c1649 socklen_t slen; local
1670 slen = sizeof(s_un);
1672 retval = recvfrom(php_sock->bsd_socket, recv_buf->val, arg3, arg4, (struct sockaddr *)&s_un, (socklen_t *)&slen);
1690 slen = sizeof(sin);
1691 memset(&sin, 0, slen);
1699 retval = recvfrom(php_sock->bsd_socket, recv_buf->val, arg3, arg4, (struct sockaddr *)&sin, (socklen_t *)&slen);
1721 slen = sizeof(sin6);
1722 memset(&sin6, 0, slen);
1730 retval = recvfrom(php_sock->bsd_socket, recv_buf->val, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t *)&slen);
/PHP_TRUNK/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_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp171 size_t slen = Z_STRLEN(bio->text); local
175 next = (int32_t)slen;
177 assert(next <= slen && next >= cur);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c983 size_t slen = 0, path_len; local
985 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
999 RETURN_STR(php_basename(fname, flen, suffix, slen));
1009 size_t slen = 0; local
1012 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1016 fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1143 int slen = len - ptlen; local
1150 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1152 path_info = env_path_info ? env_path_info + pilen - slen : NULL;
1179 if (snlen>slen && !strcmp(env_script_name+snlen-slen, path_info)) {
1181 env_script_name[snlen-slen] = 0;
/PHP_TRUNK/ext/standard/
H A Dstring.c2988 size_t slen = input->len; local
3014 } else if (UNEXPECTED(len > slen)) {
3039 if (UNEXPECTED(len > slen)) {
3055 if (UNEXPECTED(len > slen)) {
3074 RETURN_STRINGL(str, slen);
3084 while (pos <= slen - minlen) {
3087 if (len > slen - pos) continue;
3105 while (pos <= slen - minlen) {
3106 if (maxlen > slen - pos) {
3107 maxlen = slen
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1230 size_t slen = len - strlen(pt); local
1232 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL;
2266 size_t slen = strlen(PG(arg_separator).input); local
2270 len += strlen(argv[i]) + slen;

Completed in 51 milliseconds