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

/PHP_TRUNK/ext/phar/
H A Ddirstream.c416 int arch_len, entry_len; local
421 if (FAILURE == phar_split_fname(url_from, strlen(url_from), &arch, &arch_len, &entry2, &entry_len, 2, 2)) {
548 int arch_len, entry_len; local
556 if (FAILURE == phar_split_fname(url, strlen(url), &arch, &arch_len, &entry2, &entry_len, 2, 2)) {
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)) {
65 entry_len = filename_len;
67 entry = phar_fix_filepath(entry, &entry_len, 1);
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)) {
137 entry_len = filename_len;
151 if ((entry = phar_find_in_include_path(entry, entry_len, NULL))) {
160 entry = phar_fix_filepath(estrndup(entry, entry_len), &entry_len,
246 int arch_len, entry_len, fname_len; local
342 int 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...]
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)) == 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)) {
327 if (SUCCESS != phar_split_fname(ret, ret_len, &arch, &arch_len, &entry, &entry_len, 1, 0)) {
H A Dphar_object.c59 static void phar_mung_server_vars(char *fname, char *entry, int entry_len, char *basename, int request_uri_len) /* {{{ */ 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) /* {{{ */ argument
223 phar_mung_server_vars(arch, entry, entry_len, basename, ru_len);
244 if ((cwd = zend_memrchr(entry, '/', entry_len))) {
310 static void phar_do_403(char *entry, int entry_len) /* {{{ */ argument
320 PHPWRITE(entry, entry_len);
325 phar_do_404(phar_archive_data *phar, char *fname, int fname_len, char *f404, size_t f404_len, char *entry, size_t entry_len) argument
353 phar_postprocess_ru_web(char *fname, int fname_len, char **entry, int *entry_len, char **ru, int *ru_len) argument
421 int fname_len, arch_len, entry_len; local
458 int fname_len, arch_len, entry_len; local
554 int entry_len, code, not_cgi; local
1299 int zname_len, arch_len, entry_len; local
4341 int arch_len, entry_len; local
[all...]
H A Dphar.c2183 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) /* {{{ */ argument
2227 *entry_len = filename_len - *arch_len;
2228 *entry = estrndup(ext_str+ext_len, *entry_len);
2230 phar_unixify_path_separators(*entry, *entry_len);
2232 *entry = phar_fix_filepath(*entry, entry_len, 0);
2234 *entry_len = 1;
H A Dphar_internal.h608 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);
/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));
/PHP_TRUNK/ext/session/
H A Dmod_files.c287 size_t entry_len = strlen(entry->d_name); local
290 if (entry_len + dirname_len + 2 < MAXPATHLEN) {
292 memcpy(buf + dirname_len + 1, entry->d_name, entry_len);
295 buf[dirname_len + entry_len + 1] = '\0';
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c319 int entry_len; local
344 while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) {
345 add_next_index_stringl( return_value, (char *) entry, entry_len);

Completed in 22 milliseconds