/PHP-5.6/ext/phar/ |
H A D | makestub.php | 21 $slen = strlen($s) - strlen('index.php') - strlen("000"); variable 93 $stub .= "\n\tstatic const int newstub_len = " . $slen . ";
|
/PHP-5.6/ext/ereg/regex/ |
H A D | regcomp.c | 64 #define HERE() (p->slen) 65 #define THERE() (p->slen - 1) 66 #define THERETHERE() (p->slen - 2) 67 #define DROP(n) (p->slen -= (n)) 130 p->slen = 0; 1364 assert(p->ssize >= p->slen + len); 1367 p->slen += len; 1393 if (p->slen >= p->ssize) 1395 assert(p->slen < p->ssize); 1398 p->strip[p->slen++] = SOP(op, opnd); [all …]
|
/PHP-5.6/ext/intl/breakiterator/ |
H A D | breakiterator_iterators.cpp | 176 int32_t slen = Z_STRLEN_P(bio->text), in _breakiterator_parts_move_forward() local 181 next = slen; in _breakiterator_parts_move_forward() 183 assert(next <= slen && next >= cur); in _breakiterator_parts_move_forward()
|
/PHP-5.6/win32/ |
H A D | sendmail.c | 856 int slen; in Post() local 860 if ((slen = send(sc, msg + index, len, 0)) < 1) in Post() 862 len -= slen; in Post() 863 index += slen; in Post()
|
/PHP-5.6/ext/sockets/ |
H A D | sockets.c | 1647 socklen_t slen; local 1668 slen = sizeof(s_un); 1670 …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 … 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 …recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t *)&slen);
|
H A D | multicast.c | 203 slen; in php_do_mcast_opt() local 215 &slen TSRMLS_CC) == FAILURE) { in php_do_mcast_opt() 224 glen, (struct sockaddr*)&source, slen, if_index TSRMLS_CC); in php_do_mcast_opt()
|
/PHP-5.6/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1239 int slen = len - ptlen; local 1246 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0)); 1248 path_info = env_path_info ? env_path_info + pilen - slen : NULL; 1275 if (snlen>slen && !strcmp(env_script_name+snlen-slen, path_info)) { 1277 env_script_name[snlen-slen] = 0;
|
/PHP-5.6/main/ |
H A D | spprintf.c | 142 #define INS_STRING(xbuf, s, slen) do { \ argument 143 smart_str_appendl(xbuf, s, slen); \
|
/PHP-5.6/ext/mbstring/oniguruma/ |
H A D | regcomp.c | 474 slen = 1; in compile_length_string_node() 480 slen++; in compile_length_string_node() 486 slen = 1; in compile_length_string_node() 523 slen = 1; in compile_string_node() 528 slen++; in compile_string_node() 535 slen = 1; in compile_string_node() 4589 if (slen > 0) { in optimize_node_left() 4592 set_mml(&opt->len, slen, slen); in optimize_node_left() 4606 if (slen > 0) { in optimize_node_left() 4612 max = slen; in optimize_node_left() [all …]
|
H A D | regparse.c | 232 int slen, term_len, i; in strdup_with_null() local 235 slen = end - s; in strdup_with_null() 238 r = (UChar* )xmalloc(slen + term_len); in strdup_with_null() 240 xmemcpy(r, s, slen); in strdup_with_null() 243 r[slen + i] = (UChar )0; in strdup_with_null()
|
/PHP-5.6/sapi/cgi/ |
H A D | cgi_main.c | 1270 int slen = len - strlen(pt); local 1272 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL; 2295 int slen = strlen(PG(arg_separator).input); local 2299 len += strlen(argv[i]) + slen;
|
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 2060 size_t slen; in magiccheck() local 2066 slen = MIN(m->vallen, sizeof(m->value.s)); in magiccheck() 2071 if (slen + idx > ms->search.s_len) in magiccheck() 2074 v = file_strncmp(m->value.s, ms->search.s + idx, slen, m->str_flags); in magiccheck()
|
H A D | apprentice.c | 1109 size_t slen; in coalesce_entries() local 1114 slen = sizeof(**ma) * mentrycount; in coalesce_entries() 1115 if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) { in coalesce_entries() 1116 file_oomem(ms, slen); in coalesce_entries()
|
/PHP-5.6/ext/spl/ |
H A D | spl_directory.c | 1003 int slen = 0, path_len; in SPL_METHOD() local 1005 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { in SPL_METHOD() 1019 php_basename(fname, flen, suffix, slen, &fname, &flen TSRMLS_CC); in SPL_METHOD() 1031 int slen = 0; in SPL_METHOD() local 1034 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { in SPL_METHOD() 1038 …php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname,… in SPL_METHOD()
|
/PHP-5.6/ext/standard/ |
H A D | string.c | 2923 static PATNREPL *php_strtr_array_prepare_repls(int slen, HashTable *pats, zend_llist **allocs, int … argument 2958 if (string_key_len > slen) { /* this pattern can never match */ 3123 static void php_strtr_array(zval *return_value, char *str, int slen, HashTable *pats) argument 3132 RETURN_STRINGL(str, slen, 1); 3136 L(&text) = slen; 3138 patterns = php_strtr_array_prepare_repls(slen, pats, &allocs, &patterns_len); 3146 RETURN_STRINGL(str, slen, 1);
|
/PHP-5.6/ext/fileinfo/ |
H A D | libmagic.patch | 338 slen = sizeof(**ma) * mentrycount; 339 - if ((*ma = CAST(struct magic *, malloc(slen))) == NULL) { 340 + if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) { 341 file_oomem(ms, slen);
|