/device/moto/stingray/recovery/ |
masterclear_bp.c | 304 int write_len = 0; local 313 write_len = sizeof(CMD_DEFS_CMD_REQ_HDR_T); 344 write_len = sizeof(CMD_DEFS_CMD_REQ_HDR_T)+cmd_header.length; 345 if ( (write_buff = (UINT8 *)malloc(write_len)) == NULL) 347 LOGE("Out of memory - malloc failed on write_buff, length = %d.\n", write_len); 352 write_buff[write_len-1] = CMD_BP_MASTER_CLEAR; 354 CMD_DBG_data_dump(write_buff, write_len); 356 if (CMD_ENGINE_write(write_len, write_buff) != TRUE) 363 LOGE("Transferred %d byte(s) CMD opcode = 0x%04x to aux engine succeeded.\n",write_len, cmd_header.opcode);
|
/external/chromium/net/disk_cache/ |
mem_entry_impl.cc | 417 int write_len = std::min(static_cast<int>(io_buf->BytesRemaining()), local 428 write_len))); 435 int ret = child->WriteData(kSparseData, child_offset, io_buf, write_len,
|
/system/extras/ext4_utils/ |
output_file.c | 474 int write_len; local 496 write_len = (len > (int)sizeof(fill_buf) ? (int)sizeof(fill_buf) : len); 497 ret = out->ops->write(out, (u8 *)fill_buf, write_len); 501 len -= write_len;
|
/external/qemu/hw/ |
goldfish_nand.c | 397 size_t write_len = dev->erase_size; local 404 if(len < write_len) 405 write_len = len; 410 cpu_memory_rw_debug(cpu_single_env, data, dev->data, write_len, 0); 411 ret = do_write(dev->fd, dev->data, write_len); 412 if(ret < write_len) { 416 data += write_len; 417 len -= write_len; 425 size_t write_len = dev->erase_size; local 431 if(len < write_len) [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_TopazDynamicMap.c | 1288 uint16_t write_len = 0; local 3213 uint16_t write_len = 0; local 3322 uint16_t write_len = 0; local 3493 uint16_t write_len = 0; local 3820 uint16_t write_len; local [all...] |