Lines Matching refs:allocSize
383 size_t allocSize = in convertSoundModelToHal() local
386 static_cast<struct sound_trigger_phrase_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()
389 allocSize); in convertSoundModelToHal()
402 size_t allocSize = sizeof(struct sound_trigger_sound_model) + soundModel->data.size(); in convertSoundModelToHal() local
403 halModel = static_cast<struct sound_trigger_sound_model*>(malloc(allocSize)); in convertSoundModelToHal()
406 allocSize); in convertSoundModelToHal()
438 size_t allocSize = sizeof(struct sound_trigger_recognition_config) + config->data.size(); in convertRecognitionConfigToHal() local
440 static_cast<struct sound_trigger_recognition_config*>(malloc(allocSize)); in convertRecognitionConfigToHal()
443 "malloc failed for size %zu in convertRecognitionConfigToHal", allocSize); in convertRecognitionConfigToHal()
469 size_t allocSize = in convertRecognitionConfigToHalHeader() local
472 static_cast<struct sound_trigger_recognition_config_extended_1_3*>(malloc(allocSize)); in convertRecognitionConfigToHalHeader()
475 allocSize); in convertRecognitionConfigToHalHeader()
477 halConfigExtended->header.size = allocSize; in convertRecognitionConfigToHalHeader()