/PHP-5.3/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.3/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)) 122 p->slen = 0; 1352 assert(p->ssize >= p->slen + len); 1355 p->slen += len; 1381 if (p->slen >= p->ssize) 1383 assert(p->slen < p->ssize); 1386 p->strip[p->slen++] = SOP(op, opnd); [all …]
|
/PHP-5.3/win32/ |
H A D | sendmail.c | 855 int slen; in Post() local 859 if ((slen = send(sc, msg + index, len, 0)) < 1) in Post() 861 len -= slen; in Post() 862 index += slen; in Post()
|
/PHP-5.3/ext/sockets/ |
H A D | sockets.c | 1545 socklen_t slen; local 1566 slen = sizeof(s_un); 1568 …recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&s_un, (socklen_t *)&slen); 1584 slen = sizeof(sin); 1585 memset(&sin, 0, slen); 1593 … recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin, (socklen_t *)&slen); 1613 slen = sizeof(sin6); 1614 memset(&sin6, 0, slen); 1622 …recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t *)&slen);
|
/PHP-5.3/main/ |
H A D | spprintf.c | 137 #define INS_STRING(xbuf, s, slen) do { \ argument 138 smart_str_appendl(xbuf, s, slen); \
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regcomp.c | 452 slen = 1; in compile_length_string_node() 458 slen++; in compile_length_string_node() 464 slen = 1; in compile_length_string_node() 501 slen = 1; in compile_string_node() 506 slen++; in compile_string_node() 513 slen = 1; in compile_string_node() 4385 if (slen > 0) { in optimize_node_left() 4388 set_mml(&opt->len, slen, slen); in optimize_node_left() 4397 if (slen > 0) { in optimize_node_left() 4408 max = slen; in optimize_node_left() [all …]
|
H A D | regparse.c | 239 int slen, term_len, i; in strdup_with_null() local 242 slen = end - s; in strdup_with_null() 245 r = (UChar* )xmalloc(slen + term_len); in strdup_with_null() 247 xmemcpy(r, s, slen); in strdup_with_null() 250 r[slen + i] = (UChar )0; in strdup_with_null()
|
/PHP-5.3/sapi/cgi/ |
H A D | cgi_main.c | 1200 int slen = len - strlen(pt); local 1202 char *path_info = env_path_info ? env_path_info + pilen - slen : NULL; 2014 int slen = strlen(PG(arg_separator).input); local 2018 len += strlen(argv[i]) + slen;
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1822 size_t slen; local 1828 slen = MIN(m->vallen, sizeof(m->value.s)); 1833 if (slen + idx > ms->search.s_len) 1836 v = file_strncmp(m->value.s, ms->search.s + idx, slen, m->str_flags);
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1202 int slen = len - ptlen; local 1209 tflag = (slen != 0 && (!orig_path_info || strcmp(orig_path_info, path_info) != 0)); 1211 path_info = env_path_info ? env_path_info + pilen - slen : NULL;
|
/PHP-5.3/ext/spl/ |
H A D | spl_directory.c | 989 int slen = 0, path_len; in SPL_METHOD() local 991 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { in SPL_METHOD() 1005 php_basename(fname, flen, suffix, slen, &fname, &flen TSRMLS_CC); in SPL_METHOD() 1017 int slen = 0; in SPL_METHOD() local 1020 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { in SPL_METHOD() 1024 …php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname,… in SPL_METHOD()
|
/PHP-5.3/ext/standard/ |
H A D | string.c | 2694 static void php_strtr_array(zval *return_value, char *str, int slen, HashTable *hash) argument 2751 while (pos < slen) { 2752 if ((pos + maxlen) > slen) { 2753 maxlen = slen - pos;
|
/PHP-5.3/ext/fileinfo/ |
H A D | libmagic.patch | 321 - size_t slen, files = 0, maxfiles = 0; 409 - slen = sizeof(**magicp) * mentrycount; 410 - if ((*magicp = CAST(struct magic *, malloc(slen))) == NULL) { 411 - file_oomem(ms, slen);
|