Searched refs:remainder (Results 1 - 5 of 5) sorted by relevance

/system/core/libcutils/
H A Dfs_config.c216 ssize_t len, remainder = host_len - sizeof(header); local
217 if (remainder <= 0) {
221 prefix = calloc(1, remainder);
226 if (TEMP_FAILURE_RETRY(read(fd, prefix, remainder)) != remainder) {
231 len = strnlen(prefix, remainder);
232 if (len >= remainder) { /* missing a terminating null */
/system/core/libutils/
H A DLinearTransform.cpp87 // Divide again. Keep the remainder around in order to round properly.
237 const T remainder = a % b; local
238 if (remainder == 0) {
243 // by swapping remainder and b, we are guaranteeing that a is
246 b = remainder;
/system/bt/hci/src/
H A Dhci_inject.c190 size_t remainder = client->buffer_size - frame_len; local
191 memmove(buffer, buffer + frame_len, remainder);
/system/vold/
H A Dcryptfs.c2648 off64_t numblocks, i, remainder; local
2667 * and the remainder.
2670 remainder = size % CRYPT_SECTORS_PER_BUFSIZE;
2737 for (i=0; i<remainder; i++) {
/system/core/libpixelflinger/
H A Dscanline.cpp1912 uint32_t remainder = xc & ((1<<SPAN_BITS)-1); local
1947 if (remainder) {
1949 span = remainder;

Completed in 148 milliseconds