Home
last modified time | relevance | path

Searched refs:allocSize (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp353 size_t allocSize = in convertSoundModelToHal() local
356 static_cast<struct sound_trigger_phrase_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()
359 allocSize); in convertSoundModelToHal()
372 size_t allocSize = sizeof(struct sound_trigger_sound_model) + soundModel->data.size(); in convertSoundModelToHal() local
373 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()
376 allocSize); in convertSoundModelToHal()
407 size_t allocSize = sizeof(struct sound_trigger_recognition_config) + config->data.size(); in convertRecognitionConfigToHal() local
409 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()
412 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp375 size_t allocSize = in convertSoundModelToHal() local
378 static_cast<struct sound_trigger_phrase_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()
381 allocSize); in convertSoundModelToHal()
394 size_t allocSize = sizeof(struct sound_trigger_sound_model) + soundModel->data.size(); in convertSoundModelToHal() local
395 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()
398 allocSize); in convertSoundModelToHal()
430 size_t allocSize = sizeof(struct sound_trigger_recognition_config) + config->data.size(); in convertRecognitionConfigToHal() local
432 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()
435 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()
/hardware/google/av/codec2/vndk/
DC2Buffer.cpp445 size_t *allocSize) override;
542 size_t *allocSize) { in allocate() argument
559 *allocSize = (size_t)c2Params.data.params[0]; in allocate()
581 *allocSize = c2Params.data.params[0] * c2Params.data.params[1]; in allocate()
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.cpp49 allocSize = gralloc_alloc_size; in gpu_context_t()
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp49 allocSize = gralloc_alloc_size; in gpu_context_t()
/hardware/qcom/display/msm8226/libgralloc/
Dgpu.cpp48 allocSize = gralloc_alloc_size; in gpu_context_t()