Searched refs:num_left (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/src/google/protobuf/util/internal/ |
D | json_escaping.cc | 186 uint32 *cp, int* num_left, int *num_read) { in ReadCodePoint() argument 187 if (*num_left == 0) { in ReadCodePoint() 222 *num_left = 1; in ReadCodePoint() 225 *num_left = 2; in ReadCodePoint() 228 *num_left = 3; in ReadCodePoint() 237 while (*num_left > 0 && index < str.size()) { in ReadCodePoint() 239 --(*num_left); in ReadCodePoint() 244 return *num_left > 0 || (!IsSurrogate(*cp) && IsValidCodePoint(*cp)); in ReadCodePoint() 362 int num_left = 0; // Num of chars to read to complete the code point. in Escape() local 369 bool cp_was_split = num_left > 0; in Escape() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | io.c | 46 size_t num_left = count; in test_write() local 55 rc = write(fd, ptr, num_left); in test_write() 67 rc, num_written, num_left); in test_write() 74 num_left -= rc; in test_write() 123 size_t num_left = count; in test_read() local 132 rc = read(fd, ptr, num_left); in test_read() 144 rc, num_read, num_left); in test_read() 151 num_left -= rc; in test_read()
|
/external/libxcam/modules/ocl/ |
D | cl_newtonemapping_handler.cpp | 45 int num_left = left > 0 ? hist[left - 1] : 0; in haleq() local 46 int pixel_num = hist[right] - num_left; in haleq() 47 e = y[num_left + pixel_num / 2]; in haleq()
|