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

/PHP_TRUNK/ext/sockets/
H A Dmulticast.c205 slen; local
217 &slen) == FAILURE) {
226 glen, (struct sockaddr*)&source, slen, if_index);
H A Dsockets.c1675 socklen_t slen; local
1698 slen = sizeof(s_un);
1700 retval = recvfrom(php_sock->bsd_socket, ZSTR_VAL(recv_buf), arg3, arg4, (struct sockaddr *)&s_un, (socklen_t *)&slen);
1718 slen = sizeof(sin);
1719 memset(&sin, 0, slen);
1727 retval = recvfrom(php_sock->bsd_socket, ZSTR_VAL(recv_buf), arg3, arg4, (struct sockaddr *)&sin, (socklen_t *)&slen);
1749 slen = sizeof(sin6);
1750 memset(&sin6, 0, slen);
1758 retval = recvfrom(php_sock->bsd_socket, ZSTR_VAL(recv_buf), arg3, arg4, (struct sockaddr *)&sin6, (socklen_t *)&slen);
/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/ext/fileinfo/libmagic/
H A Dapprentice.c1178 size_t slen; local
1183 slen = sizeof(**ma) * mentrycount;
1184 if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) {
1185 file_oomem(ms, slen);
H A Dsoftmagic.c1977 size_t slen; local
1983 slen = MIN(m->vallen, sizeof(m->value.s));
1988 if (slen + idx > ms->search.s_len)
1991 v = file_strncmp(m->value.s, ms->search.s + idx, 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.c988 size_t slen = 0, path_len; local
990 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1004 RETURN_STR(php_basename(fname, flen, suffix, slen));
1014 size_t slen = 0; local
1017 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &suffix, &slen) == FAILURE) {
1021 fname = php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen);
/PHP_TRUNK/ext/standard/
H A Dstring.c2992 size_t slen = ZSTR_LEN(input); local
3007 num_bitset = ecalloc((slen + (sizeof(zend_ulong)-1)) / sizeof(zend_ulong), sizeof(zend_ulong));
3018 } else if (UNEXPECTED(len > slen)) {
3042 if (UNEXPECTED(len > slen)) {
3058 if (UNEXPECTED(len > slen)) {
3081 while (pos <= slen - minlen) {
3085 if (len > slen - pos) {
3086 len = slen - pos;
3108 smart_str_appendl(&result, str + old_pos, slen - old_pos);
/PHP_TRUNK/win32/
H A Dsendmail.c866 int slen; local
870 if ((slen = send(PW32G(mail_socket), msg + index, len, 0)) < 1)
872 len -= slen;
873 index += slen;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c1243 size_t slen = len - strlen(pt); local
1245 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL;
2275 size_t slen = strlen(PG(arg_separator).input); local
2279 len += strlen(argv[i]) + slen;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c1179 int slen = len - ptlen; local
1186 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0));
1188 path_info = env_path_info ? env_path_info + pilen - slen : NULL;
1215 if (snlen>slen && !strcmp(env_script_name+snlen-slen, path_info)) {
1217 env_script_name[snlen-slen] = 0;

Completed in 70 milliseconds