Home
last modified time | relevance | path

Searched refs:num_comps (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_so_emit.c107 unsigned num_comps = state->output[slot].num_components; in so_emit_prim() local
110 if ((buffer_total_bytes[ob] + num_comps * sizeof(float)) > in so_emit_prim()
114 buffer_total_bytes[ob] += num_comps * sizeof(float); in so_emit_prim()
128 unsigned num_comps = state->output[slot].num_components; in so_emit_prim() local
134 memcpy(buffer, &input[idx][start_comp], num_comps * sizeof(float)); in so_emit_prim()
135 draw->so.targets[ob]->internal_offset += num_comps * sizeof(float); in so_emit_prim()
136 total_written_compos += num_comps; in so_emit_prim()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp15 FX_INT32 width, height, color_trans, num_comps, bits; in InitJPEG() local
17 LoadInfo(pData, size, width, height, num_comps, bits, color_trans)) { in InitJPEG()
26 if (num_comps == 1) { in InitJPEG()
28 } else if (num_comps == 3) { in InitJPEG()
30 } else if (num_comps == 4) { in InitJPEG()
/external/valgrind/coregrind/m_demangle/
Dcp-demangle.h108 int num_comps; member
Dcp-demangle.c886 if (di->next_comp >= di->num_comps) in d_make_empty()
5828 di->num_comps = 2 * len; in cplus_demangle_init_info()
5884 __extension__ struct demangle_component comps[di.num_comps]; in d_demangle_callback()
5890 di.comps = alloca (di.num_comps * sizeof (*di.comps)); in d_demangle_callback()
5896 di.comps = xmalloc (di.num_comps * sizeof (*di.comps)); in d_demangle_callback()
6178 __extension__ struct demangle_component comps[di.num_comps]; in is_ctor_or_dtor()
6184 di.comps = alloca (di.num_comps * sizeof (*di.comps)); in is_ctor_or_dtor()
6190 di.comps = xmalloc (di.num_comps * sizeof (*di.comps)); in is_ctor_or_dtor()