Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 15 of 15) sorted by relevance

/system/bt/audio_a2dp_hw/test/
Daudio_a2dp_hw_test.cc137 const size_t remainder = expected_buffer_size % divisor; in TEST_F() local
138 if (remainder != 0) { in TEST_F()
139 expected_buffer_size += divisor - remainder; in TEST_F()
/system/bt/audio_hearing_aid_hw/test/
Daudio_hearing_aid_hw_test.cc137 const size_t remainder = expected_buffer_size % divisor; in TEST_F() local
138 if (remainder != 0) { in TEST_F()
139 expected_buffer_size += divisor - remainder; in TEST_F()
/system/core/fs_mgr/liblp/
Dutility.h74 uint64_t remainder = base % alignment; in AlignTo() local
75 if (remainder == 0) { in AlignTo()
78 return base + (alignment - remainder); in AlignTo()
/system/core/libcutils/
Dfs_config.cpp329 ssize_t len, remainder = host_len - sizeof(header); in fs_config() local
330 if (remainder <= 0) { in fs_config()
334 prefix = static_cast<char*>(calloc(1, remainder)); in fs_config()
339 if (TEMP_FAILURE_RETRY(read(fd, prefix, remainder)) != remainder) { in fs_config()
344 len = strnlen(prefix, remainder); in fs_config()
345 if (len >= remainder) { // missing a terminating null in fs_config()
/system/extras/ext4_utils/
Dmkuserimg_mke2fs.py100 args, remainder = parser.parse_known_args(argv)
104 if len(remainder) == 1 and remainder[0] == argv[-1]:
105 args.file_contexts = remainder[0]
106 elif remainder:
/system/bt/hci/src/
Dhci_inject.cc190 size_t remainder = client->buffer_size - frame_len; in read_ready() local
191 memmove(buffer, buffer + frame_len, remainder); in read_ready()
/system/extras/verity/
Dhash_tree_builder.cpp322 size_t remainder = data->size() % block_size_; in AppendPaddings() local
323 if (remainder != 0) { in AppendPaddings()
324 data->resize(data->size() + block_size_ - remainder, 0); in AppendPaddings()
/system/libufdt/utils/src/
Dmkdtboimg.py736 remainder = arg_list[image_arg_index:]
757 return args, remainder
807 global_args, remainder = parse_create_args(argv)
808 if not remainder:
810 dt_entries = parse_dt_entries(global_args, remainder)
/system/core/base/
Dexpected_test.cpp556 int remainder; in TEST() member
557 QR(int q, int r) noexcept : quotient(q), remainder(r) {} in TEST()
559 return quotient == rhs.quotient && remainder == rhs.remainder; in TEST()
562 return quotient != rhs.quotient || remainder == rhs.remainder; in TEST()
/system/vold/
DEncryptInplace.cpp482 off64_t numblocks, i, remainder; in cryptfs_enable_inplace_full() local
503 remainder = size % CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_full()
562 for (i = 0; i < remainder; i++) { in cryptfs_enable_inplace_full()
/system/chre/host/msm/daemon/
Dchre_daemon.cc307 uint64_t remainder = (qTimerCount % qTimerFreq); in getTimeOffset() local
309 (remainder * kOneSecondInNanoseconds + qTimerFreq / 2) / qTimerFreq; in getTimeOffset()
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc1072 const size_t remainder = buffer_sz % divisor; in audio_ha_hw_stream_compute_buffer_size() local
1073 if (remainder != 0) { in audio_ha_hw_stream_compute_buffer_size()
1074 buffer_sz += divisor - remainder; in audio_ha_hw_stream_compute_buffer_size()
/system/tools/hidl/
DCompoundType.cpp2074 size_t remainder = offset % align; in getPad() local
2075 return (remainder > 0) ? (align - remainder) : 0; in getPad()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1111 const size_t remainder = buffer_sz % divisor; in audio_a2dp_hw_stream_compute_buffer_size() local
1112 if (remainder != 0) { in audio_a2dp_hw_stream_compute_buffer_size()
1113 buffer_sz += divisor - remainder; in audio_a2dp_hw_stream_compute_buffer_size()
/system/update_engine/
Domaha_request_action.cc1053 int remainder = output_object->install_date_days % 7; in ParseResponse() local
1055 output_object->install_date_days - remainder; in ParseResponse()