Searched refs:entry_len (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/ext/phar/
H A Ddirstream.c417 int arch_len, entry_len; local
422 if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len, 2, 2 TSRMLS_CC)) {
549 int arch_len, entry_len; local
557 if (FAILURE == phar_split_fname(url, strlen(url), &arch, &arch_len, &entry2, &entry_len, 2, 2 TSRMLS_CC)) {
H A Dstream.c63 int arch_len, entry_len; local
74 if (phar_split_fname(filename, strlen(filename), &arch, &arch_len, &entry, &entry_len, 2, (mode[0] == 'w' ? 2 : 0) TSRMLS_CC) == FAILURE) {
H A Dutil.c256 int arch_len, entry_len, fname_len, ret_len; local
279 if (fname_len < 7 || memcmp(fname, "phar://", 7) || SUCCESS != phar_split_fname(fname, strlen(fname), &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC)) {
327 if (SUCCESS != phar_split_fname(ret, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0 TSRMLS_CC)) {
H A Dphar_object.c59 static void phar_mung_server_vars(char *fname, char *entry, int entry_len, char *basename, int request_uri_len TSRMLS_DC) /* {{{ */ argument
79 if (code > entry_len && !memcmp(path_info, entry, entry_len)) {
81 ZVAL_STRINGL(stuff, path_info + entry_len, request_uri_len);
127 ZVAL_STRINGL(stuff, entry, entry_len);
145 static int phar_file_action(phar_archive_data *phar, phar_entry_info *info, char *mime_type, int code, char *entry, int entry_len, char *arch, char *basename, char *ru, int ru_len TSRMLS_DC) /* {{{ */ argument
223 phar_mung_server_vars(arch, entry, entry_len, basename, ru_len TSRMLS_CC);
244 if ((cwd = zend_memrchr(entry, '/', entry_len))) {
310 static void phar_do_403(char *entry, int entry_len TSRMLS_DC) /* {{{ */
320 PHPWRITE(entry, entry_len);
353 phar_postprocess_ru_web(char *fname, int fname_len, char **entry, int *entry_len, char **ru, int *ru_len TSRMLS_DC) argument
421 int fname_len, arch_len, entry_len; local
458 int fname_len, arch_len, entry_len; local
553 int entry_len, code, not_cgi; local
1298 int zname_len, arch_len, entry_len; local
4337 int arch_len, entry_len; local
[all...]
H A Dphar_internal.h605 int phar_split_fname(const char *filename, int filename_len, char **arch, int *arch_len, char **entry, int *entry_len, int executable, int for_create TSRMLS_DC);
H A Dphar.c2186 int phar_split_fname(const char *filename, int filename_len, char **arch, int *arch_len, char **entry, int *entry_len, int executable, int for_create TSRMLS_DC) /* {{{ */ argument
2230 *entry_len = filename_len - *arch_len;
2231 *entry = estrndup(ext_str+ext_len, *entry_len);
2233 phar_unixify_path_separators(*entry, *entry_len);
2235 *entry = phar_fix_filepath(*entry, entry_len, 0 TSRMLS_CC);
2237 *entry_len = 1;
H A Dfunc_interceptors.c47 int arch_len, entry_len, fname_len; local
57 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
65 entry_len = filename_len;
67 entry = phar_fix_filepath(entry, &entry_len, 1 TSRMLS_CC);
121 int arch_len, entry_len, fname_len; local
130 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
137 entry_len = filename_len;
151 if ((entry = phar_find_in_include_path(entry, entry_len, NULL TSRMLS_CC))) {
160 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len,
246 int arch_len, entry_len, fname_len; local
342 size_t arch_len, entry_len, fname_len; local
613 int arch_len, entry_len, fname_len; local
907 int arch_len, entry_len, fname_len; local
974 int arch_len, entry_len, fname_len; local
[all...]
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c320 int entry_len; local
345 while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) {
346 add_next_index_stringl( return_value, (char *) entry, entry_len);
/PHP_TRUNK/ext/session/
H A Dmod_files.c213 size_t entry_len = strlen(entry->d_name); local
216 if (entry_len + dirname_len + 2 < MAXPATHLEN) {
218 memcpy(buf + dirname_len + 1, entry->d_name, entry_len);
221 buf[dirname_len + entry_len + 1] = '\0';
/PHP_TRUNK/ext/sockets/
H A Dmulticast.c762 size_t entry_len; local
794 p += entry_len) {
801 entry_len = cur_req->ifr_addr.sa_len + sizeof(cur_req->ifr_name);
804 entry_len = sizeof(struct sockaddr) + sizeof(cur_req->ifr_name);
806 entry_len = MAX(entry_len, sizeof(*cur_req));

Completed in 22 milliseconds