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

/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/phar/
H A Ddirstream.c97 zend_string *str_key; local
100 if (HASH_KEY_NON_EXISTENT == zend_hash_get_current_key_ex(data, &str_key, &unused, 0, &data->nInternalPointer)) {
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_ex(manifest, &str_key, &unused, 0, &manifest->nInternalPointer)) {
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
552 zend_string *str_key; local
[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.c1298 zend_string *str_key; local
1300 ZEND_HASH_FOREACH_STR_KEY(&phar->mounted_dirs, str_key) {
1301 if ((int)str_key->len >= path_len || strncmp(str_key->val, path, str_key->len)) {
1308 if (NULL == (entry = zend_hash_find_ptr(&phar->manifest, str_key))) {
1310 spprintf(error, 4096, "phar internal error: mounted path \"%s\" could not be retrieved from manifest", str_key->val);
1317 spprintf(error, 4096, "phar internal error: mounted path \"%s\" is not properly initialized as a mounted path", str_key->val);
1322 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, path + str_key->len);
H A Dphar_object.c1402 char *str_key; local
1445 str_key = estrndup(Z_STRVAL(key), str_key_len);
1447 save = str_key;
1540 str_key = fname + base_len;
1542 if (*str_key == '/' || *str_key == '\\') {
1543 str_key++;
1573 str_key = estrndup(Z_STRVAL(key), str_key_len);
1575 save = str_key;
1629 if (str_key_len >= sizeof(".phar")-1 && !memcmp(str_key, "
[all...]
H A Dphar.c1962 zend_string *str_key; local
1966 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key_ex(&(PHAR_GLOBALS->phar_fname_map), &str_key, &unused, 0, &PHAR_GLOBALS->phar_fname_map.nInternalPointer);
1969 if (str_key->len > (uint) filename_len) {
1973 if (!memcmp(filename, str_key->val, str_key->len) && ((uint)filename_len == str_key->len
1974 || filename[str_key->len] == '/' || filename[str_key->len] == '\0')) {
1978 *ext_str = filename + (str_key->len - pphar->ext_len);
1985 HASH_KEY_NON_EXISTENT != zend_hash_get_current_key_ex(&cached_phars, &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.c1966 zend_string *str_key; local
1969 ZEND_HASH_FOREACH_STR_KEY_VAL_IND(prop, str_key, zprop) {
1973 if (str_key) {
1979 zend_unmangle_property_name(str_key, &class_name, &prop_name);
1981 prop_name = str_key->val;
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c389 zend_string *str_key = NULL; local
391 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), long_key, str_key, attr_value) { local
392 if (str_key) {
/PHP_TRUNK/ext/standard/
H A Darray.c4487 zend_string *str_key; local
4504 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL(arrays[0]), num_key, str_key, zv) { local
4520 if (str_key) {
4521 zend_hash_add_new(Z_ARRVAL_P(return_value), str_key, &result); local
4673 zend_string *str_key; local
4699 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(input), num_key, str_key, entry) { local
4709 if (str_key) {
4710 zend_hash_update(Z_ARRVAL(chunk), str_key, entry); local
H A Dstring.c2800 zend_string *str_key; local
2815 ZEND_HASH_FOREACH_KEY(pats, num_key, str_key) {
2816 if (UNEXPECTED(!str_key)) {
2819 len = str_key->len;
2840 ZEND_HASH_FOREACH_KEY_VAL(pats, num_key, str_key, entry) {
2841 if (UNEXPECTED(!str_key)) {
2844 str_key = Z_STR(tmp);
2845 len = str_key->len;
2860 len = str_key->len;
2866 zend_hash_add(&str_hash, str_key, entr
[all...]

Completed in 49 milliseconds