Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/php-src/ext/standard/tests/array/array_walk/
H A Dbug34066_1.phpt246 print "gen_xml(prefix=$prefix)\n";
264 print "gen_xml(prefix=$prefix) end\n";
269 gen_xml(prefix=/Docs/)
272 gen_xml(prefix=/Docs/)
275 gen_xml(prefix=/Docs/)
278 gen_xml(prefix=/Docs/)
281 gen_xml(prefix=/Docs/)
284 gen_xml(prefix=/Docs/)
287 gen_xml(prefix=/Docs/)
290 gen_xml(prefix=/Docs/)
[all …]
H A Dbug34066.phpt246 print "gen_xml(prefix=$prefix)\n";
264 print "gen_xml(prefix=$prefix) end\n";
269 gen_xml(prefix=/Docs/)
270 gen_xml(prefix=/Docs/@)
273 gen_xml(prefix=/Docs/@)
276 gen_xml(prefix=/Docs/@)
279 gen_xml(prefix=/Docs/@)
282 gen_xml(prefix=/Docs/) end
283 gen_xml(prefix=/Docs/)
295 gen_xml(prefix=/Docs/) end
[all …]
/php-src/ext/standard/tests/file/
H A Dsymlink_to_symlink.phpt11 $prefix = __FILE__;
13 touch($prefix . "_file");
16 symlink(basename($prefix . "_file"), $prefix . "_link1");
19 symlink(basename($prefix . "_link1"), $prefix . "_link2");
23 symlink(basename($prefix . "_nonexistent"), $prefix . "_link3");
26 symlink($prefix . "_file", $prefix . "_link4");
29 symlink($prefix . "_link4", $prefix . "_link5");
37 unlink($prefix . "_link5");
38 unlink($prefix . "_link4");
39 unlink($prefix . "_link3");
[all …]
/php-src/ext/dba/
H A Dinstall_cdb.sh18 prefix=$1
20 if test -z "$prefix"; then
21 prefix=/usr/local
24 echo "Using prefix $prefix"
26 if mkdir -p "$prefix/include" "$prefix/lib"; then
43 ar r "$prefix/lib/libcdb.a" *
44 ranlib "$prefix/lib/libcdb.a"
49 cp cdb.h uint32.h "$prefix/include"
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_readdir_mb_names.phpt19 $prefix = create_data("mb_names");
23 create_verify_file($prefix, "š.txt", "");
25 create_verify_file($prefix, "Voláçao", "hola");
26 create_verify_file($prefix, "Ελλάδα.txt", "");
31 create_verify_dir($prefix, "tschüß3");
32 create_verify_dir($prefix, "Voláçao3");
33 create_verify_dir($prefix, "привет3");
34 create_verify_dir($prefix, "テストマルチバイト・パス42");
35 create_verify_dir($prefix, "測試多字節路徑5");
36 create_verify_dir($prefix, "żółć");
[all …]
H A Dutil_utf8.inc5 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . $id;
7 if (!is_dir($prefix)) {
8 mkdir($prefix);
24 create_verify_file($prefix, $item, $content);
28 create_verify_file($prefix, "š.txt", "");
38 create_verify_file($prefix, $item, "hola");
42 create_verify_file($prefix, "Ελλάδα.txt", "");
67 create_verify_dir($prefix, "テストマルチバイト・パス42");
85 create_verify_dir($prefix, $item, $cp);
89 create_verify_file($prefix, $item, "", $cp);
[all …]
H A Dbug54977.phpt19 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "testBug54977" . DIRECTORY_SEPARATOR;
23 mkdir($prefix);
25 mkdir($prefix . $d);
26 file_put_contents($prefix . $d . ".test", $d);
29 $myDirectory = opendir($prefix);
31 echo get_basename_with_cp($prefix . $entryName, 65001, false) . "\n";
36 rmdir($prefix . $d);
37 unlink($prefix . $d . ".test");
39 rmdir($prefix);
H A Dbug54028.phpt21 $prefix = __DIR__ . DIRECTORY_SEPARATOR . "testBug54028" . DIRECTORY_SEPARATOR;
25 mkdir($prefix);
27 mkdir($prefix . $d);
30 $directory = dir($prefix);
36 if ($content != get_basename_with_cp($prefix . $content, 65001, false)) {
43 rmdir($prefix . $d);
45 rmdir($prefix);
/php-src/ext/hash/sha3/generic32lc/
H A DKeccakSponge.h133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument
134 ALIGN(alignment) typedef struct prefix##_SpongeInstanceStruct { \
139 } prefix##_SpongeInstance;
141 #define KCP_DeclareSpongeFunctions(prefix) \ argument
142 …int prefix##_Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, size_t i…
143 …int prefix##_SpongeInitialize(prefix##_SpongeInstance *spongeInstance, unsigned int rate, unsigned…
144 …int prefix##_SpongeAbsorb(prefix##_SpongeInstance *spongeInstance, const unsigned char *data, size…
145 …int prefix##_SpongeAbsorbLastFewBits(prefix##_SpongeInstance *spongeInstance, unsigned char delimi…
146 …int prefix##_SpongeSqueeze(prefix##_SpongeInstance *spongeInstance, unsigned char *data, size_t da…
H A DKeccakSponge.c25 #define prefix KeccakWidth200 macro
33 #undef prefix
43 #define prefix KeccakWidth400 macro
51 #undef prefix
61 #define prefix KeccakWidth800 macro
69 #undef prefix
79 #define prefix KeccakWidth1600 macro
87 #undef prefix
97 #define prefix KeccakWidth1600_12rounds macro
105 #undef prefix
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakSponge.h133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument
134 ALIGN(alignment) typedef struct prefix##_SpongeInstanceStruct { \
139 } prefix##_SpongeInstance;
141 #define KCP_DeclareSpongeFunctions(prefix) \ argument
142 …int prefix##_Sponge(unsigned int rate, unsigned int capacity, const unsigned char *input, size_t i…
143 …int prefix##_SpongeInitialize(prefix##_SpongeInstance *spongeInstance, unsigned int rate, unsigned…
144 …int prefix##_SpongeAbsorb(prefix##_SpongeInstance *spongeInstance, const unsigned char *data, size…
145 …int prefix##_SpongeAbsorbLastFewBits(prefix##_SpongeInstance *spongeInstance, unsigned char delimi…
146 …int prefix##_SpongeSqueeze(prefix##_SpongeInstance *spongeInstance, unsigned char *data, size_t da…
H A DKeccakSponge.c25 #define prefix KeccakWidth200 macro
33 #undef prefix
43 #define prefix KeccakWidth400 macro
51 #undef prefix
61 #define prefix KeccakWidth800 macro
69 #undef prefix
79 #define prefix KeccakWidth1600 macro
87 #undef prefix
97 #define prefix KeccakWidth1600_12rounds macro
105 #undef prefix
/php-src/ext/dom/tests/
H A DDOMDocument_getElementsByTagNameNS_match_any_namespace.phpt35 echo 'local name: \'', $element->localName, '\', prefix: \'', $element->prefix, "'\n";
57 local name: 'chapter', prefix: ''
58 local name: 'title', prefix: ''
59 local name: 'para', prefix: ''
60 local name: 'error', prefix: ''
64 local name: 'title', prefix: ''
65 local name: 'para', prefix: ''
68 local name: 'error', prefix: ''
72 local name: 'title', prefix: ''
73 local name: 'para', prefix: ''
[all …]
H A DDOMElement_prefix_empty.phpt2 DOMElement->prefix with empty string creates bogus prefix
13 echo "--- Changing the prefix to an empty string ---\n";
15 $container->prefix = "";
18 echo "--- Changing the prefix to an empty C-style string ---\n";
20 $container->prefix = "\0foobar";
23 echo "--- Changing the prefix to \"hello\" ---\n";
25 $container->prefix = "hello";
31 $container->prefix = "conflict";
39 --- Changing the prefix to an empty string ---
42 --- Changing the prefix to an empty C-style string ---
[all …]
H A Dbug55700.phpt2 Bug #55700 (XPath namespace prefix conflict, global registerNodeNS flag)
8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />');
11 $xp->registerNamespace('prefix', 'urn:b');
13 echo($xp->query('//prefix:root')->length . "\n");
16 $xp->registerNamespace('prefix', 'urn:b');
18 echo($xp->query('//prefix:root')->length . "\n");
25 echo($xp->query('//prefix:root')->length . "\n");
H A Dbug49490.phpt2 Bug #49490 (XPath namespace prefix conflict).
8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />');
11 $xp->registerNamespace('prefix', 'urn:b');
13 echo($xp->query('//prefix:root', null, false)->length . "\n");
H A Ddom_create_element.phpt35 print " 4 DOMDocument::createElement('prefix:valid')\n";
38 $dom->createElement('prefix:valid');
83 $dom->createElementNS('', 'prefix:invalid');
110 $dom->createElementNS('-', 'prefix:valid');
141 print "16 DOMElement::__construct('prefix:valid')\n";
143 $element = new DomElement('prefix:valid');
218 $dom->createElementNS('', 'prefix:valid');
298 qualifiedName nor its prefix is "xmlns". */
327 4 DOMDocument::createElement('prefix:valid')
351 16 DOMElement::__construct('prefix:valid')
[all …]
/php-src/scripts/dev/
H A Dmakedist107 prefix="$treeish"
119 if test -d "$prefix"; then
146 cd $prefix || exit 5
187 "$tar" cf "$prefix".tar --owner=0 --group=0 --numeric-owner --sort=name "$prefix"
188 rm -rf "$prefix" "$prefix".tar.*
192 "$md5sum" "$prefix".tar.gz
193 gzip -t "$prefix".tar.gz
200 "$md5sum" $prefix.tar.bz2
201 bzip2 -t $prefix.tar.bz2
208 "$md5sum" "$prefix".tar.xz
[all …]
/php-src/ext/dom/tests/modern/extensions/
H A DElement_getDescendantNamespaces.phpt12 echo "prefix: ";
42 prefix: string(1) "c"
48 prefix: string(1) "c"
54 prefix: NULL
58 prefix: string(1) "b"
62 prefix: string(1) "d"
66 prefix: NULL
80 prefix: NULL
94 prefix: NULL
102 prefix: NULL
[all …]
H A DElement_getInScopeNamespaces.phpt12 echo "prefix: ";
13 var_dump($entry->prefix);
42 prefix: string(1) "c"
50 prefix: NULL
54 prefix: string(1) "b"
58 prefix: string(1) "d"
64 prefix: NULL
68 prefix: string(1) "b"
72 prefix: string(1) "d"
78 prefix: NULL
/php-src/ext/dom/
H A Dnamespace_compat.c106 ns->prefix = ZSTR_LEN(prefix) == 0 ? NULL : BAD_CAST ZSTR_VAL(prefix); in dom_create_owned_ns()
120 if (prefix == NULL) { in php_dom_libxml_ns_mapper_get_ns()
174 if (prefix == NULL) { in php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe()
175 prefix = ""; in php_dom_libxml_ns_mapper_get_ns_raw_strings_nullsafe()
192 const char *prefix = (const char *) ns->prefix; in php_dom_libxml_ns_mapper_store_and_normalize_parsed_ns() local
194 if (prefix == NULL) { in php_dom_libxml_ns_mapper_store_and_normalize_parsed_ns()
195 prefix = ""; in php_dom_libxml_ns_mapper_store_and_normalize_parsed_ns()
231 if (ns->prefix != NULL) { in php_dom_ns_compat_mark_attribute()
233 name = ns->prefix; in php_dom_ns_compat_mark_attribute()
352 const char *prefix = (const char *) node->ns->prefix; in php_dom_libxml_reconcile_modern_single_node() local
[all …]
H A Dxml_serializer.c165 const xmlChar *prefix, in dom_xml_local_prefix_map_add() argument
176 const xmlChar *prefix, in dom_xml_local_prefix_map_find() argument
186 const xmlChar *prefix, in dom_xml_local_prefix_map_conflicts() argument
200 const xmlChar *prefix, in dom_xml_local_prefix_map_contains() argument
210 const xmlChar *prefix, in dom_xml_ns_prefix_map_add() argument
294 const xmlChar *prefix, in dom_prefix_found_in_ns_prefix_map() argument
422 return prefix; in dom_retrieve_a_preferred_prefix_string()
759 attr->ns->prefix, in dom_xml_serialize_attributes()
981 const xmlChar *prefix = element->ns == NULL ? NULL : element->ns->prefix; in dom_xml_serialize_element_node() local
994 if (prefix != NULL && strcmp((const char *) prefix, "xmlns") == 0) { in dom_xml_serialize_element_node()
[all …]
/php-src/ext/standard/tests/general_functions/
H A Duniqid_basic.phpt7 echo "\nuniqid() without a prefix\n";
13 echo "uniqid() with a prefix\n";
15 // Use a fixed prefix so we can ensure length of o/p id is fixed
16 $prefix = array (
24 for ($i = 0; $i < count($prefix); $i++) {
25 var_dump(uniqid($prefix[$i]));
26 var_dump(uniqid($prefix[$i], true));
27 var_dump(uniqid($prefix[$i], false));
35 uniqid() without a prefix
41 uniqid() with a prefix
/php-src/sapi/fpm/tests/
H A Dmain-global-prefix.phpt2 FPM: Main invocation with prefix
28 $prefix = __DIR__;
30 $tester->start(['--prefix', $prefix]);
32 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_ACC, $prefix);
33 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_ERR, $prefix);
34 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_SLOW, $prefix);
35 $tester->expectFile(FPM\Tester::FILE_EXT_PID, $prefix);
40 $tester->expectNoFile(FPM\Tester::FILE_EXT_PID, $prefix);
/php-src/ext/xmlreader/tests/
H A D010.phpt8 <prefix:books xmlns:prefix="uri" isbn="" prefix:isbn="12isbn">book1</prefix:books>';
24 prefix:books 12isbn

Completed in 51 milliseconds

12345678910>>...17