Searched defs:entry (Results 1 - 25 of 65) 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/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...]
H A Dzip_dirent.c2 zip_dirent.c -- read directory entry (local or central), clean dirent
63 _zip_entry_finalize(cd->entry+i);
64 free(cd->entry);
75 struct zip_entry *entry;
86 if ((entry=((struct zip_entry *)
87 realloc(cd->entry, sizeof(*(cd->entry))*(size_t)nentry))) == NULL) {
93 _zip_entry_init(entry+i);
96 cd->entry = entry;
72 struct zip_entry *entry; local
150 struct zip_entry *entry = za->entry+filelist[i].idx; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_get.c117 pcre_uchar *entry = nametable + entrysize*mid; local
119 (pcre_uchar *)(entry + IMM2_SIZE));
120 if (c == 0) return GET2(entry, 0);
139 firstptr where to put the pointer to the first entry
140 lastptr where to put the pointer to the last entry
142 Returns: the length of each entry, or a negative number
201 pcre_uchar *entry = nametable + entrysize*mid; local
203 (pcre_uchar *)(entry + IMM2_SIZE));
206 pcre_uchar *first = entry;
207 pcre_uchar *last = entry;
270 pcre_uchar *entry; local
[all...]
H A Dpcre_printint.c431 pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) + local
434 print_puchar(f, entry);
449 pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) + local
452 print_puchar(f, entry);
615 pcre_uchar *entry = (pcre_uchar *)re + offset + (GET2(code, 1) * size) + local
618 print_puchar(f, entry);
/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; local
227 /* the entry has a path separator and is a subdirectory */
228 entry = (char *) safe_emalloc(found - str_key->val, 1, 1);
229 memcpy(entry, str_key->val, found - str_key->val);
231 entry[keylen] = '\0';
233 entry = (char *) safe_emalloc(keylen, 1, 1);
234 memcpy(entry, str_key->val, keylen);
235 entry[keylen] = '\0';
241 /* entry in directory not found */
262 entry
311 phar_entry_info *entry = NULL; local
414 phar_entry_info entry, *e; local
546 phar_entry_info *entry; 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;
257 phar_entry_info *entry; local
259 entry = (phar_entry_info *) ecalloc(1, sizeof(phar_entry_info));
260 entry->is_temp_dir = 1;
261 entry->filename = estrndup("", 0);
262 entry->filename_len = 0;
263 entry
319 char *entry = idata->internal_file->filename, *cwd; local
362 phar_entry_info *entry; local
392 phar_entry_info *entry; local
571 phar_entry_info *entry; local
753 phar_entry_info *entry; local
[all...]
/PHP_TRUNK/ext/dom/
H A Ddom_iterators.c184 zval *entry; local
202 if ((entry = zend_hash_get_current_data(nodeht))) {
203 ZVAL_COPY(&iterator->curobj, entry);
256 zval *entry; local
278 if ((entry = zend_hash_get_current_data(nodeht))) {
279 ZVAL_COPY(&iterator->curobj, entry);
H A Dxpath.c517 zval *array_value, *entry, new_string; local
525 while ((entry = zend_hash_get_current_data(Z_ARRVAL_P(array_value)))) {
526 zend_string *str = zval_get_string(entry);
H A Dnodelist.c135 zval *entry = zend_hash_index_find(nodeht, index); local
136 if (entry) {
137 ZVAL_COPY(return_value, entry);
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c319 const char * entry; local
345 while ((entry = uenum_next( icuenum, &entry_len, &icuerror ))) {
346 add_next_index_stringl( return_value, (char *) entry, entry_len);
408 * Every 'ResourceBundle' class method has an entry in this table
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_result.c1815 zval *entry; local
1836 entry = zend_hash_get_current_data(Z_ARRVAL(row));
1838 ZVAL_COPY(return_value, entry);
/PHP_TRUNK/ext/readline/
H A Dreadline.c447 zval *entry; local
453 while ((entry = zend_hash_get_current_data(myht)) != NULL) {
456 convert_to_string_ex(entry);
457 if (strncmp (Z_STRVAL_P(entry), text, strlen(text)) == 0) {
458 return (strdup(Z_STRVAL_P(entry)));
/PHP_TRUNK/ext/session/
H A Dmod_files.c189 struct dirent *entry = (struct dirent *) &dentry; local
210 while (php_readdir_r(dir, (struct dirent *) dentry, &entry) == 0 && entry) {
212 if (!strncmp(entry->d_name, FILE_PREFIX, sizeof(FILE_PREFIX) - 1)) {
213 size_t entry_len = strlen(entry->d_name);
218 memcpy(buf + dirname_len + 1, entry->d_name, entry_len);
/PHP_TRUNK/ext/sockets/
H A Dsendrecvmsg.c95 ancillary_reg_entry entry; local
102 entry.size = sizev; \
103 entry.var_el_size = var_size; \
104 entry.calc_space = calc; \
105 entry.from_array = from; \
106 entry.to_array = to; \
109 zend_hash_str_update_mem(&ancillary_registry.ht, (char*)&key, sizeof(key) - 1, (void*)&entry, sizeof(entry))
147 ancillary_reg_entry *entry; local
159 if ((entry
279 ancillary_reg_entry *entry; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h77 php_stream_dirent entry; member in struct:_spl_filesystem_object::__anon210::__anon211
H A Dphp_spl.c777 int spl_build_class_list_string(zval *entry, char **list TSRMLS_DC) /* {{{ */ argument
781 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_P(entry));
/PHP_TRUNK/main/
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));
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) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_warning.c135 zval *entry; local
148 entry = zend_hash_get_current_data(Z_ARRVAL(row));
149 convert_to_long_ex(entry);
150 errno = Z_LVAL_P(entry);
154 entry = zend_hash_get_current_data(Z_ARRVAL(row));
156 w = php_new_warning(entry, errno TSRMLS_CC);
158 Don't destroy entry, because the row destroy will decrease
/PHP_TRUNK/Zend/
H A Dzend_ini.c58 and would lead to memory corruption later ini entry is modified again */
89 zend_ini_entry *entry = (zend_ini_entry*)Z_PTR_P(zv); local
91 zend_string_release(entry->name);
92 if (entry->value) {
93 zend_string_release(entry->value);
95 if (entry->orig_value) {
96 zend_string_release(entry->orig_value);
98 free(entry);
/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/standard/
H A Ddir.c401 Read directory entry from dir_handle */
406 php_stream_dirent entry; local
415 if (php_stream_readdir(dirp, &entry)) {
416 RETURN_STRINGL(entry.d_name, strlen(entry.d_name));

Completed in 87 milliseconds

123