| /third_party/uapp/fsck-msdosfs/ |
| A D | fat.c | 93 if (buffer[0] != boot->bpbMedia || buffer[1] != 0xff) in checkdirty() 99 if (buffer[2] != 0xff || (buffer[3] & 0x0f) != 0x0f in checkdirty() 100 || (buffer[4] & 0xf8) != 0xf8 || buffer[5] != 0xff in checkdirty() 214 || buffer[1] != 0xff || buffer[2] != 0xff in readfat() 218 || buffer[4] != 0xff || buffer[5] != 0xff in readfat() 231 && buffer[3] == 0x0f && buffer[4] == 0xff in readfat() 232 && buffer[5] == 0xff && buffer[6] == 0xff in readfat() 242 buffer[0], buffer[1], buffer[2], buffer[3], in readfat() 243 buffer[4], buffer[5], buffer[6], buffer[7]); in readfat() 248 buffer[0], buffer[1], buffer[2], buffer[3]); in readfat() [all …]
|
| A D | dir.c | 198 static u_char *buffer = NULL; variable 224 free(buffer); in resetDosDirSection() 230 free(buffer); in resetDosDirSection() 295 free(buffer); in finishDosDirSection() 297 buffer = NULL; in finishDosDirSection() 363 startcl, start - buffer, in removede() 364 endcl, end - buffer, in removede() 367 start = buffer; in removede() 503 empcl, empty - buffer, in readDosDirSection() 506 q = empcl == cl ? empty : buffer; in readDosDirSection() [all …]
|
| /third_party/dev/ethernet/e1000/ |
| A D | e1000_manage.h | 42 s32 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, 47 u8 *buffer, u16 length); 49 u8 e1000_calculate_checksum(u8 *buffer, u32 length); 50 s32 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length); 51 s32 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length);
|
| A D | e1000_manage.c | 45 u8 e1000_calculate_checksum(u8 *buffer, u32 length) in e1000_calculate_checksum() argument 52 if (!buffer) in e1000_calculate_checksum() 56 sum += buffer[i]; in e1000_calculate_checksum() 133 u32 *buffer = (u32 *)&hw->mng_cookie; in e1000_enable_tx_pkt_filtering_generic() local 161 *(buffer + i) = E1000_READ_REG_ARRAY_DWORD(hw, E1000_HOST_IF, in e1000_enable_tx_pkt_filtering_generic() 224 s32 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write_generic() argument 228 u8 *bufptr = buffer; in e1000_mng_host_if_write_generic() 317 ret_val = e1000_mng_host_if_write_generic(hw, buffer, length, in e1000_mng_write_dhcp_info_generic() 432 *((u32 *)buffer + i)); in e1000_host_interface_command() 452 *((u32 *)buffer + i) = E1000_READ_REG_ARRAY_DWORD(hw, in e1000_host_interface_command() [all …]
|
| A D | e1000_api.h | 115 s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, 119 s32 e1000_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length);
|
| A D | e1000_api.c | 640 s32 e1000_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) in e1000_mng_write_dhcp_info() argument 642 return e1000_mng_write_dhcp_info_generic(hw, buffer, length); in e1000_mng_write_dhcp_info() 921 s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, in e1000_mng_host_if_write() argument 924 return e1000_mng_host_if_write_generic(hw, buffer, length, offset, sum); in e1000_mng_host_if_write()
|
| A D | fuchsia.c | 111 io_buffer_t buffer; member 238 io_buffer_release(&adapter->buffer); in e1000_release() 1093 …status = io_buffer_init(&adapter->buffer, adapter->btih, ETH_ALLOC, IO_BUFFER_RW | IO_BUFFER_CONTI… in e1000_bind() 1099 … e1000_setup_buffers(adapter, io_buffer_virt(&adapter->buffer), io_buffer_phys(&adapter->buffer)); in e1000_bind() 1137 io_buffer_release(&adapter->buffer); in e1000_bind()
|
| /third_party/uapp/dash/src/ |
| A D | nodes.c.pat | 292 char *orig_buffer = buffer; 295 *buffer++ = is_readonly ? 1 : 0; 297 buffer = mempcpy(buffer, *vars, len + 1); 301 return buffer - orig_buffer; 310 bool is_readonly = (*buffer++ == 1); 312 buffer += (strlen(buffer) + 1); 358 char buffer[total_size]; 361 memcpy(buffer, &header, sizeof(header)); 363 char* symtab = &buffer[symtab_offset]; 368 funcblock = buffer + header.cmd_offset; [all …]
|
| A D | nodes.c | 650 char *orig_buffer = buffer; in output_symtab() 653 *buffer++ = is_readonly ? 1 : 0; in output_symtab() 655 buffer = mempcpy(buffer, *vars, len + 1); in output_symtab() 659 return buffer - orig_buffer; in output_symtab() 668 bool is_readonly = (*buffer++ == 1); in restore_symtab() 670 buffer += (strlen(buffer) + 1); in restore_symtab() 715 header.total_size = sizeof(buffer); in codec_encode() 720 char* symtab = &buffer[symtab_offset]; in codec_encode() 725 funcblock = buffer + header.cmd_offset; in codec_encode() 733 return zx_vmo_write(*vmo, buffer, 0, sizeof(buffer)); in codec_encode() [all …]
|
| A D | main.c | 212 char buffer[size]; in evalifsubshell() local 214 status = zx_vmo_read(ast_vmo, buffer, 0, size); in evalifsubshell() 218 struct nodelist *nlist = codec_decode(buffer, size); in evalifsubshell()
|
| A D | nodes.h | 182 struct nodelist* codec_decode(char *buffer, size_t length);
|
| /third_party/ulib/musl/sanitizers/ |
| A D | log.c | 9 void __sanitizer_log_write(const char *buffer, size_t len) { in __sanitizer_log_write() argument 11 _dl_log_write(buffer, len); in __sanitizer_log_write()
|
| /third_party/ulib/musl/zircon/ |
| A D | getentropy.c | 11 int getentropy(void* buffer, size_t length) { in getentropy() argument 17 _zx_cprng_draw(buffer, length); in getentropy()
|
| /third_party/ulib/musl/src/env/ |
| A D | __libc_start_main.c | 18 uint8_t* buffer; member 48 zx_status_t status = zxr_processargs_strings(p->buffer, p->nbytes, in start_main() 107 ZXR_PROCESSARGS_BUFFER(buffer, p.nbytes); in __libc_start_main() 109 p.buffer = buffer; in __libc_start_main() 112 status = zxr_processargs_read(bootstrap, buffer, p.nbytes, in __libc_start_main()
|
| /third_party/uapp/dash/src/bltin/ |
| A D | zircon.c | 531 static char* join(char* buffer, size_t buffer_length, int argc, char** argv) { in join() argument 537 buffer[total_length++] = ' '; in join() 543 strncpy(buffer + total_length, arg, buffer_length - total_length - 1); in join() 546 return buffer + total_length; in join() 556 char buffer[256]; in zxc_k() local 563 strcpy(buffer, argv[1]); in zxc_k() 564 command_length = strlen(buffer); in zxc_k() 566 strcpy(buffer, prefix); in zxc_k() 568 …char* command_end = join(buffer + prefix_length, sizeof(buffer) - prefix_length, argc - 1, &argv[1… in zxc_k() 573 command_length = command_end - buffer; in zxc_k() [all …]
|
| /third_party/ulib/usbhost/include/usbhost/ |
| A D | usbhost.h | 38 void* buffer; member 190 void* buffer, 198 void* buffer,
|
| /third_party/ulib/musl/include/sys/ |
| A D | random.h | 9 int getentropy(void* buffer, size_t length) __attribute__((__warn_unused_result__));
|
| /third_party/ulib/musl/ldso/ |
| A D | dynlink.c | 644 dso->build_id_log.iov_base = buffer; in format_build_id_log() 670 dso->build_id_log.iov_len = p - buffer; in format_build_id_log() 698 char* p = buffer; in format_hex_value() 746 char buffer[MODULE_ELEMENT_SIZE]; in log_module_element() local 767 _dl_log_write(buffer, p - buffer); in log_module_element() 783 char buffer[MMAP_ELEMENT_SIZE]; in log_mmap_element() local 805 _dl_log_write(buffer, p - buffer); in log_mmap_element() 1979 ZXR_PROCESSARGS_BUFFER(buffer, nbytes); in __dls3() 2553 const char* buffer, size_t len) { in _dl_log_write() argument 2562 chunk = nl + 1 - buffer; in _dl_log_write() [all …]
|
| /third_party/ulib/musl/src/internal/ |
| A D | dynlink.h | 70 void _dl_log_write(const char *buffer, size_t len) ATTR_LIBC_VISIBILITY;
|
| /third_party/ulib/musl/include/zircon/ |
| A D | sanitizer.h | 61 void __sanitizer_log_write(const char *buffer, size_t len);
|
| /third_party/ulib/usbhost/ |
| A D | usbhost.c | 554 void* buffer, in usb_device_control_transfer() argument 568 ctrl.data = buffer; in usb_device_control_transfer() 574 void* buffer, in usb_device_bulk_transfer() argument 582 ctrl.data = buffer; in usb_device_bulk_transfer() 628 urb->buffer = req->buffer; in usb_request_queue()
|
| /third_party/lib/jitterentropy/ |
| A D | Makefile | 6 CFLAGS +=-fstack-protector-strong -fwrapv --param ssp-buffer-size=4
|
| /third_party/lib/acpica/tests/misc/ |
| A D | grammar.asl | 2692 // allocate buffer using Local1 as buffer size (run-time evaluation) 6916 // Local1 is buffer 7074 {"Destination buffer that is longer than the short source buffer"}) 7304 {"Destination buffer that is longer than the short source buffer"}) 7330 {"Destination buffer that is longer than the short source buffer"}) 7406 // number into the index'ed buffer 8302 {"Destination buffer that is longer than the short source buffer"}) 8521 // validate DEST buffer contents 8666 // buffer, buffer field; 8726 // Namespace entry buffer reference [all …]
|
| /third_party/ulib/musl/ |
| A D | WHATSNEW | 267 - wcsncpy dest buffer overflow 451 - getcwd supports null buffer argument (auto-allocation) 482 - stack-based buffer overflow in fprintf on unbuffered files 616 - bad buffer length check in getlogin_r 641 - make strerror_r return partial string when buffer is too small 972 - simple buffer overflow detection in free/realloc 1107 - buffer overflow in mbsrtowcs 1171 - mishandling of n=0 case in wcsxfrm (wild buffer overrun) 1260 - buffer overflow in dns response parsing (CVE-2014-3484) 1358 - buffer overflow in swab with odd argument [all …]
|
| /third_party/lib/acpica/ |
| A D | changes.txt | 2027 buffer. 9649 buffer. 10336 at name. Specifically, a buffer-to-buffer copy did not delete the 10338 buffer. 10992 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 11098 buffer 11468 buffer. 12556 zero) - instead, a simple buffer object with a NULL buffer pointer 13214 premature deletion of a buffer object if a buffer was used as an 14569 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will [all …]
|