/php-src/ext/dom/tests/ |
H A D | bug79968.phpt | 8 $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 D | DOMParentNode_empty_argument.phpt | 50 $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 D | DOMCharacterData_appendData_basic.phpt | 15 $cdata = $document->createElement('cdata'); 16 $root->appendChild($cdata); 19 $cdata->appendChild($cdatanode); 37 <root><cdata><![CDATA[data><&"]]></cdata></root>
|
H A D | DOMCharacterData_deleteData_basic_001.phpt | 14 $cdata = $document->createCDATASection('test'); 15 $root->appendChild($cdata); 16 $cdata->deleteData(1, 10); 17 var_dump($cdata->data);
|
H A D | DOMCharacterData_replaceWith_self.phpt | 9 $cdata = $dom->documentElement->firstChild; 10 $cdata->replaceWith($cdata);
|
H A D | DOMCharacterData_substringData_basic_001.phpt | 15 $cdata = $document->createCDATASection('testfest'); 16 $root->appendChild($cdata); 17 print $cdata->substringData(1, 6);
|
H A D | DOMCharacterData_deleteData_error_002.phpt | 14 $cdata = $document->createCDATASection('test'); 15 $root->appendChild($cdata); 17 $cdata->deleteData(5, 1);
|
H A D | DOMCharacterData_data_basic_002.phpt | 15 $cdata = $document->createCDATASection('t'); 16 $root->appendChild($cdata); 19 $cdata->data = 100;
|
H A D | domchardata.phpt | 32 $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 D | 025.phpt | 12 $x->cdata = 5; 14 $x->cdata += 2; 20 $x->cdata = 'a'; 22 $x->cdata++; 29 ["cdata"]=> 33 ["cdata"]=> 39 ["cdata"]=> 43 ["cdata"]=>
|
H A D | 047.phpt | 2 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 D | 004.phpt | 56 ["cdata"]=> 60 ["cdata"]=> 64 ["cdata"]=> 68 ["cdata"]=>
|
H A D | gh11934b.phpt | 13 $ffi->gh11934b_ffi_var_test_cdata->cdata = 2; 16 $source->cdata = 31;
|
H A D | gh11934.phpt | 33 $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 D | 041.phpt | 63 ["cdata"]=> 73 ["cdata"]=> 91 ["cdata"]=> 101 ["cdata"]=>
|
/php-src/ext/dom/tests/manually_call_constructor/ |
H A D | cdatasection.phpt | 8 $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 D | dom_character_data.phpt | 12 $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 D | HTMLDocument_serialize_roots.phpt | 10 $cdata = $dom->createCDATASection("cdata"); 15 $cdata = $container->appendChild($dom->importNode($cdata)); 22 var_dump($dom->saveHtml($cdata)); 31 string(5) "cdata"
|
H A D | HTMLDocument_serialize_cdata.phpt | 10 $cdata = $dom->createCDATASection("foobaré\"<>-&"); 14 $container->appendChild($dom->importNode($cdata));
|
/php-src/ext/tidy/tests/ |
H A D | bug77040.phpt | 8 $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 D | print.c | 40 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 D | ffi.c | 514 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 D | 009.phpt | 21 xmlwriter_start_element($xw, 'cdata'); 39 <cdata><![CDATA[<>&"]]></cdata>
|
H A D | OO_009.phpt | 22 $xw->startElement('cdata'); 40 <cdata><![CDATA[<>&"]]></cdata>
|
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/ |
H A D | cdata_section.c | 32 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()
|