Go to the source code of this file.
◆ kMinChunkSize
#define kMinChunkSize 4096 |
◆ dupstr()
static char * dupstr |
( |
SkArenaAlloc * |
chunk, |
|
|
const char |
src[], |
|
|
size_t |
srcLen |
|
) |
| |
|
static |
Definition at line 182 of file SkDOM.cpp.
182 {
188}
T * makeArrayDefault(size_t count)
◆ walk_dom()
Definition at line 309 of file SkDOM.cpp.
309 {
310 const char* elem =
dom.getName(node);
314 return;
315 }
316
317 parser->startElement(elem);
318
322 while ((
name = iter.next(&
value)) !=
nullptr)
324
325 node =
dom.getFirstChild(node,
nullptr);
326 while (node)
327 {
329 node =
dom.getNextSibling(node,
nullptr);
330 }
331
333}
static void walk_dom(const SkDOM &dom, const SkDOM::Node *node, SkXMLParser *parser)
constexpr int SkToInt(S x)
DEF_SWITCHES_START aot vmservice shared library name