Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 54) sorted by relevance

123

/chre-3.4.0/util/nanoapp/
Ddebug.cc34 size_t offset = 0; in logBuffer() local
48 offset += static_cast<size_t>( in logBuffer()
49 snprintf(&line[offset], sizeof(line) - offset, "%02x ", buffer[i - 1])); in logBuffer()
55 offset = 0; in logBuffer()
58 offset += static_cast<size_t>( in logBuffer()
59 snprintf(&line[offset], sizeof(line) - offset, " ")); in logBuffer()
63 if (offset > 0) { in logBuffer()
66 while (offset < 28) { in logBuffer()
68 offset += 8; in logBuffer()
/chre-3.4.0/host/common/
Dlog_message_parser_base.cc44 int offset = 0; in dump() local
55 offset += snprintf(&line[offset], sizeof(line) - offset, "%02x ", in dump()
62 offset = 0; in dump()
65 offset += snprintf(&line[offset], sizeof(line) - offset, " "); in dump()
69 if (offset > 0) { in dump()
72 while (offset < 28) { in dump()
74 offset += 8; in dump()
/chre-3.4.0/chre_api/legacy/v1_2/chre/
Dre.h274 int64_t offset = chreGetEstimatedHostTimeOffset(); in chreGetEstimatedHostTime() local
281 if (offset >= 0) { in chreGetEstimatedHostTime()
282 time += (uint64_t) offset; in chreGetEstimatedHostTime()
290 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
Daudio.h45 #define CHRE_AUDIO_EVENT_ID(offset) (CHRE_EVENT_AUDIO_FIRST_EVENT + (offset)) argument
Dgnss.h88 #define CHRE_GNSS_EVENT_ID(offset) (CHRE_EVENT_GNSS_FIRST_EVENT + (offset)) argument
Dwwan.h68 #define CHRE_WWAN_EVENT_ID(offset) (CHRE_EVENT_WWAN_FIRST_EVENT + (offset)) argument
/chre-3.4.0/chre_api/legacy/v1_1/chre/
Dre.h268 int64_t offset = chreGetEstimatedHostTimeOffset(); in chreGetEstimatedHostTime() local
275 if (offset >= 0) { in chreGetEstimatedHostTime()
276 time += (uint64_t) offset; in chreGetEstimatedHostTime()
284 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
Dwifi.h66 #define CHRE_WIFI_EVENT_ID(offset) (CHRE_EVENT_WIFI_FIRST_EVENT + (offset)) argument
Dgnss.h81 #define CHRE_GNSS_EVENT_ID(offset) (CHRE_EVENT_GNSS_FIRST_EVENT + (offset)) argument
Dwwan.h68 #define CHRE_WWAN_EVENT_ID(offset) (CHRE_EVENT_WWAN_FIRST_EVENT + (offset)) argument
/chre-3.4.0/chre_api/legacy/v1_3/chre/
Dre.h274 int64_t offset = chreGetEstimatedHostTimeOffset(); in chreGetEstimatedHostTime() local
281 if (offset >= 0) { in chreGetEstimatedHostTime()
282 time += (uint64_t) offset; in chreGetEstimatedHostTime()
290 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
Daudio.h45 #define CHRE_AUDIO_EVENT_ID(offset) (CHRE_EVENT_AUDIO_FIRST_EVENT + (offset)) argument
Dwwan.h68 #define CHRE_WWAN_EVENT_ID(offset) (CHRE_EVENT_WWAN_FIRST_EVENT + (offset)) argument
/chre-3.4.0/chre_api/legacy/v1_4/chre/
Dre.h288 int64_t offset = chreGetEstimatedHostTimeOffset(); in chreGetEstimatedHostTime() local
295 if (offset >= 0) { in chreGetEstimatedHostTime()
296 time += (uint64_t) offset; in chreGetEstimatedHostTime()
304 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
Daudio.h45 #define CHRE_AUDIO_EVENT_ID(offset) (CHRE_EVENT_AUDIO_FIRST_EVENT + (offset)) argument
/chre-3.4.0/chre_api/include/chre_api/chre/
Dre.h288 int64_t offset = chreGetEstimatedHostTimeOffset(); in chreGetEstimatedHostTime() local
295 if (offset >= 0) { in chreGetEstimatedHostTime()
296 time += (uint64_t) offset; in chreGetEstimatedHostTime()
304 time -= (uint64_t) (offset * -1); in chreGetEstimatedHostTime()
Duser_settings.h60 #define CHRE_SETTING_EVENT_ID(offset) (CHRE_EVENT_SETTING_CHANGED_FIRST_EVENT + (offset)) argument
Daudio.h45 #define CHRE_AUDIO_EVENT_ID(offset) (CHRE_EVENT_AUDIO_FIRST_EVENT + (offset)) argument
/chre-3.4.0/platform/slpi/
Dsystem_time.cc44 void setEstimatedHostTimeOffset(int64_t offset) { in setEstimatedHostTimeOffset() argument
45 gEstimatedHostTimeOffset = offset; in setEstimatedHostTimeOffset()
/chre-3.4.0/chpp/common/
Dwifi_convert.c121 out->scannedFreqList.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
124 out->scannedFreqList.offset = 0; in chppWifiConvertScanEventFromChre()
136 out->results.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
139 out->results.offset = 0; in chppWifiConvertScanEventFromChre()
162 out->frequencyList.offset = *vlaOffset; in chppWifiConvertScanParamsFromChre()
165 out->frequencyList.offset = 0; in chppWifiConvertScanParamsFromChre()
178 out->ssidList.offset = *vlaOffset; in chppWifiConvertScanParamsFromChre()
181 out->ssidList.offset = 0; in chppWifiConvertScanParamsFromChre()
227 out->results.offset = *vlaOffset; in chppWifiConvertRangingEventFromChre()
230 out->results.offset = 0; in chppWifiConvertRangingEventFromChre()
[all …]
/chre-3.4.0/chpp/test/
Dwifi_convert_test.cpp103 EXPECT_EQ(chppEvent->scannedFreqList.offset, baseOffset); in validateScanEvent()
109 ((const uint8_t *)chppEvent + chppEvent->scannedFreqList.offset); in validateScanEvent()
119 EXPECT_EQ(chppEvent->scannedFreqList.offset, 0); in validateScanEvent()
124 EXPECT_EQ(chppEvent->results.offset, baseOffset); in validateScanEvent()
131 chppEvent->results.offset); in validateScanEvent()
138 EXPECT_EQ(chppEvent->results.offset, 0); in validateScanEvent()
190 EXPECT_EQ(chppParams->frequencyList.offset, baseOffset); in validateScanParams()
196 ((const uint8_t *)chppParams + chppParams->frequencyList.offset); in validateScanParams()
206 EXPECT_EQ(chppParams->frequencyList.offset, 0); in validateScanParams()
211 EXPECT_EQ(chppParams->ssidList.offset, baseOffset); in validateScanParams()
[all …]
Dwwan_convert_test.cpp169 chpp->cells.offset++; in testMalformedCellInfoResultDecoding()
172 chpp->cells.offset--; in testMalformedCellInfoResultDecoding()
214 EXPECT_EQ(chpp->cells.offset, 0); in TEST()
227 .cells.offset = 0, in TEST()
263 EXPECT_EQ(chpp->cells.offset, sizeof(ChppWwanCellInfoResult)); in TEST()
267 (ChppWwanCellInfo *)((uint8_t *)chpp + chpp->cells.offset); in TEST()
284 (ChppWwanCellInfo *)((uint8_t *)chpp + chpp->cells.offset); in TEST()
327 EXPECT_EQ(chpp->cells.offset, sizeof(ChppWwanCellInfoResult)); in TEST()
331 (ChppWwanCellInfo *)((uint8_t *)chpp + chpp->cells.offset); in TEST()
360 (ChppWwanCellInfo *)((uint8_t *)chpp + chpp->cells.offset); in TEST()
/chre-3.4.0/platform/slpi/include/chre/platform/slpi/
Dsystem_time.h29 void setEstimatedHostTimeOffset(int64_t offset);
/chre-3.4.0/chpp/include/chpp/common/
Dcommon_types.h55 uint16_t offset; member
/chre-3.4.0/platform/shared/
Dnanoapp_loader.cc375 uintptr_t offset = 0; in callInitArray() local
376 while (offset < mSectionHeadersPtr[i].sh_size) { in callInitArray()
377 ElfAddr *funcPtr = reinterpret_cast<ElfAddr *>(initArray + offset); in callInitArray()
380 offset += sizeof(initFunction); in callInitArray()
545 size_t offset = 0; in copyAndVerifyHeaders() local
564 offset = elfHeader->e_shoff; in copyAndVerifyHeaders()
572 memcpy(mSectionHeadersPtr, (pDataBytes + offset), sectionHeaderSizeBytes); in copyAndVerifyHeaders()
922 uintptr_t offset = 0; in callTerminatorArray() local
923 while (offset < mSectionHeadersPtr[i].sh_size) { in callTerminatorArray()
924 ElfAddr *funcPtr = reinterpret_cast<ElfAddr *>(finiArray + offset); in callTerminatorArray()
[all …]

123