Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 25 of 31) sorted by last modified time

12

/php-src/ext/dom/
H A Dphp_dom.c1366 if (doc != NULL && (tmp = xmlDictExists(doc->dict, (const xmlChar *)local, len)) != NULL) { in dom_namednode_iter()
1382 if (doc != NULL && (tmp = xmlDictExists(doc->dict, (const xmlChar *)ns, len)) != NULL) { in dom_namednode_iter()
2619 lxml_doc->dict = xmlDictCreate(); in php_dom_create_html_doc()
2627 lxml_doc->dict = xmlDictCreate(); in php_dom_create_html_doc()
H A Ddocument.c917 const xmlChar *interned_localname = xmlDictLookup(docp->dict, localname, -1); in PHP_METHOD()
1106 if (src_doc != NULL && dst_doc != src_doc && src_doc->dict != NULL) { in libxml_fixup_name_and_content()
1107 node->name = libxml_copy_dicted_string(src_doc->dict, dst_doc->dict, BAD_CAST node->name); in libxml_fixup_name_and_content()
1108 node->content = libxml_copy_dicted_string(src_doc->dict, NULL, node->content); in libxml_fixup_name_and_content()
H A Dhtml5_parser.c190 lxml_attr->name = xmlDictLookup(lxml_doc->dict, local_name, local_name_length); in lexbor_libxml2_bridge_convert()
/php-src/ext/libxml/
H A Dlibxml.c205 xmlDictPtr dict = entity->doc != NULL ? entity->doc->dict : NULL; in php_libxml_node_free() local
206 if (dict == NULL || !xmlDictOwns(dict, entity->name)) { in php_libxml_node_free()
209 if (dict == NULL || !xmlDictOwns(dict, entity->ExternalID)) { in php_libxml_node_free()
212 if (dict == NULL || !xmlDictOwns(dict, entity->SystemID)) { in php_libxml_node_free()
215 if (dict == NULL || !xmlDictOwns(dict, entity->URI)) { in php_libxml_node_free()
218 if (dict == NULL || !xmlDictOwns(dict, entity->content)) { in php_libxml_node_free()
221 if (dict == NULL || !xmlDictOwns(dict, entity->orig)) { in php_libxml_node_free()
/php-src/ext/xml/
H A Dxml.c277 xmlDictSetLimit(parser->parser->parser->dict, 0); in xml_parse_helper()
280 xmlDictSetLimit(parser->parser->parser->dict, XML_MAX_DICTIONARY_LIMIT); in xml_parse_helper()
/php-src/ext/zlib/
H A Dzlib.c797 *dict = emalloc(ZSTR_LEN(str)); in zlib_create_dictionary_string()
798 memcpy(*dict, ZSTR_VAL(str), ZSTR_LEN(str)); in zlib_create_dictionary_string()
842 dictptr = *dict = emalloc(*dictlen); in zlib_create_dictionary_string()
869 char *dict = NULL; in PHP_FUNCTION() local
886 if (!zlib_create_dictionary_string(options, &dict, &dictlen)) { in PHP_FUNCTION()
905 ctx->inflateDict = dict; in PHP_FUNCTION()
1087 char *dict = NULL; in PHP_FUNCTION() local
1135 if (!zlib_create_dictionary_string(options, &dict, &dictlen)) { in PHP_FUNCTION()
1167 if (dict) { in PHP_FUNCTION()
1168 int success = deflateSetDictionary(&ctx->Z, (Bytef *) dict, dictlen); in PHP_FUNCTION()
[all …]
/php-src/sapi/fuzzer/
H A DREADME.md49 sapi/fuzzer/php-fuzz-unserialize -dict=$PWD/sapi/fuzzer/dict/unserialize ./my-unserialize-corpus
80 sapi/fuzzer/php-fuzz-mbstring -dict=$PWD/sapi/fuzzer/dict/mbstring ./my-mbstring-corpus
H A Dgenerate_unserialize_dict.php3 $dict = ""; variable
6 $dict .= "\"$len:\\\"" . addslashes($class) . "\\\"\"\n";
9 file_put_contents(__DIR__ . "/dict/unserialize", $dict);
H A Dgenerate_mbstring_dict.php8 $dict = ""; variable
10 $dict .= "\"" . $encoding . ",\"\n";
12 file_put_contents(__DIR__ . "/dict/mbstring", $dict);
/php-src/.github/scripts/windows/
H A Dtest_task.bat99 …l -Command wget http://windows.php.net/downloads/qa/appveyor/ext/enchant/dict.zip -OutFile dict.zip
100 unzip dict.zip
101 del /q dict.zip
/php-src/ext/enchant/
H A Denchant.c181 dict->pdict = NULL; in php_enchant_dict_free()
438 enchant_dict *dict; in PHP_FUNCTION() local
505 zval *dict; in PHP_FUNCTION() local
640 zval *dict; in PHP_FUNCTION() local
658 zval *dict; in PHP_FUNCTION() local
688 zval *dict; in PHP_FUNCTION() local
706 zval *dict; in PHP_FUNCTION() local
724 zval *dict; in PHP_FUNCTION() local
745 zval *dict; in PHP_FUNCTION() local
764 zval *dict; in PHP_FUNCTION() local
[all …]
/php-src/ext/zlib/tests/
H A Ddictionary_usage.phpt8 $dict = range("a", "z");
10 $r = deflate_init(ZLIB_ENCODING_DEFLATE, ["dictionary" => $dict]);
14 $r = deflate_init(ZLIB_ENCODING_DEFLATE, ["dictionary" => implode("\0", $dict)."\0"]);
18 $r = inflate_init(ZLIB_ENCODING_DEFLATE, ["dictionary" => $dict]);
/php-src/ext/enchant/tests/
H A Dbroker_free_02.phpt41 echo("broker dict free failed\n");
44 echo("dict add to personal failed\n");
47 echo("broker request dict failed\n");
H A Dbroker_free_dict.phpt2 enchant_broker_free_dict(resource $dict); function
32 echo("dict broker free has failed\n");
36 echo("dict add to personal failed\n");
40 echo("broker request dict failed\n");
H A Dbroker_request_dict.phpt19 $dict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']);
21 if (is_object($dict)) {
H A Dbroker_request_dict_01.phpt18 $dict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']);
19 if (is_object($dict)) {
H A Dbroker_request_pwl_dict.phpt27 echo("broker dict describe is not a resource failed\n");
30 echo("dict broker request pwl has failed\n");
H A Ddict_add_to_personal.phpt30 echo("dict add to personal failed\n");
34 echo("broker request dict failed\n");
H A Ddict_add_to_session.phpt29 echo("dict add to session failed\n");
34 echo("broker request dict failed\n");
H A Ddict_check.phpt30 echo("dict check new word failed\n");
34 echo("broker request dict failed\n");
H A Ddict_describe.phpt29 echo("broker request dict failed\n");
32 echo("broker request dict failed\n");
H A Ddict_get_error.phpt24 echo("broker request dict failed\n");
H A Ddict_is_in_session.phpt29 echo("dict add to personal failed\n");
32 echo("broker request dict failed\n");
H A Ddict_quick_check_01.phpt28 echo("dict quick check failed\n");
31 echo("broker request dict failed\n");
H A Ddict_store_replacement.phpt30 echo("dict add to personal failed\n");
33 echo("broker request dict failed\n");

Completed in 61 milliseconds

12