Home
last modified time | relevance | path

Searched refs:cdata (Results 1 – 25 of 38) sorted by relevance

12

/php-src/ext/dom/tests/
H A Dbug79968.phpt8 $cdata = new DOMText;
10 $cdata->before("string");
11 $cdata->after("string");
12 $cdata->replaceWith("string");
15 $dom->adoptNode($cdata);
16 var_dump($dom->saveXML($cdata));
H A DDOMParentNode_empty_argument.phpt50 $cdata = $dom->createCDATASection('foo');
51 $dom->appendChild($cdata);
53 $cdata->after(...$emptyFragment->childNodes);
54 $cdata->before(...$emptyFragment->childNodes);
55 $cdata->after();
56 $cdata->before();
58 $cdata->replaceWith(...$emptyFragment->childNodes);
61 $cdata = $dom->createCDATASection('foo');
62 $dom->appendChild($cdata);
63 $cdata->replaceWith(...$emptyFragment->childNodes);
H A DDOMCharacterData_appendData_basic.phpt15 $cdata = $document->createElement('cdata');
16 $root->appendChild($cdata);
19 $cdata->appendChild($cdatanode);
37 <root><cdata><![CDATA[data><&"]]></cdata></root>
H A DDOMCharacterData_deleteData_basic_001.phpt14 $cdata = $document->createCDATASection('test');
15 $root->appendChild($cdata);
16 $cdata->deleteData(1, 10);
17 var_dump($cdata->data);
H A DDOMCharacterData_replaceWith_self.phpt9 $cdata = $dom->documentElement->firstChild;
10 $cdata->replaceWith($cdata);
H A DDOMCharacterData_substringData_basic_001.phpt15 $cdata = $document->createCDATASection('testfest');
16 $root->appendChild($cdata);
17 print $cdata->substringData(1, 6);
H A DDOMCharacterData_deleteData_error_002.phpt14 $cdata = $document->createCDATASection('test');
15 $root->appendChild($cdata);
17 $cdata->deleteData(5, 1);
H A DDOMCharacterData_data_basic_002.phpt15 $cdata = $document->createCDATASection('t');
16 $root->appendChild($cdata);
19 $cdata->data = 100;
H A Ddomchardata.phpt32 $cdata = new DOMCDataSection('Chars: <>&"');
33 $charnode->appendChild($cdata);
35 echo "Substring: ".$cdata->substringData(7, 4)."\n";
36 $cdata->replaceData(10, 1, "'");
37 echo "New Substring: ".$cdata->substringData(7, 4)."\n";
/php-src/ext/ffi/tests/
H A D025.phpt12 $x->cdata = 5;
14 $x->cdata += 2;
20 $x->cdata = 'a';
22 $x->cdata++;
29 ["cdata"]=>
33 ["cdata"]=>
39 ["cdata"]=>
43 ["cdata"]=>
H A D047.phpt2 FFI 047: FFI::CData->cdata meaning
10 $x->cdata = 42;
15 $x->cdata = 42;
21 $x = FFI::cdef()->new("struct {int cdata;}");
23 $x->cdata = 42;
31 ["cdata"]=>
34 Attempt to assign field 'cdata' of non C struct/union
36 ["cdata"]=>
H A D004.phpt56 ["cdata"]=>
60 ["cdata"]=>
64 ["cdata"]=>
68 ["cdata"]=>
H A Dgh11934b.phpt13 $ffi->gh11934b_ffi_var_test_cdata->cdata = 2;
16 $source->cdata = 31;
H A Dgh11934.phpt33 $source->cdata = $value;
50 $source->cdata = 2;
54 var_dump($struct->field === $source->cdata);
92 $int->cdata = 42;
103 $source->cdata = 123;
105 $target->cdata = $source;
107 var_dump($target->cdata);
114 $source->cdata = 123;
H A D041.phpt63 ["cdata"]=>
73 ["cdata"]=>
91 ["cdata"]=>
101 ["cdata"]=>
/php-src/ext/dom/tests/manually_call_constructor/
H A Dcdatasection.phpt8 $cdata = new DOMCdataSection("my value");
9 var_dump($cdata->nodeValue);
10 $cdata->__construct("my new value");
11 var_dump($cdata->nodeValue);
18 $doc->documentElement->appendChild($cdata);
21 $cdata->__construct("my even newer value");
22 $doc->documentElement->appendChild($cdata);
/php-src/ext/dom/tests/delayed_freeing/
H A Ddom_character_data.phpt12 $cdata = $doc->documentElement->firstChild;
13 var_dump($cdata->wholeText, $cdata->parentNode->tagName);
14 $cdata->parentNode->remove();
15 var_dump($cdata->wholeText, $cdata->parentNode->tagName);
/php-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_roots.phpt10 $cdata = $dom->createCDATASection("cdata");
15 $cdata = $container->appendChild($dom->importNode($cdata));
22 var_dump($dom->saveHtml($cdata));
31 string(5) "cdata"
H A DHTMLDocument_serialize_cdata.phpt10 $cdata = $dom->createCDATASection("foobaré\"<>-&");
14 $container->appendChild($dom->importNode($cdata));
/php-src/ext/tidy/tests/
H A Dbug77040.phpt8 $tidy->parseString("<p>text</p><p><![CDATA[cdata]]></p>");
15 $cdata = $tidy->body()->child[1]->child[0];
16 var_dump($cdata->type === TIDY_NODETYPE_CDATA);
17 var_dump($cdata->isHtml());
/php-src/ext/dom/lexbor/lexbor/core/
H A Dprint.c40 const char *begin, *cdata; in lexbor_vprintf_size() local
58 cdata = va_arg(va, const char *); in lexbor_vprintf_size()
59 size += (format - begin) + strlen(cdata); in lexbor_vprintf_size()
103 const char *begin, *cdata; in lexbor_vsprintf() local
127 cdata = va_arg(va, const char *); in lexbor_vsprintf()
128 size = strlen(cdata); in lexbor_vsprintf()
129 lexbor_sprintf_append(dst, end, cdata, size); in lexbor_vsprintf()
/php-src/ext/ffi/
H A Dffi.c514 cdata->ptr = (void*)&cdata->ptr_holder; in zend_ffi_cdata_to_zval_slow_ptr()
532 cdata->ptr = (void*)&cdata->ptr_holder; in zend_ffi_cdata_to_zval_slow_ret()
1843 cdata->ptr = &cdata->ptr_holder; in zend_ffi_add()
2395 if (cdata->ptr != (void*)&cdata->ptr_holder) { in zend_ffi_cdata_dtor()
2512 cdata->ptr = &cdata->ptr_holder; in zend_ffi_read_var()
3940 if (cdata->ptr != (void*)&cdata->ptr_holder) { in ZEND_METHOD()
4066 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
4076 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
4106 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
4119 cdata->ptr = &cdata->ptr_holder; in ZEND_METHOD()
[all …]
/php-src/ext/xmlwriter/tests/
H A D009.phpt21 xmlwriter_start_element($xw, 'cdata');
39 <cdata><![CDATA[<>&"]]></cdata>
H A DOO_009.phpt22 $xw->startElement('cdata');
40 <cdata><![CDATA[<>&"]]></cdata>
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dcdata_section.c32 const lxb_dom_cdata_section_t *cdata) in lxb_dom_cdata_section_interface_clone() argument
42 status = lxb_dom_text_interface_copy(&new->text, &cdata->text); in lxb_dom_cdata_section_interface_clone()

Completed in 49 milliseconds

12