Home
last modified time | relevance | path

Searched refs:nodelen (Results 1 – 15 of 15) sorted by relevance

/third_party/node/deps/nghttp2/lib/
Dnghttp2_ksl.c40 static size_t ksl_blklen(size_t nodelen) { in ksl_blklen() argument
41 return sizeof(nghttp2_ksl_blk) + nodelen * NGHTTP2_KSL_MAX_NBLK - in ksl_blklen()
55 size_t nodelen = ksl_nodelen(keylen); in nghttp2_ksl_init() local
56 size_t blklen = ksl_blklen(nodelen); in nghttp2_ksl_init()
66 ksl->nodelen = nodelen; in nghttp2_ksl_init()
112 rblk = nghttp2_mem_malloc(ksl->mem, ksl_blklen(ksl->nodelen)); in ksl_split_blk()
129 memcpy(rblk->nodes, blk->nodes + ksl->nodelen * (blk->n - rblk->n), in ksl_split_blk()
130 ksl->nodelen * rblk->n); in ksl_split_blk()
160 memmove(blk->nodes + (i + 2) * ksl->nodelen, in ksl_split_node()
161 blk->nodes + (i + 1) * ksl->nodelen, in ksl_split_node()
[all …]
Dnghttp2_ksl.h142 size_t nodelen; member
254 ((nghttp2_ksl_node *)(void *)((BLK)->nodes + (KSL)->nodelen * (N)))
/third_party/nghttp2/lib/
Dnghttp2_ksl.c40 static size_t ksl_blklen(size_t nodelen) { in ksl_blklen() argument
41 return sizeof(nghttp2_ksl_blk) + nodelen * NGHTTP2_KSL_MAX_NBLK - in ksl_blklen()
55 size_t nodelen = ksl_nodelen(keylen); in nghttp2_ksl_init() local
56 size_t blklen = ksl_blklen(nodelen); in nghttp2_ksl_init()
66 ksl->nodelen = nodelen; in nghttp2_ksl_init()
112 rblk = nghttp2_mem_malloc(ksl->mem, ksl_blklen(ksl->nodelen)); in ksl_split_blk()
129 memcpy(rblk->nodes, blk->nodes + ksl->nodelen * (blk->n - rblk->n), in ksl_split_blk()
130 ksl->nodelen * rblk->n); in ksl_split_blk()
160 memmove(blk->nodes + (i + 2) * ksl->nodelen, in ksl_split_node()
161 blk->nodes + (i + 1) * ksl->nodelen, in ksl_split_node()
[all …]
Dnghttp2_ksl.h142 size_t nodelen; member
254 ((nghttp2_ksl_node *)(void *)((BLK)->nodes + (KSL)->nodelen * (N)))
/third_party/openssl/crypto/dso/
Ddso_win32.c193 int nodelen; member
251 result->nodelen = (int)(filename - start); in win32_splitter()
269 result->nodelen = (int)(filename - start); in win32_splitter()
292 if (!result->nodelen) in win32_splitter()
315 len += 2 + file_split->nodelen; /* 2 for starting \\ */ in win32_joiner()
345 strncpy(&result[offset], file_split->node, file_split->nodelen); in win32_joiner()
346 offset += file_split->nodelen; in win32_joiner()
429 filespec1_split->nodelen = filespec2_split->nodelen; in win32_merger()
/third_party/musl/src/network/
Dgetnameinfo.c122 char *restrict node, socklen_t nodelen, in getnameinfo() argument
152 if (node && nodelen) { in getnameinfo()
181 if (strlen(buf) >= nodelen) return EAI_OVERFLOW; in getnameinfo()
/third_party/musl/porting/liteos_a/user/src/network/
Dgetnameinfo.c122 char *restrict node, socklen_t nodelen, in getnameinfo() argument
152 if (node && nodelen) { in getnameinfo()
181 if (strlen(buf) >= nodelen) return EAI_OVERFLOW; in getnameinfo()
/third_party/libxml2/
DSAX2.c2549 ctxt->nodelen = len; in xmlSAX2Text()
2571 } else if ((ctxt->nodemem == ctxt->nodelen + 1) && in xmlSAX2Text()
2579 if (((size_t)ctxt->nodelen + (size_t)len > XML_MAX_TEXT_LENGTH) && in xmlSAX2Text()
2584 if ((size_t)ctxt->nodelen > SIZE_T_MAX - (size_t)len || in xmlSAX2Text()
2589 if (ctxt->nodelen + len >= ctxt->nodemem) { in xmlSAX2Text()
2603 memcpy(&lastChild->content[ctxt->nodelen], ch, len); in xmlSAX2Text()
2604 ctxt->nodelen += len; in xmlSAX2Text()
2605 lastChild->content[ctxt->nodelen] = 0; in xmlSAX2Text()
2611 ctxt->nodelen = xmlStrlen(lastChild->content); in xmlSAX2Text()
2612 ctxt->nodemem = ctxt->nodelen + 1; in xmlSAX2Text()
[all …]
Dparser.c7501 ctxt->nodelen = 0; in xmlParseReference()
/third_party/gettext/gnulib-local/lib/libxml/
DSAX2.c2600 ctxt->nodelen = len; in xmlSAX2Characters()
2621 } else if ((ctxt->nodemem == ctxt->nodelen + 1) && in xmlSAX2Characters()
2629 if (((size_t)ctxt->nodelen + (size_t)len > XML_MAX_TEXT_LENGTH) && in xmlSAX2Characters()
2634 if ((size_t)ctxt->nodelen > SIZE_T_MAX - (size_t)len || in xmlSAX2Characters()
2639 if (ctxt->nodelen + len >= ctxt->nodemem) { in xmlSAX2Characters()
2653 memcpy(&lastChild->content[ctxt->nodelen], ch, len); in xmlSAX2Characters()
2654 ctxt->nodelen += len; in xmlSAX2Characters()
2655 lastChild->content[ctxt->nodelen] = 0; in xmlSAX2Characters()
2661 ctxt->nodelen = xmlStrlen(lastChild->content); in xmlSAX2Characters()
2662 ctxt->nodemem = ctxt->nodelen + 1; in xmlSAX2Characters()
[all …]
Dparser.in.h282 int nodelen; /* Those two fields are there to */ member
Dparser.c7442 ctxt->nodelen = 0; in xmlParseReference()
/third_party/python/Lib/lib2to3/
Dpytree.py735 nodelen = len(nodes)
751 if c0 < nodelen and c0 <= self.max:
/third_party/libxml2/include/libxml/
Dparser.h255 int nodelen; /* Those two fields are there to */ member
/third_party/libxml2/os400/libxmlrpg/
Dparser.rpgle271 d nodelen like(xmlCint) Speed up parsing