Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dutility.h71 uint64_t remainder = base % alignment; in AlignTo() local
72 if (remainder == 0) { in AlignTo()
75 return base + (alignment - remainder); in AlignTo()
/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/extras/ext4_utils/
Dmkuserimg_mke2fs.py98 args, remainder = parser.parse_known_args(argv)
102 if len(remainder) == 1 and remainder[0] == argv[-1]:
103 args.file_contexts = remainder[0]
104 elif remainder:
/system/core/libcutils/
Dfs_config.cpp338 ssize_t len, remainder = host_len - sizeof(header); in fs_config() local
339 if (remainder <= 0) { in fs_config()
343 prefix = static_cast<char*>(calloc(1, remainder)); in fs_config()
348 if (TEMP_FAILURE_RETRY(read(fd, prefix, remainder)) != remainder) { in fs_config()
353 len = strnlen(prefix, remainder); in fs_config()
354 if (len >= remainder) { // missing a terminating null in fs_config()
/system/bt/hci/src/
Dhci_inject.cc187 size_t remainder = client->buffer_size - frame_len; in read_ready() local
188 memmove(buffer, buffer + frame_len, remainder); in read_ready()
/system/extras/verity/
Dhash_tree_builder.cpp314 size_t remainder = data->size() % block_size_; in AppendPaddings() local
315 if (remainder != 0) { in AppendPaddings()
316 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/vold/
DEncryptInplace.cpp468 off64_t numblocks, i, remainder; in cryptfs_enable_inplace_full() local
489 remainder = size % CRYPT_SECTORS_PER_BUFSIZE; in cryptfs_enable_inplace_full()
548 for (i = 0; i < remainder; i++) { in cryptfs_enable_inplace_full()
/system/chre/host/msm/daemon/
Dchre_daemon.cc260 uint64_t remainder = (qTimerCount % qTimerFreq); in getTimeOffset() local
262 (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.cpp2281 size_t remainder = offset % align; in getPad() local
2282 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()
/system/core/libpixelflinger/
Dscanline.cpp1914 uint32_t remainder = xc & ((1<<SPAN_BITS)-1); in scanline_perspective() local
1949 if (remainder) { in scanline_perspective()
1951 span = remainder; in scanline_perspective()