/third_party/expat/ |
D | 14-backport-Fix-build_model-regression.patch | 14 Store only the scaffold index in numchildren field to prevent a direct 43 - * but only uses a single field -- numchildren -- to store the source 49 + * to array dtd->scaffold) in field "numchildren". 60 + * "numchildren" field (which actually holds a source node array index 99 - (--stackTop)->numchildren = 0; 101 + (jobDest++)->numchildren = 0; 105 - const int src_node = (int)(stackTop++)->numchildren; 107 + const int src_node = (int)dest->numchildren; 114 dest->numchildren = dtd->scaffold[src_node].childcnt; 121 - stackTop -= dest->numchildren; [all …]
|
D | 08-backport-CVE-2022-25313-Prevent-stack-exhaustion-in-build_model.patch | 15 Instead the numchildren variable is used to temporarily keep the 108 - dest->numchildren = 0; 113 - dest->numchildren = dtd->scaffold[src_node].childcnt; 115 - *contpos += dest->numchildren; 116 - for (i = 0, cn = dtd->scaffold[src_node].firstchild; i < dest->numchildren; 160 + * but only uses a single field -- numchildren -- to store the source 180 + (--stackTop)->numchildren = 0; 184 + const int src_node = (int)(stackTop++)->numchildren; 199 + dest->numchildren = 0; 205 + dest->numchildren = dtd->scaffold[src_node].childcnt; [all …]
|
D | 22-backport-tests-Protect-against-nested-element-declaration-mod.patch | 38 + errorFlags |= ((model[0].numchildren == 2) ? 0 : (1u << 4)); 44 + errorFlags |= ((model[1].numchildren == 3) ? 0 : (1u << 9)); 50 + errorFlags |= ((model[2].numchildren == 0) ? 0 : (1u << 14)); 56 + errorFlags |= ((model[3].numchildren == 0) ? 0 : (1u << 19)); 62 + errorFlags |= ((model[4].numchildren == 0) ? 0 : (1u << 24)); 68 + errorFlags |= ((model[5].numchildren == 0) ? 0 : (1u << 29));
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
D | dio_append.c | 28 static int numchildren; variable 34 numchildren = 16; in setup() 38 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 63 for (i = 0; i < numchildren; i++) { in run()
|
D | dio_read.c | 29 static int numchildren = 8; variable 71 if (*children_completed >= numchildren) { in do_direct_reads() 106 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 151 for (i = 0; i < numchildren; i++) { in run()
|
D | dio_sparse.c | 36 static int numchildren = 16; variable 63 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 104 for (i = 0; i < numchildren; i++) { in run()
|
D | dio_truncate.c | 43 static int numchildren = 16; variable 90 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 126 for (i = 0; i < numchildren; i++) { in run()
|
D | aiodio_append.c | 34 static int numchildren = 8; variable 117 if (tst_parse_int(str_numchildren, &numchildren, 1, INT_MAX)) in setup() 148 for (i = 0; i < numchildren; i++) { in run()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstbin.h | 102 #define GST_BIN_NUMCHILDREN(bin) (GST_BIN_CAST(bin)->numchildren) 140 gint numchildren; member
|
D | gstbin.c | 307 num = bin->numchildren; in gst_bin_child_proxy_get_children_count() 487 bin->numchildren = 0; in gst_bin_init() 1219 bin->numchildren++; in gst_bin_add_func() 1642 bin->numchildren--; in gst_bin_remove_func()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglmixerbin.c | 612 if (index < bin->numchildren) { in gst_gl_mixer_bin_child_proxy_get_child_by_index() 619 index - bin->numchildren))) { in gst_gl_mixer_bin_child_proxy_get_child_by_index() 636 num = bin->numchildren + g_list_length (mixer->priv->input_chains); in gst_gl_mixer_bin_child_proxy_get_children_count()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11compositorbin.cpp | 971 if (index < (guint) bin->numchildren) { in gst_d3d11_compositor_bin_child_proxy_get_child_by_index() 978 index - bin->numchildren))) { in gst_d3d11_compositor_bin_child_proxy_get_child_by_index() 994 count = GST_BIN_CAST (self)->numchildren + g_list_length (self->input_chains); in gst_d3d11_compositor_bin_child_proxy_get_children_count()
|
/third_party/python/Modules/expat/ |
D | expat.h | 172 unsigned int numchildren; member
|
D | xmlparse.c | 5202 content->numchildren = 0; in doProlog() 7150 dest->numchildren = 0; in build_node() 7155 dest->numchildren = dtd->scaffold[src_node].childcnt; in build_node() 7157 *contpos += dest->numchildren; in build_node() 7158 for (i = 0, cn = dtd->scaffold[src_node].firstchild; i < dest->numchildren; in build_node()
|
/third_party/skia/third_party/externals/expat/expat/lib/ |
D | expat.h | 173 unsigned int numchildren; member
|
D | xmlparse.c | 5284 content->numchildren = 0; in doProlog() 7262 dest->numchildren = 0; in build_node() 7267 dest->numchildren = dtd->scaffold[src_node].childcnt; in build_node() 7269 *contpos += dest->numchildren; in build_node() 7270 for (i = 0, cn = dtd->scaffold[src_node].firstchild; i < dest->numchildren; in build_node()
|
/third_party/python/Modules/ |
D | pyexpat.c | 521 PyObject *children = PyTuple_New(model->numchildren); in conv_content_model() 525 assert(model->numchildren < INT_MAX); in conv_content_model() 526 for (i = 0; i < (int)model->numchildren; ++i) { in conv_content_model()
|
/third_party/python/Lib/test/ |
D | test_xml_etree.py | 3490 def _make_elem_with_children(self, numchildren): argument 3496 for i in range(numchildren):
|