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/mbstring/oniguruma/
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;
H A Dregint.h804 extern int onig_st_lookup_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end_key, hash_data_type *value));
805 extern int onig_st_insert_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end_key, hash_data_type value));
/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(ZSTR_LEN(str_key), count);
107 if (to_read == 0 || count < ZSTR_LEN(str_key)) {
112 memcpy(((php_stream_dirent *) buf)->d_name, ZSTR_VAL(str_key), 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 = ZSTR_LEN(str_key);
208 if (keylen < (uint)dirlen || !strncmp(ZSTR_VAL(str_key), dir, dirlen)) {
218 if (keylen >= sizeof(".phar")-1 && !memcmp(ZSTR_VAL(str_key), "
308 zend_string *str_key; local
551 zend_string *str_key; local
[all...]
H A Dutil.c1297 zend_string *str_key; local
1299 ZEND_HASH_FOREACH_STR_KEY(&phar->mounted_dirs, str_key) {
1300 if ((int)ZSTR_LEN(str_key) >= path_len || strncmp(ZSTR_VAL(str_key), path, ZSTR_LEN(str_key))) {
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", ZSTR_VAL(str_key));
1316 spprintf(error, 4096, "phar internal error: mounted path \"%s\" is not properly initialized as a mounted path", ZSTR_VAL(str_key));
1321 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, path + ZSTR_LEN(str_key));
H A Dstream.c633 zend_string *str_key; local
635 ZEND_HASH_FOREACH_STR_KEY(&phar->mounted_dirs, str_key) {
636 if ((int)ZSTR_LEN(str_key) >= internal_file_len || strncmp(ZSTR_VAL(str_key), internal_file, ZSTR_LEN(str_key))) {
643 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) {
649 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + ZSTR_LEN(str_key));
900 zend_string *str_key; local
906 str_key = b->key;
909 ZSTR_LEN(str_key) > from_le
[all...]
H A Dphar.c1958 zend_string *str_key; local
1962 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key(&(PHAR_G(phar_fname_map)), &str_key, &unused);
1965 if (ZSTR_LEN(str_key) > (uint) filename_len) {
1969 if (!memcmp(filename, ZSTR_VAL(str_key), ZSTR_LEN(str_key)) && ((uint)filename_len == ZSTR_LEN(str_key)
1970 || filename[ZSTR_LEN(str_key)] == '/' || filename[ZSTR_LEN(str_key)] == '\0')) {
1974 *ext_str = filename + (ZSTR_LEN(str_key) - pphar->ext_len);
1981 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key(&cached_phars, &str_key,
[all...]
H A Dphar_object.c1412 char *str_key; local
1454 str_key = estrndup(Z_STRVAL(key), str_key_len);
1456 save = str_key;
1549 str_key = fname + base_len;
1551 if (*str_key == '/' || *str_key == '\\') {
1552 str_key++;
1582 str_key = estrndup(Z_STRVAL(key), str_key_len);
1584 save = str_key;
1638 if (str_key_len >= sizeof(".phar")-1 && !memcmp(str_key, "
[all...]
/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.c1962 zend_string *str_key; local
1965 ZEND_HASH_FOREACH_STR_KEY_VAL_IND(prop, str_key, zprop) {
1969 if (str_key) {
1975 zend_unmangle_property_name(str_key, &class_name, &prop_name);
1977 prop_name = ZSTR_VAL(str_key);
/PHP_TRUNK/Zend/
H A Dzend_interfaces.c198 static int zend_user_it_get_current_key_default(zend_object_iterator *_iter, char **str_key, uint *str_key_len, ulong *int_key)
/PHP_TRUNK/ext/standard/
H A Dstring.c2994 zend_string *str_key; local
3011 ZEND_HASH_FOREACH_STR_KEY(pats, str_key) {
3012 if (UNEXPECTED(!str_key)) {
3015 len = ZSTR_LEN(str_key);
3030 bitset[((unsigned char)ZSTR_VAL(str_key)[0]) / sizeof(zend_ulong)] |= Z_UL(1) << (((unsigned char)ZSTR_VAL(str_key)[0]) % sizeof(zend_ulong));
3038 ZEND_HASH_FOREACH_KEY_VAL(pats, num_key, str_key, entry) {
3039 if (UNEXPECTED(!str_key)) {
3056 key_used = str_key;
3064 if (UNEXPECTED(!str_key)) {
3462 zend_string *str_key, *replace; local
[all...]
H A Darray.c4835 zend_string *str_key; local
4852 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(arrays[0]), num_key, str_key, zv) { local
4867 if (str_key) {
4868 zend_hash_add_new(Z_ARRVAL_P(return_value), str_key, &result); local
5019 zend_string *str_key; local
5045 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, str_key, entry) { local
5053 if (str_key) {
5054 entry = zend_hash_update(Z_ARRVAL(chunk), str_key, entry);
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c379 zend_string *str_key = NULL; local
381 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), long_key, str_key, attr_value) { local
382 if (str_key) {

Completed in 52 milliseconds