Searched defs:str_key (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/ext/phar/
H A Ddirstream.c97 char *str_key; local
101 if (HASH_KEY_NON_EXISTENT == zend_hash_get_current_key_ex(data, &str_key, &keylen, &unused, 0, NULL)) {
113 memcpy(((php_stream_dirent *) buf)->d_name, str_key, to_read);
184 char *entry, *found, *save, *str_key; local
201 if (HASH_KEY_NON_EXISTENT == zend_hash_get_current_key_ex(manifest, &str_key, &keylen, &unused, 0, NULL)) {
206 if (keylen < (uint)dirlen || !strncmp(str_key, dir, dirlen)) {
216 if (keylen >= sizeof(".phar")-1 && !memcmp(str_key, ".phar", sizeof(".phar")-1)) {
224 if (NULL != (found = (char *) memchr(str_key, '/', keylen))) {
226 entry = (char *) safe_emalloc(found - str_key, 1, 1);
227 memcpy(entry, str_key, foun
305 char *internal_file, *error, *str_key; local
550 char *str_key; local
[all...]
H A Dphar.c1957 char *str_key; local
1962 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key_ex(&(PHAR_GLOBALS->phar_fname_map), &str_key, &keylen, &unused, 0, NULL);
1969 if (!memcmp(filename, str_key, keylen) && ((uint)filename_len == keylen
1981 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key_ex(&cached_phars, &str_key, &keylen, &unused, 0, NULL);
1988 if (!memcmp(filename, str_key, keylen) && ((uint)filename_len == keylen
H A Dstream.c630 char *str_key; local
636 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key_ex(&phar->mounted_dirs, &str_key, &keylen, &unused, 0, &pos);
639 if ((int)keylen >= internal_file_len || strncmp(str_key, internal_file, keylen)) {
646 if (SUCCESS != zend_hash_find(&phar->manifest, str_key, keylen, (void **) &entry)) {
905 char *str_key, *new_str_key; local
912 HASH_KEY_NON_EXISTENT != (key_type = zend_hash_get_current_key_ex(&phar->manifest, &str_key, &key_len, &unused, 0, NULL)) &&
918 memcmp(str_key, resource_from->path+1, from_len) == 0 &&
919 IS_SLASH(str_key[from_len])) {
924 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len);
938 HASH_KEY_NON_EXISTENT != (key_type = zend_hash_get_current_key_ex(&phar->virtual_dirs, &str_key,
[all...]
H A Dutil.c1302 char *str_key; local
1308 if (HASH_KEY_NON_EXISTENT == zend_hash_get_current_key_ex(&phar->mounted_dirs, &str_key, &keylen, &unused, 0, NULL)) {
1312 if ((int)keylen >= path_len || strncmp(str_key, path, keylen)) {
1319 if (SUCCESS != zend_hash_find(&phar->manifest, str_key, keylen, (void **) &entry)) {
1321 spprintf(error, 4096, "phar internal error: mounted path \"%s\" could not be retrieved from manifest", str_key);
1328 spprintf(error, 4096, "phar internal error: mounted path \"%s\" is not properly initialized as a mounted path", str_key);
H A Dphar_object.c1427 char *str_key; local
1470 str_key = estrndup(Z_STRVAL(key), str_key_len);
1472 save = str_key;
1565 str_key = fname + base_len;
1567 if (*str_key == '/' || *str_key == '\\') {
1568 str_key++;
1598 str_key = estrndup(Z_STRVAL(key), str_key_len);
1600 save = str_key;
1654 if (str_key_len >= sizeof(".phar")-1 && !memcmp(str_key, "
[all...]
/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;
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c407 char *str_key; local
412 && HASH_KEY_IS_LONG == zend_hash_get_current_key(Z_ARRVAL_P(options), &str_key, &long_key, 0)) {
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c2053 char *str_key; local
2058 key_type = zend_hash_get_current_key_ex(prop, &str_key, &str_key_len, &index, FALSE, NULL);
2069 zend_unmangle_property_name(str_key, str_key_len-1, &class_name, &prop_name);
2071 prop_name = str_key;
/PHP_TRUNK/Zend/
H A Dzend_vm_def.h4407 char *str_key; variable
4412 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
4415 zend_check_property_access(zobj, str_key, str_key_len-1 TSRMLS_CC) == SUCCESS)) {
4464 char *str_key; variable
4475 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
4479 zend_check_property_access(zobj, str_key, str_key_len - 1 TSRMLS_CC) != SUCCESS);
4488 str_key, str_key_len - 1, &class_name, &prop_name, &prop_name_len
H A Dzend_vm_execute.h3165 char *str_key; local
3170 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
3173 zend_check_property_access(zobj, str_key, str_key_len-1 TSRMLS_CC) == SUCCESS)) {
8519 char *str_key; local
8524 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
8527 zend_check_property_access(zobj, str_key, str_key_len-1 TSRMLS_CC) == SUCCESS)) {
13888 char *str_key; local
13893 key_type = zend_hash_get_current_key_ex(fe_ht, &str_key, &str_key_len, &int_key, 0, NULL);
13896 zend_check_property_access(zobj, str_key, str_key_len-1 TSRMLS_CC) == SUCCESS)) {
13945 char *str_key; local
31485 char *str_key; local
[all...]
/PHP_TRUNK/ext/standard/
H A Darray.c4232 char *str_key; local
4251 key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(args[0]), &str_key, &str_key_len, &num_key, 0, &array_pos[i]);
4286 add_assoc_zval_ex(return_value, str_key, str_key_len, result);
4342 char *str_key; local
4380 key_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(input), &str_key, &str_key_len, &num_key, 0, &pos);
4383 add_assoc_zval_ex(chunk, str_key, str_key_len, *entry);

Completed in 101 milliseconds