Searched refs:str_key (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc548 foreach($string_keys as $str_key)
550 if($stat[$key] != $stat[$str_key]) {
551 echo "Error: stat[$key] doesn't match with stat[$str_key]\n";
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c2270 zend_string *str_key; local
2273 ZEND_HASH_FOREACH_KEY_PTR(type->attributes, index, str_key, attr) {
2274 if (str_key) {
H A Dphp_encoding.c1973 zend_string *str_key; local
1976 ZEND_HASH_FOREACH_STR_KEY_VAL_IND(prop, str_key, zprop) {
1980 if (str_key) {
1986 zend_unmangle_property_name(str_key, &class_name, &prop_name);
1988 prop_name = str_key->val;
/PHP_TRUNK/ext/phar/
H A Ddirstream.c97 zend_string *str_key; local
100 if (HASH_KEY_NON_EXISTENT == zend_hash_get_current_key(data, &str_key, &unused)) {
105 to_read = MIN(str_key->len, count);
107 if (to_read == 0 || count < str_key->len) {
112 memcpy(((php_stream_dirent *) buf)->d_name, str_key->val, to_read);
185 zend_string *str_key; local
202 if (HASH_KEY_NON_EXISTENT == zend_hash_get_current_key(manifest, &str_key, &unused)) {
206 keylen = str_key->len;
208 if (keylen < (uint)dirlen || !strncmp(str_key->val, dir, dirlen)) {
218 if (keylen >= sizeof(".phar")-1 && !memcmp(str_key
308 zend_string *str_key; local
551 zend_string *str_key; local
[all...]
H A Dphar.c1960 zend_string *str_key; local
1964 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key(&(PHAR_G(phar_fname_map)), &str_key, &unused);
1967 if (str_key->len > (uint) filename_len) {
1971 if (!memcmp(filename, str_key->val, str_key->len) && ((uint)filename_len == str_key->len
1972 || filename[str_key->len] == '/' || filename[str_key->len] == '\0')) {
1976 *ext_str = filename + (str_key->len - pphar->ext_len);
1983 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key(&cached_phars, &str_key,
[all...]
H A Dstream.c629 zend_string *str_key; local
631 ZEND_HASH_FOREACH_STR_KEY(&phar->mounted_dirs, str_key) {
632 if ((int)str_key->len >= internal_file_len || strncmp(str_key->val, internal_file, str_key->len)) {
639 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) {
645 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + str_key->len);
896 zend_string *str_key; local
902 str_key = b->key;
905 str_key
[all...]
H A Dutil.c1297 zend_string *str_key; local
1299 ZEND_HASH_FOREACH_STR_KEY(&phar->mounted_dirs, str_key) {
1300 if ((int)str_key->len >= path_len || strncmp(str_key->val, path, str_key->len)) {
1307 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) {
1309 spprintf(error, 4096, "phar internal error: mounted path \"%s\" could not be retrieved from manifest", str_key->val);
1316 spprintf(error, 4096, "phar internal error: mounted path \"%s\" is not properly initialized as a mounted path", str_key->val);
1321 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, path + str_key->len);
H A Dphar_object.c1423 char *str_key; local
1465 str_key = estrndup(Z_STRVAL(key), str_key_len);
1467 save = str_key;
1560 str_key = fname + base_len;
1562 if (*str_key == '/' || *str_key == '\\') {
1563 str_key++;
1593 str_key = estrndup(Z_STRVAL(key), str_key_len);
1595 save = str_key;
1649 if (str_key_len >= sizeof(".phar")-1 && !memcmp(str_key, "
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregint.h795 extern int onig_st_lookup_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end_key, hash_data_type *value));
796 extern int onig_st_insert_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end_key, hash_data_type value));
H A Dregparse.c362 onig_st_lookup_strend(hash_table_type* table, const UChar* str_key, argument
367 key.s = (UChar* )str_key;
374 onig_st_insert_strend(hash_table_type* table, const UChar* str_key, argument
381 key->s = (UChar* )str_key;
/PHP_TRUNK/ext/standard/
H A Dstring.c3007 zend_string *str_key; local
3024 ZEND_HASH_FOREACH_KEY(pats, num_key, str_key) {
3025 if (UNEXPECTED(!str_key)) {
3028 len = str_key->len;
3043 bitset[((unsigned char)str_key->val[0]) / sizeof(zend_ulong)] |= Z_UL(1) << (((unsigned char)str_key->val[0]) % sizeof(zend_ulong));
3050 ZEND_HASH_FOREACH_KEY_VAL(pats, num_key, str_key, entry) {
3051 if (UNEXPECTED(!str_key)) {
3054 str_key = Z_STR(tmp);
3055 len = str_key
3498 zend_string *str_key, *replace; local
[all...]
H A Darray.c4858 zend_string *str_key; local
4875 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(arrays[0]), num_key, str_key, zv) { local
4890 if (str_key) {
4891 zend_hash_add_new(Z_ARRVAL_P(return_value), str_key, &result); local
5042 zend_string *str_key; local
5068 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, str_key, entry) { local
5076 if (str_key) {
5077 entry = zend_hash_update(Z_ARRVAL(chunk), str_key, entry);
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c391 zend_string *str_key = NULL; local
393 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), long_key, str_key, attr_value) { local
394 if (str_key) {
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c195 static int zend_user_it_get_current_key_default(zend_object_iterator *_iter, char **str_key, uint *str_key_len, ulong *int_key)

Completed in 63 milliseconds