Home
last modified time | relevance | path

Searched refs:n_data (Results 1 – 5 of 5) sorted by relevance

/external/valgrind/auxprogs/
Dvalgrind-di-server.c372 typedef struct { UChar* data; SizeT n_data; } Frame; member
420 f->n_data = 4 + n_str + 1; in mk_Frame_asciiz()
421 f->data = calloc(f->n_data, 1); in mk_Frame_asciiz()
432 if (fr->n_data < 4) return False; in parse_Frame_noargs()
434 if (fr->n_data != 4) return False; in parse_Frame_noargs()
443 if (fr->n_data < 4) return False; in parse_Frame_asciiz()
445 if (fr->n_data < 5) return False; // else there isn't even enough in parse_Frame_asciiz()
451 if (i >= fr->n_data) break; in parse_Frame_asciiz()
455 assert(i <= fr->n_data); in parse_Frame_asciiz()
456 if (i == fr->n_data-1 && fr->data[i] == 0) { in parse_Frame_asciiz()
[all …]
/external/valgrind/coregrind/m_debuginfo/
Dimage.c161 typedef struct { UChar* data; SizeT n_data; } Frame; member
294 write_UInt_le(&wr_first8[4], req->n_data); in do_transaction()
297 adler = VG_(adler32)(adler, req->data, req->n_data); in do_transaction()
302 vg_assert(req->n_data >= 4); // else ill formed -- no KIND field in do_transaction()
303 r = my_write(sd, req->data, req->n_data); in do_transaction()
304 if (r != req->n_data) return NULL; in do_transaction()
317 res->n_data = rd_len; in do_transaction()
319 r = my_read(sd, res->data, res->n_data); in do_transaction()
328 if (res->n_data > 0) in do_transaction()
329 adler = VG_(adler32)(adler, res->data, res->n_data); in do_transaction()
[all …]
/external/syslinux/com32/lib/libpng/
Dpngrio.c84 png_byte *n_data; in png_default_read_data() local
90 n_data = (png_byte *)CVT_PTR_NOCHECK(data); in png_default_read_data()
92 if ((png_bytep)n_data == data) in png_default_read_data()
99 check = fread(n_data, 1, length, io_ptr); in png_default_read_data()
Dpngtest.c345 png_byte *n_data; in pngtest_read_data() local
349 n_data = (png_byte *)CVT_PTR_NOCHECK(data); in pngtest_read_data()
351 if ((png_bytep)n_data == data) in pngtest_read_data()
353 READFILE(io_ptr, n_data, length, check); in pngtest_read_data()
/external/libxml2/
Dtestapi.c4859 int n_data; in test_xmlSAX2ProcessingInstruction() local
4863 for (n_data = 0;n_data < gen_nb_const_xmlChar_ptr;n_data++) { in test_xmlSAX2ProcessingInstruction()
4867 data = gen_const_xmlChar_ptr(n_data, 2); in test_xmlSAX2ProcessingInstruction()
4873 des_const_xmlChar_ptr(n_data, (const xmlChar *)data, 2); in test_xmlSAX2ProcessingInstruction()
4881 printf(" %d", n_data); in test_xmlSAX2ProcessingInstruction()
10839 int n_data; in test_xmlListAppend() local
10842 for (n_data = 0;n_data < gen_nb_userdata;n_data++) { in test_xmlListAppend()
10845 data = gen_userdata(n_data, 1); in test_xmlListAppend()
10851 des_userdata(n_data, data, 1); in test_xmlListAppend()
10858 printf(" %d", n_data); in test_xmlListAppend()
[all …]