Searched defs:mem_buf (Results 1 - 6 of 6) sorted by relevance

/external/valgrind/main/coregrind/m_gdbserver/
H A Dserver.c914 static unsigned char *mem_buf; variable
925 if (mem_buf == NULL)
926 mem_buf = malloc (PBUFSIZ+POVERHSIZ);
1092 if (valgrind_read_memory (mem_addr, mem_buf, len) == 0)
1093 convert_int_to_ascii (mem_buf, own_buf, len);
1098 decode_M_packet (&own_buf[1], &mem_addr, &len, mem_buf);
1099 if (valgrind_write_memory (mem_addr, mem_buf, len) == 0)
1106 &mem_addr, &len, mem_buf) < 0
1107 || valgrind_write_memory (mem_addr, mem_buf, len) != 0)
/external/qemu/
H A Dgdbstub.c478 stb_p(mem_buf, val); \
482 stw_p(mem_buf, val); \
486 stl_p(mem_buf, val); \
490 stq_p(mem_buf, val); \
515 static int cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
522 memcpy(mem_buf, &env->fpregs[n - (CPU_NB_REGS + 8)], 10);
524 memset(mem_buf, 0, 10);
530 stq_p(mem_buf, env->xmm_regs[n].XMM_Q(0));
531 stq_p(mem_buf + 8, env->xmm_regs[n].XMM_Q(1));
562 static int cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, in argument
640 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
677 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
738 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
793 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
868 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
895 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
938 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
957 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
982 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1028 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1084 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1118 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1164 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1174 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1194 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1221 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1254 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1281 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1304 cpu_gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1309 cpu_gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int n) argument
1384 gdb_read_register(CPUArchState *env, uint8_t *mem_buf, int reg) argument
1400 gdb_write_register(CPUArchState *env, uint8_t *mem_buf, int reg) argument
1602 uint8_t mem_buf[MAX_PACKET_LENGTH]; local
[all...]
/external/chromium_org/third_party/libwebp/demux/
H A Ddemux.c818 static const uint8_t* GetFramePayload(const uint8_t* const mem_buf, argument
837 return mem_buf + start_offset;
846 const uint8_t* const mem_buf = dmux->mem_.buf_; local
852 GetFramePayload(mem_buf, fragment, &payload_size);
926 const uint8_t* const mem_buf = dmux->mem_.buf_; local
930 const uint8_t* const header = mem_buf + c->data_.offset_;
938 const uint8_t* const mem_buf = dmux->mem_.buf_; local
942 const uint8_t* const header = mem_buf + c->data_.offset_;
960 const uint8_t* const mem_buf = dmux->mem_.buf_; local
962 iter->chunk.bytes = mem_buf
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dvp8l.c191 uint8_t* mem_buf = NULL; local
214 mem_buf = (uint8_t*)WebPSafeCalloc(total_length_size,
216 if (mem_buf == NULL) goto End;
218 codes = (uint16_t*)mem_buf;
252 WebPSafeFree(mem_buf);
/external/webp/src/demux/
H A Ddemux.c818 static const uint8_t* GetFramePayload(const uint8_t* const mem_buf, argument
837 return mem_buf + start_offset;
846 const uint8_t* const mem_buf = dmux->mem_.buf_; local
852 GetFramePayload(mem_buf, fragment, &payload_size);
926 const uint8_t* const mem_buf = dmux->mem_.buf_; local
930 const uint8_t* const header = mem_buf + c->data_.offset_;
938 const uint8_t* const mem_buf = dmux->mem_.buf_; local
942 const uint8_t* const header = mem_buf + c->data_.offset_;
960 const uint8_t* const mem_buf = dmux->mem_.buf_; local
962 iter->chunk.bytes = mem_buf
[all...]
/external/webp/src/enc/
H A Dvp8l.c191 uint8_t* mem_buf = NULL; local
214 mem_buf = (uint8_t*)WebPSafeCalloc(total_length_size,
216 if (mem_buf == NULL) goto End;
218 codes = (uint16_t*)mem_buf;
252 WebPSafeFree(mem_buf);

Completed in 1121 milliseconds