Home
last modified time | relevance | path

Searched refs:heapAlloc (Results 1 – 16 of 16) sorted by relevance

/device/google/contexthub/firmware/inc/
Dheap.h31 void* heapAlloc(uint32_t sz);
/device/google/contexthub/firmware/src/
DnanohubCommand.c283 mDownloadState = heapAlloc(sizeof(struct DownloadState)); in doStartFirmwareUpload()
897 packet = heapAlloc(rawPacket->dataLen + 1); in writeEvent()
915 packet = heapAlloc(rx_len - sizeof(req->evtType)); in writeEvent()
1003 resp = heapAlloc(sizeof(*resp)); in halSendMgmtResponse()
1049 resp = heapAlloc(sizeof(*resp)); in halQueryApps()
1059 hdr = heapAlloc(sizeof(*hdr)); in halQueryApps()
1075 if (!(resp = heapAlloc(sizeof(*resp) + NANOHUB_RSA_KEY_CHUNK_LEN))) in halQueryRsaKeys()
1101 if (!(resp = heapAlloc(sizeof(*resp)))) in halStartUpload()
1120 if (!(resp = heapAlloc(sizeof(*resp)))) in halContUpload()
1148 if (!(resp = heapAlloc(sizeof(*resp)))) in halFinishUpload()
Dslab.c42 allocator = (struct SlabAllocator*)heapAlloc(sizeof(struct SlabAllocator) + bitsetSz + dataSz); in slabAllocatorNew()
DeventQ.c48 struct EvtQueue *q = heapAlloc(sizeof(struct EvtQueue)); in evtQueueAlloc()
Dspi.c283 struct SpiDeviceState *state = heapAlloc(sizeof(*state)); in spiMasterRequest()
347 struct SpiDeviceState *state = heapAlloc(sizeof(*state)); in spiSlaveRequest()
DsimpleQ.c57 sq = heapAlloc(sz); in simpleQueueAlloc()
Dheap.c115 void* heapAlloc(uint32_t sz) in heapAlloc() function
DappSec.c144 struct AppSecState *state = heapAlloc(sizeof(struct AppSecState)); in appSecInit()
DosApi.c217 *retValP = (uintptr_t)heapAlloc(sz); in osExpApiHeapAlloc()
DhostIntf.c683 mActiveSensorTable = heapAlloc(mNumSensors * sizeof(struct ActiveSensor)); in initSensors()
999 struct NanohubHalRebootTx *resp = heapAlloc(sizeof(*resp)); in hostIntfNotifyReboot()
Dseos.c954 uint32_t *newList = heapAlloc(sizeof(uint32_t[newSz])); /* grow by 50% */ in osInternalEvtHandle()
/device/google/contexthub/firmware/src/cpu/cortexm4f/
DappSupport.c146 uint8_t *mem = heapAlloc(sect->bss_end); in cpuAppLoad()
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dplatform.c134 userData = heapAlloc(sizeof(struct HostIntfDataBuffer)); in platLogAllocUserData()
313 mEarlyLogBuffer = heapAlloc(EARLY_LOG_BUF_SIZE); in platInitialize()
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/
Dams_tmd4903.c325 struct AlsCalibrationData *data = heapAlloc(sizeof(struct AlsCalibrationData)); in sendCalibrationResultAls()
345 struct ProxCalibrationData *data = heapAlloc(sizeof(struct ProxCalibrationData)); in sendCalibrationResultProx()
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/
Dbosch_bmp280.c172 struct CalibrationData *data = heapAlloc(sizeof(struct CalibrationData)); in sendCalibrationResult()
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c2252 struct CalibrationData *data = heapAlloc(sizeof(struct CalibrationData)); in sendCalibrationResult()