Searched defs:entry (Results 1 - 25 of 60) sorted by relevance

123

/PHP_TRUNK/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c57 struct mappings_entry *entry; local
61 entry = &map->entries[i];
62 if (e == i || entry->cp_uni > cp_uni) {
74 entry = &map->entries[i];
75 entry->cp_uni = cp_uni;
76 entry->n = 0;
80 } else if (entry->cp_uni < cp_uni) {
92 entry = &map->entries[i + 1];
93 entry->cp_uni = cp_uni;
94 entry
197 to_cp932_visitor(const struct mappings_entry *entry) argument
236 from_cp932_visitor(const struct mappings_entry *entry) argument
270 to_cp50220_visitor(const struct mappings_entry *entry) argument
324 to_cp50222_visitor(const struct mappings_entry *entry) argument
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dst.c262 st_table_entry *entry;\
268 entry = alloc(st_table_entry);\
270 entry->hash = hash_val;\
271 entry->key = key;\
272 entry->record = value;\
273 entry->next = table->bins[bin_pos];\
274 table->bins[bin_pos] = entry;\
344 st_table_entry *ptr, *entry; local
365 entry = alloc(st_table_entry);
366 if (entry
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_get.c119 pcre_uchar *entry = nametable + entrysize*mid; local
121 (pcre_uchar *)(entry + IMM2_SIZE));
122 if (c == 0) return GET2(entry, 0);
141 firstptr where to put the pointer to the first entry
142 lastptr where to put the pointer to the last entry
144 Returns: the length of each entry, or a negative number
203 pcre_uchar *entry = nametable + entrysize*mid; local
205 (pcre_uchar *)(entry + IMM2_SIZE));
208 pcre_uchar *first = entry;
209 pcre_uchar *last = entry;
272 pcre_uchar *entry; local
[all...]
/PHP_TRUNK/ext/sockets/
H A Dsendrecvmsg.c91 ancillary_reg_entry entry; local
98 entry.size = sizev; \
99 entry.var_el_size = var_size; \
100 entry.calc_space = calc; \
101 entry.from_array = from; \
102 entry.to_array = to; \
106 (void*)&entry, sizeof(entry), NULL)
144 ancillary_reg_entry *entry; local
157 (void**)&entry)
278 ancillary_reg_entry *entry; local
[all...]
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c316 const char * entry; local
342 while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) {
343 add_next_index_stringl( return_value, (char *) entry, entry_len, 1 );
405 * Every 'ResourceBundle' class method has an entry in this table
/PHP_TRUNK/win32/
H A Dreaddir.c92 int readdir_r(DIR *dp, struct dirent *entry, struct dirent **result) argument
113 memcpy(entry, &dp->dent, sizeof(*entry));
/PHP_TRUNK/ext/dom/
H A Ddom_iterators.c190 zval **entry; local
206 if (zend_hash_get_current_data(nodeht, (void **) &entry)==SUCCESS) {
207 curattr = *entry;
265 zval **entry; local
285 if (zend_hash_get_current_data(nodeht, (void **) &entry)==SUCCESS) {
286 curattr = *entry;
H A Dnodelist.c117 zval **entry; local
137 if (zend_hash_index_find(nodeht, index, (void **) &entry)==SUCCESS) {
138 *return_value = **entry;
H A Dxpath.c552 zval *array_value, **entry, *new_string; local
562 while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) {
563 SEPARATE_ZVAL(entry);
564 convert_to_string_ex(entry);
569 zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), NULL);
/PHP_TRUNK/ext/ftp/
H A Dftp.c1616 char **entry; local
1679 entry = ret;
1681 *entry = text;
1686 *++entry = text;
1692 *entry = NULL;
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_hash.c71 * Returns pointer the actual hash entry on success
78 zend_accel_hash_entry *entry; local
92 entry = accel_hash->hash_table[index];
93 while (entry) {
94 if (entry->hash_value == hash_value
95 && entry->key_length == key_length
96 && !memcmp(entry->key, key, key_length)) {
98 if (entry->indirect) {
100 entry->data = indirect_bucket;
102 ((zend_accel_hash_entry*)entry
147 zend_accel_hash_entry *entry; local
175 zend_accel_hash_entry *entry; local
200 zend_accel_hash_entry *entry, *last_entry=NULL; local
[all...]
/PHP_TRUNK/ext/phar/
H A Ddirstream.c184 char *entry, *found, *save, *str_key; local
225 /* the entry has a path separator and is a subdirectory */
226 entry = (char *) safe_emalloc(found - str_key, 1, 1);
227 memcpy(entry, str_key, found - str_key);
229 entry[keylen] = '\0';
231 entry = (char *) safe_emalloc(keylen, 1, 1);
232 memcpy(entry, str_key, keylen);
233 entry[keylen] = '\0';
239 /* entry in directory not found */
260 entry
309 phar_entry_info *entry = NULL; local
412 phar_entry_info entry, *e; local
544 phar_entry_info *entry; local
[all...]
H A Dfunc_interceptors.c46 char *arch, *entry, *fname; local
57 if (SUCCESS == phar_split_fname(fname, fname_len, &arch, &arch_len, &entry, &entry_len, 2, 0 TSRMLS_CC)) {
62 efree(entry);
63 entry = estrndup(filename, filename_len);
67 entry = phar_fix_filepath(entry, &entry_len, 1 TSRMLS_CC);
69 if (entry[0] == '/') {
70 spprintf(&name, 4096, "phar://%s%s", arch, entry);
72 spprintf(&name, 4096, "phar://%s/%s", arch, entry);
74 efree(entry);
121 char *arch, *entry, *fname; local
251 char *arch, *entry, *fname; local
347 char *arch, *entry, *fname; local
618 char *arch, *entry, *fname; local
912 char *arch, *entry, *fname; local
979 char *arch, *entry, *fname; local
[all...]
H A Dstream.c62 char *arch = NULL, *entry = NULL, *error; local
74 if (phar_split_fname(filename, strlen(filename), &arch, &arch_len, &entry, &entry_len, 2, (mode[0] == 'w' ? 2 : 0) TSRMLS_CC) == FAILURE) {
76 if (arch && !entry) {
89 resource->path = entry;
258 phar_entry_info *entry; local
260 entry = (phar_entry_info *) ecalloc(1, sizeof(phar_entry_info));
261 entry->is_temp_dir = 1;
262 entry->filename = estrndup("", 0);
263 entry->filename_len = 0;
264 entry
320 char *entry = idata->internal_file->filename, *cwd; local
363 phar_entry_info *entry; local
393 phar_entry_info *entry; local
572 phar_entry_info *entry; local
762 phar_entry_info *entry; local
[all...]
H A Dtar.c158 static int phar_tar_process_metadata(phar_entry_info *entry, php_stream *fp TSRMLS_DC) /* {{{ */ argument
164 metadata = (char *) safe_emalloc(1, entry->uncompressed_filesize, 1);
166 read = php_stream_read(fp, metadata, entry->uncompressed_filesize);
167 if (read != entry->uncompressed_filesize) {
173 if (phar_parse_metadata(&metadata, &entry->metadata, entry->uncompressed_filesize TSRMLS_CC) == FAILURE) {
180 if (entry->filename_len == sizeof(".phar/.metadata.bin")-1 && !memcmp(entry->filename, ".phar/.metadata.bin", sizeof(".phar/.metadata.bin")-1)) {
181 entry->phar->metadata = entry
198 phar_entry_info entry = {0}; local
682 phar_entry_info *entry = (phar_entry_info *) pDest; local
827 phar_tar_setmetadata(zval *metadata, phar_entry_info *entry, char **error TSRMLS_DC) argument
869 phar_entry_info *entry = (phar_entry_info *)pDest, *metadata, newentry = {0}; local
922 phar_entry_info entry = {0}; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dphp_spl.c810 int spl_build_class_list_string(zval **entry, char **list TSRMLS_DC) /* {{{ */ argument
814 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_PP(entry));
H A Dspl_directory.h78 php_stream_dirent entry; member in struct:_spl_filesystem_object::__anon215::__anon216
/PHP_TRUNK/ext/standard/
H A Ddir.c399 Read directory entry from dir_handle */
404 php_stream_dirent entry; local
413 if (php_stream_readdir(dirp, &entry)) {
414 RETURN_STRINGL(entry.d_name, strlen(entry.d_name), 1);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_close.c132 if (za->entry[i].deleted)
168 struct zip_entry *entry;
172 entry = za->entry+i;
174 new_data = (ZIP_ENTRY_DATA_CHANGED(entry) || new_torrentzip || ZIP_ENTRY_CHANGED(entry, ZIP_DIRENT_COMP_METHOD));
176 /* create new local directory entry */
177 if (entry->changes == NULL) {
178 if ((entry->changes=_zip_dirent_clone(entry
165 struct zip_entry *entry; local
[all...]
/PHP_TRUNK/main/
H A Dphp_scandir.c60 PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b)) argument
66 char entry[sizeof(struct dirent)+MAXPATHLEN]; local
67 struct dirent *dp = (struct dirent *)&entry;
77 while (!php_readdir_r(dirp, (struct dirent *)entry, &dp) && dp) {
H A Dreentrancy.c128 PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry, argument
138 entry->d_name[0] = '\0';
139 readdir_r(dirp, entry);
141 if (entry->d_name[0] == '\0') {
145 *result = entry;
162 memcpy(entry, ptr, sizeof(*ptr));
/PHP_TRUNK/ext/readline/
H A Dreadline.c445 zval **entry; local
451 while (zend_hash_get_current_data(myht, (void **)&entry) == SUCCESS) {
454 convert_to_string_ex(entry);
455 if (strncmp (Z_STRVAL_PP(entry), text, strlen(text)) == 0) {
456 return (strdup(Z_STRVAL_PP(entry)));
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_warning.c139 zval **entry; local
153 zend_hash_get_current_data(Z_ARRVAL_P(row), (void **)&entry);
154 convert_to_long_ex(entry);
155 errno = Z_LVAL_PP(entry);
159 zend_hash_get_current_data(Z_ARRVAL_P(row), (void **)&entry);
161 w = php_new_warning(*entry, errno TSRMLS_CC);
163 Don't destroy entry, because the row destroy will decrease
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_result.c1911 zval **entry; local
1930 zend_hash_get_current_data(Z_ARRVAL(row), (void **)&entry);
1933 zend_hash_get_current_data(Z_ARRVAL(row), (void **)&entry);
1935 *return_value = **entry;
/PHP_TRUNK/ext/session/
H A Dmod_files.c187 struct dirent *entry = (struct dirent *) &dentry; local
208 while (php_readdir_r(dir, (struct dirent *) dentry, &entry) == 0 && entry) {
210 if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) {
211 size_t entry_len = strlen(entry->d_name);
216 memcpy(buf + dirname_len + 1, entry->d_name, entry_len);

Completed in 47 milliseconds

123