Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 94) sorted by relevance

1234

/device/google/contexthub/sensorhal/
Dhubconnection.cpp602 int cnt = 0; in processSample() local
606 initEv(&nev[cnt++], timestamp, type, sensor)->pressure = sample->fdata; in processSample()
609 initEv(&nev[cnt++], timestamp, type, sensor)->relative_humidity = sample->fdata; in processSample()
612 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample()
615 initEv(&nev[cnt++], timestamp, type, sensor)->temperature = sample->fdata; in processSample()
618 initEv(&nev[cnt++], timestamp, type, sensor)->distance = sample->fdata; in processSample()
621 initEv(&nev[cnt++], timestamp, type, sensor)->light = sample->fdata; in processSample()
627 initEv(&nev[cnt++], timestamp, type, sensor)->u64.step_counter = mLastStepCount; in processSample()
634 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = 1.0f; in processSample()
641 initEv(&nev[cnt++], timestamp, type, sensor)->data[0] = sample->idata; in processSample()
[all …]
/device/google/contexthub/firmware/app/test0.app/
Dtest_app0.c25 static int cnt; variable
37 cnt = 100; in start_task()
55 timerId = eOsTimTimerSet(1000000000ULL, 50, 50, mMyTid, (void *)&cnt, false); in handle_event()
67 if (cnt-- <= 0) in handle_event()
/device/google/cuttlefish/host/commands/cvd/unittests/server/
Dutils.cpp21 int cnt = 0; in NumberOfOccurrences() local
24 ++cnt; in NumberOfOccurrences()
27 return cnt; in NumberOfOccurrences()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_ion.cpp119 int i, ret, cnt, heap_id = -1; in find_heap_id() local
122 ret = ion_query_heap_cnt(ion_client, &cnt); in find_heap_id()
130 data = (struct ion_heap_data *)malloc(cnt * sizeof(*data)); in find_heap_id()
137 ret = ion_query_get_heaps(ion_client, cnt, data); in find_heap_id()
144 for (i = 0; i < cnt; i++) { in find_heap_id()
151 if (i == cnt) in find_heap_id()
153 AERR("No %s Heap Found amongst %d heaps\n", name, cnt); in find_heap_id()
Dion_4.12.h75 __u32 cnt; /* Total number of heaps to be copied */ member
/device/linaro/hikey/gralloc/
Dalloc_device.cpp733 int i, ret, cnt, heap_id = -1; in find_heap_id() local
736 ret = ion_query_heap_cnt(ion_client, &cnt); in find_heap_id()
744 data = (struct ion_heap_data *)malloc(cnt * sizeof(*data)); in find_heap_id()
751 ret = ion_query_get_heaps(ion_client, cnt, data); in find_heap_id()
758 for (i = 0; i < cnt; i++) { in find_heap_id()
766 if (i > cnt) in find_heap_id()
768 AERR("No System Heap Found amongst %d heaps\n", cnt); in find_heap_id()
Dion_4.12.h75 __u32 cnt; /* Total number of heaps to be copied */ member
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_ion.cpp119 int i, ret, cnt, heap_id = -1; in find_heap_id() local
122 ret = ion_query_heap_cnt(ion_client, &cnt); in find_heap_id()
130 data = (struct ion_heap_data *)malloc(cnt * sizeof(*data)); in find_heap_id()
137 ret = ion_query_get_heaps(ion_client, cnt, data); in find_heap_id()
144 for (i = 0; i < cnt; i++) { in find_heap_id()
151 if (i == cnt) in find_heap_id()
153 AERR("No %s Heap Found amongst %d heaps\n", name, cnt); in find_heap_id()
Dion_4.12.h75 __u32 cnt; /* Total number of heaps to be copied */ member
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DLaunchItemsDbHelper.java139 final int cnt = db.update( in writeLastOpen() local
145 if (cnt < 1) { in writeLastOpen()
199 final int cnt = db.update( in writeOrderPriority() local
205 if (cnt < 1) { in writeOrderPriority()
/device/google/contexthub/util/stm32_flash/
Dstm32_bl.c52 static uint8_t write_cnt(handle_t *handle, uint16_t cnt) in write_cnt() argument
56 buffer[0] = (cnt >> 8) & 0xFF; in write_cnt()
57 buffer[1] = (cnt ) & 0xFF; in write_cnt()
/device/google/contexthub/lib/nanohub/
Dsoftcrc.c30 static uint32_t crcOneWord(uint32_t crc, uint32_t data, int cnt) in crcOneWord() argument
35 for (i = 0; i < cnt; i++) in crcOneWord()
/device/google/contexthub/firmware/os/platform/stm32/
Dcrc.c40 static uint32_t revCrc32Word(uint32_t crc, uint32_t data, uint32_t cnt) in revCrc32Word() argument
44 for (i = 0; i < cnt; i++) in revCrc32Word()
Dplatform.c468 uint32_t cnt; in sleepClockTmrWake() local
484 cnt = tim->CNT; in sleepClockTmrWake()
485 } while (sr != tim->SR || cnt != tim->CNT); in sleepClockTmrWake()
487 …leftTicks = cnt; //if we wake NOT from timer, only count the ticks that actually ticked as "time p… in sleepClockTmrWake()
/device/google/contexthub/util/nanotool/
Dnanopacket.cpp33 uint32_t Crc32Word(uint32_t crc, uint32_t data, int cnt) { in Crc32Word() argument
36 for (int i = 0; i < cnt; i++) { in Crc32Word()
/device/google/gs101/dumpstate/
Ddump_gs101.sh271 cnt=`cat $f`
275 echo "${a/_count/} \t$cnt\t$cap\t$ti\t$volt"
/device/google/gs201/dumpstate/
Ddump_power_gs201.sh299 cnt=`cat $f`
303 echo "${a/_count/} \t$cnt\t$cap\t$ti\t$volt"
/device/google/zuma/dumpstate/
Ddump_power.sh297 cnt=`cat $f`
301 echo "${a/_count/} \t$cnt\t$cap\t$ti\t$volt"
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp147 int cnt {0}; in IsDirectoryEmpty() local
149 cnt++; in IsDirectoryEmpty()
150 if (cnt > 2) { in IsDirectoryEmpty()
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dion.h50 __u32 cnt; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Dion.h98 __u32 cnt; /* Total number of heaps to be copied */ member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dion.h109 __u32 cnt; /* Total number of heaps to be copied */ member
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dion.h50 __u32 cnt; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dion.h50 __u32 cnt; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dion.h109 __u32 cnt; /* Total number of heaps to be copied */ member

1234