Searched refs:nn (Results 1 – 4 of 4) sorted by relevance
/device/generic/goldfish/libqemu/ |
D | test_guest_2.c | 60 int nn, count; in main() local 155 for (nn = 0; nn < bufferSize; nn++) { in main() 156 buffer[nn] = (uint8_t)nn; in main() 194 for (nn = 0; nn < bufferSize; ) { in main() 195 int avail = bufferSize - nn; in main() 200 if (memcmp(buffer+nn, buffer2+nn, avail) != 0) { in main() 205 printf("%04x:", nn); in main() 208 printf(" %02x", buffer[nn+mm]); in main() 215 printf(" %02x", buffer2[nn+mm]); in main() 219 nn += avail; in main()
|
/device/generic/goldfish/sensors/ |
D | sensors_qemu.c | 100 int nn; in _sensorIdToName() local 101 for (nn = 0; nn < MAX_NUM_SENSORS; nn++) in _sensorIdToName() 102 if (id == _sensorIds[nn].id) in _sensorIdToName() 103 return _sensorIds[nn].name; in _sensorIdToName() 110 int nn; in _sensorIdFromName() local 115 for (nn = 0; nn < MAX_NUM_SENSORS; nn++) in _sensorIdFromName() 116 if (!strcmp(name, _sensorIds[nn].name)) in _sensorIdFromName() 117 return _sensorIds[nn].id; in _sensorIdFromName() 662 int mask, nn, count; in sensors__get_sensors_list() local 686 for (nn = 0; nn < MAX_NUM_SENSORS; nn++) { in sensors__get_sensors_list() [all …]
|
/device/generic/goldfish/gps/ |
D | gps_qemu.c | 746 int nn, ret; in gps_state_thread() local 757 for (nn = 0; nn < ret; nn++) in gps_state_thread() 758 nmea_reader_addc( reader, buff[nn] ); in gps_state_thread()
|
/device/generic/goldfish/qemud/ |
D | qemud.c | 200 int nn = 0; in int2hex() local 203 for ( --width; width >= 0; width--, nn++ ) { in int2hex() 204 to[nn] = hexchars[(value >> (width*4)) & 15]; in int2hex()
|