/system/core/libsparse/ |
D | simg2simg.c | 49 int64_t max_size; in main() local 59 max_size = atoll(argv[3]); in main() 73 files = sparse_file_resparse(s, max_size, NULL, 0); in main() 85 files = sparse_file_resparse(s, max_size, out_s, files); in main()
|
/system/bt/osi/src/ |
D | eager_reader.c | 164 size_t eager_reader_read(eager_reader_t *reader, uint8_t *buffer, size_t max_size) { in eager_reader_read() argument 179 if (max_size > bytes_available) in eager_reader_read() 180 max_size = bytes_available; in eager_reader_read() 183 while (bytes_consumed < max_size) { in eager_reader_read() 188 if (bytes_to_copy > (max_size - bytes_consumed)) in eager_reader_read() 189 bytes_to_copy = max_size - bytes_consumed; in eager_reader_read()
|
/system/core/crash_reporter/ |
D | warn_collector.l | 42 void WarnInput(char *buf, yy_size_t *result, size_t max_size); 44 #define YY_INPUT(buf, result, max_size) WarnInput(buf, &result, max_size) argument 202 void WarnInput(char *buf, yy_size_t *result, size_t max_size) { in WarnInput() argument 204 ssize_t ret = read(yyin_fd, buf, max_size); in WarnInput()
|
D | crash_collector.cc | 241 ssize_t max_size = 64; in GetSymlinkTarget() local 245 buffer.resize(max_size + 1); in GetSymlinkTarget() 246 ssize_t size = readlink(symlink.value().c_str(), buffer.data(), max_size); in GetSymlinkTarget() 255 if (size == max_size) { in GetSymlinkTarget() 256 max_size *= 2; in GetSymlinkTarget() 257 if (max_size > PATH_MAX) { in GetSymlinkTarget()
|
/system/bt/hci/src/ |
D | hci_hal_mct.c | 129 static size_t read_data(serial_data_type_t type, uint8_t *buffer, size_t max_size) { in read_data() argument 131 return eager_reader_read(acl_stream, buffer, max_size); in read_data() 133 return eager_reader_read(event_stream, buffer, max_size); in read_data()
|
D | hci_hal_h4.c | 116 static size_t read_data(serial_data_type_t type, uint8_t *buffer, size_t max_size) { in read_data() argument 128 return eager_reader_read(uart_stream, buffer, max_size); in read_data()
|
/system/bt/hci/test/ |
D | hci_layer_test.cpp | 213 static size_t replay_data_to_receive(size_t max_size, uint8_t *buffer) { 214 for (size_t i = 0; i < max_size; i++) { 220 if (i == (max_size - 1)) 227 STUB_FUNCTION(size_t, hal_read_data, (serial_data_type_t type, uint8_t *buffer, size_t max_size)) 230 return replay_data_to_receive(max_size, buffer); 235 return replay_data_to_receive(max_size, buffer); 243 return replay_data_to_receive(max_size, buffer);
|
/system/bt/osi/include/ |
D | eager_reader.h | 63 size_t eager_reader_read(eager_reader_t *reader, uint8_t *buffer, size_t max_size);
|
/system/bt/hci/include/ |
D | hci_hal.h | 62 size_t (*read_data)(serial_data_type_t type, uint8_t *buffer, size_t max_size);
|
/system/keymaster/ |
D | keymaster_enforcement.cpp | 37 AccessTimeMap(uint32_t max_size) : max_size_(max_size) {} in AccessTimeMap() argument 59 AccessCountMap(uint32_t max_size) : max_size_(max_size) {} in AccessCountMap() argument
|
/system/bt/stack/sdp/ |
D | sdp_main.c | 152 UINT16 sdp_set_max_attr_list_size (UINT16 max_size) in sdp_set_max_attr_list_size() argument 154 if (max_size > (sdp_cb.l2cap_my_cfg.mtu - 16) ) in sdp_set_max_attr_list_size() 155 max_size = sdp_cb.l2cap_my_cfg.mtu - 16; in sdp_set_max_attr_list_size() 157 sdp_cb.max_attr_list_size = max_size; in sdp_set_max_attr_list_size()
|
D | sdpint.h | 252 extern UINT16 sdp_set_max_attr_list_size (UINT16 max_size);
|
/system/bt/stack/gatt/ |
D | gatt_db.c | 737 UINT16 max_size = 0; in gatts_write_attr_perm_check() local 843 max_size = 2; in gatts_write_attr_perm_check() 874 else if (len != max_size) /* data does not match the required format */ in gatts_write_attr_perm_check()
|
/system/core/adb/ |
D | test_device.py | 609 max_size = 16 * (1 << 10) 615 size = random.randrange(min_size, max_size, 1024) 628 max_size = 16 * (1 << 10) 632 size = random.randrange(min_size, max_size, 1024)
|
/system/core/fastboot/ |
D | fastboot.cpp | 701 static struct sparse_file **load_sparse_files(int fd, int max_size) in load_sparse_files() argument 708 int files = sparse_file_resparse(s, max_size, nullptr, 0); in load_sparse_files() 718 files = sparse_file_resparse(s, max_size, out_s, files); in load_sparse_files()
|