Home
last modified time | relevance | path

Searched refs:buf32 (Results 1 – 7 of 7) sorted by relevance

/third_party/selinux/libsepol/src/
Davtab.c440 uint32_t buf32[8], items, items2, val; in avtab_read_item() local
453 rc = next_entry(buf32, fp, sizeof(uint32_t)); in avtab_read_item()
458 items2 = le32_to_cpu(buf32[0]); in avtab_read_item()
460 if (items2 < 5 || items2 > ARRAY_SIZE(buf32)) { in avtab_read_item()
465 rc = next_entry(buf32, fp, sizeof(uint32_t) * items2); in avtab_read_item()
472 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
478 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
484 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
491 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
512 datum.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
[all …]
Dwrite.c112 uint32_t buf32[10], lookup, val; in avtab_write_item() local
129 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
131 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
133 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
169 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
193 buf32[items++] = in avtab_write_item()
200 buf32[items++] = cpu_to_le32(cur->datum.data); in avtab_write_item()
210 buf32[0] = cpu_to_le32(items - 1); in avtab_write_item()
214 items2 = put_entry(buf32, sizeof(uint32_t), items, fp); in avtab_write_item()
255 buf32[i] = cpu_to_le32(cur->datum.xperms->perms[i]); in avtab_write_item()
[all …]
Dpolicydb.c3568 uint32_t buf32[nel]; in avrule_read() local
3602 rc = next_entry(buf32, fp, sizeof(uint32_t)*nel); in avrule_read()
3608 avrule->xperms->perms[i] = le32_to_cpu(buf32[i]); in avrule_read()
/third_party/ffmpeg/libavcodec/
Dfraps.c148 const uint32_t *buf32; in decode_frame() local
243 buf32 = (const uint32_t*)buf; in decode_frame()
250 *luma1++ = *buf32++; in decode_frame()
251 *luma1++ = *buf32++; in decode_frame()
252 *luma2++ = *buf32++; in decode_frame()
253 *luma2++ = *buf32++; in decode_frame()
254 *cr++ = *buf32++; in decode_frame()
255 *cb++ = *buf32++; in decode_frame()
/third_party/libdrm/tests/ttmtest/src/
Dttmtest.c160 volatile unsigned *buf32 = (unsigned *)buf; in readBuf() local
161 unsigned *end = (unsigned *)buf32 + size / sizeof(*buf32); in readBuf()
163 while (buf32 < end) { in readBuf()
164 (void)*buf32++; in readBuf()
/third_party/skia/tests/
DSkVMTest.cpp190 skvm::Ptr buf32 = b.varying<int>(), in DEF_TEST() local
194 skvm::I32 x = b.load32(buf32); in DEF_TEST()
196 b.store32(buf32, b.gather32(uniforms,0, b.bit_and(x, b.splat( 7)))); in DEF_TEST()
205 int buf32[N]; in DEF_TEST() local
210 buf32[i] = i; in DEF_TEST()
217 program.eval(N, &uniforms, buf32, buf16, buf8); in DEF_TEST()
219 REPORTER_ASSERT(r, buf32[i] == 12 && buf16[i] == 12 && buf8[i] == 12); i++; in DEF_TEST()
220 REPORTER_ASSERT(r, buf32[i] == 34 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
221 REPORTER_ASSERT(r, buf32[i] == 56 && buf16[i] == 34 && buf8[i] == 0); i++; in DEF_TEST()
222 REPORTER_ASSERT(r, buf32[i] == 78 && buf16[i] == 0 && buf8[i] == 0); i++; in DEF_TEST()
[all …]
/third_party/bounds_checking_function/src/
Dmemset_s.c29 SecStrBuf32 buf32; member