/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_process.c | 80 program_name = strdup(name + 1); in __getProgramName() 86 program_name = strdup(arg+1); in __getProgramName() 96 return strdup(arg+1); in __getProgramName() 98 return strdup(program_invocation_name); in __getProgramName() 104 return strdup(program_invocation_short_name); in __getProgramName() 118 return strdup(program_name); in __getProgramName() 136 char *n = strdup(e); in __getProgramName() 138 progname = strdup(basename(n)); in __getProgramName() 156 return strdup(progname); in __getProgramName() 166 return strdup(info.name); in __getProgramName() [all …]
|
D | u_string.h | 117 #define strdup _strdup macro
|
D | u_debug_stack_android.cpp | 48 entry = _mesa_hash_table_insert_pre_hashed(symbol_table, hash, symbol, strdup(symbol)); in intern_symbol()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | alsa_default.cpp | 1325 return strdup(SND_USE_CASE_DEV_TTY_HEADSET_RX); in getUCMDevice() 1327 return strdup(SND_USE_CASE_DEV_TTY_FULL_RX); in getUCMDevice() 1329 return strdup(SND_USE_CASE_DEV_TTY_HANDSET_RX); /* HANDSET RX */ in getUCMDevice() 1333 return strdup(SND_USE_CASE_DEV_PROXY_RX); /* PROXY RX */ in getUCMDevice() 1338 … return strdup(SND_USE_CASE_DEV_SPEAKER_ANC_HEADSET); /* COMBO SPEAKER+ANC HEADSET RX */ in getUCMDevice() 1340 return strdup(SND_USE_CASE_DEV_SPEAKER_HEADSET); /* COMBO SPEAKER+HEADSET RX */ in getUCMDevice() 1344 return strdup(SND_USE_CASE_DEV_HDMI_SPEAKER); in getUCMDevice() 1349 return strdup(SND_USE_CASE_DEV_SPEAKER_ANC_HEADSET); /* COMBO SPEAKER+ANC HEADSET RX */ in getUCMDevice() 1352 return strdup(SND_USE_CASE_DEV_SPEAKER_FM_TX); /* COMBO SPEAKER+FM_TX RX */ in getUCMDevice() 1357 … return strdup(SND_USE_CASE_DEV_VOC_EARPIECE_TMUS); /* Voice HANDSET RX for TMUS */ in getUCMDevice() [all …]
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 1350 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC] = strdup("bt-sco"); in set_platform_defaults() 1351 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC_NREC] = strdup("bt-sco"); in set_platform_defaults() 1352 backend_tag_table[SND_DEVICE_OUT_BT_SCO] = strdup("bt-sco"); in set_platform_defaults() 1353 backend_tag_table[SND_DEVICE_OUT_HDMI] = strdup("hdmi"); in set_platform_defaults() 1354 backend_tag_table[SND_DEVICE_OUT_SPEAKER_AND_HDMI] = strdup("speaker-and-hdmi"); in set_platform_defaults() 1355 backend_tag_table[SND_DEVICE_OUT_BT_SCO_WB] = strdup("bt-sco-wb"); in set_platform_defaults() 1356 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC_WB] = strdup("bt-sco-wb"); in set_platform_defaults() 1357 backend_tag_table[SND_DEVICE_IN_BT_SCO_MIC_WB_NREC] = strdup("bt-sco-wb"); in set_platform_defaults() 1358 backend_tag_table[SND_DEVICE_OUT_VOICE_TX] = strdup("afe-proxy"); in set_platform_defaults() 1359 backend_tag_table[SND_DEVICE_IN_VOICE_RX] = strdup("afe-proxy"); in set_platform_defaults() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/hash_table/ |
D | collision.c | 44 const char *str1 = strdup("test1"); in main() 45 const char *str2 = strdup("test2"); in main() 46 const char *str3 = strdup("test3"); in main()
|
D | replacement.c | 39 char *str1 = strdup("test1"); in main() 40 char *str2 = strdup("test1"); in main()
|
/hardware/interfaces/sensors/common/utils/ |
D | convertV2_1.h | 81 dst->name = strdup(src.name.c_str()); in convertToSensor() 82 dst->vendor = strdup(src.vendor.c_str()); in convertToSensor() 92 dst->stringType = strdup(src.typeAsString.c_str()); in convertToSensor() 93 dst->requiredPermission = strdup(src.requiredPermission.c_str()); in convertToSensor()
|
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | MapperMetadata.h | 74 meta.name = strdup(name.c_str()); in AIMapper_MetadataType() 115 description = strdup(desc.description); in MetadataTypeDescription() 124 desc.description = strdup(description); in AIMapper_MetadataTypeDescription() 131 description = strdup(desc); in MetadataTypeDescription()
|
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/ |
D | emugl_config.cpp | 79 res.props[i].make = strdup(infos[i].make.c_str()); in emuglConfig_get_host_gpu_props() 80 res.props[i].model = strdup(infos[i].model.c_str()); in emuglConfig_get_host_gpu_props() 81 res.props[i].device_id = strdup(infos[i].device_id.c_str()); in emuglConfig_get_host_gpu_props() 82 res.props[i].revision_id = strdup(infos[i].revision_id.c_str()); in emuglConfig_get_host_gpu_props() 83 res.props[i].version = strdup(infos[i].version.c_str()); in emuglConfig_get_host_gpu_props() 84 res.props[i].renderer = strdup(infos[i].renderer.c_str()); in emuglConfig_get_host_gpu_props()
|
/hardware/google/gfxstream/host/gl/gl-host-common/ |
D | opengles.cpp | 295 return strdup(src); in strdupBaseString() 300 return strdup(src); in strdupBaseString() 342 *vendor = strdup(strings.vendor.c_str()); in android_getOpenglesHardwareStrings() 343 *renderer = strdup(strings.renderer.c_str()); in android_getOpenglesHardwareStrings() 344 *version = strdup(strings.version.c_str()); in android_getOpenglesHardwareStrings()
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 749 backend_table[SND_DEVICE_IN_BT_SCO_MIC] = strdup("bt-sco"); in set_platform_defaults() 750 backend_table[SND_DEVICE_IN_BT_SCO_MIC_WB] = strdup("bt-sco-wb"); in set_platform_defaults() 751 backend_table[SND_DEVICE_IN_BT_SCO_MIC_NREC] = strdup("bt-sco"); in set_platform_defaults() 752 backend_table[SND_DEVICE_IN_BT_SCO_MIC_WB_NREC] = strdup("bt-sco-wb"); in set_platform_defaults() 753 backend_table[SND_DEVICE_OUT_BT_SCO] = strdup("bt-sco"); in set_platform_defaults() 754 backend_table[SND_DEVICE_OUT_BT_SCO_WB] = strdup("bt-sco-wb"); in set_platform_defaults() 755 backend_table[SND_DEVICE_OUT_BT_A2DP] = strdup("bt-a2dp"); in set_platform_defaults() 756 backend_table[SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP] = strdup("speaker-and-bt-a2dp"); in set_platform_defaults() 758 strdup("speaker-safe-and-bt-a2dp"); in set_platform_defaults() 759 backend_table[SND_DEVICE_OUT_HDMI] = strdup("hdmi"); in set_platform_defaults() [all …]
|
/hardware/qcom/audio/hal/ |
D | acdb.c | 118 snd_card_name = strdup(mixer_get_name(mixer)); in acdb_init() 171 my_data->snd_card_name = strdup(value); in acdb_set_parameters()
|
/hardware/google/aemu/base/include/aemu/base/testing/ |
D | Utils.h | 46 auto oldLocaleCopy = android::base::ScopedCPtr<char>(strdup(oldLocale));
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | process_test.c | 97 build_path = strdup(build_path); in test_util_get_process_exec_path()
|
/hardware/interfaces/sensors/1.0/default/ |
D | convert.cpp | 48 dst->name = strdup(src.name.c_str()); in convertToSensor() 49 dst->vendor = strdup(src.vendor.c_str()); in convertToSensor() 59 dst->stringType = strdup(src.typeAsString.c_str()); in convertToSensor() 60 dst->requiredPermission = strdup(src.requiredPermission.c_str()); in convertToSensor()
|
/hardware/google/gfxstream/guest/fuchsia/ |
D | port.cc | 32 char *dup = strdup(file); in linux_log_prefix()
|
/hardware/qcom/gps/msm8998/android/ |
D | AGnss.cpp | 125 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | audio_extn.c | 49 char *snd_card_name = strdup(in_snd_card_name); in audio_extn_set_snd_card_split()
|
/hardware/qcom/gps/msm8909w_3100/android/ |
D | AGnss.cpp | 126 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
|
/hardware/ril/reference-ril/ |
D | atchannel.c | 127 p_new->line = strdup(line); in addIntermediate() 222 sp_response->finalResponse = strdup(line); in handleFinalResponse() 448 line1 = strdup(line); in readerLoop()
|
/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 140 return strdup(""); in out_get_parameters() 289 return strdup(""); in in_get_parameters() 422 return strdup(""); in adev_get_parameters()
|
/hardware/interfaces/sensors/aidl/convert/ |
D | convert.cpp | 68 dst->name = strdup(src.name.c_str()); in convertToSensor() 69 dst->vendor = strdup(src.vendor.c_str()); in convertToSensor() 79 dst->stringType = strdup(src.typeAsString.c_str()); in convertToSensor() 80 dst->requiredPermission = strdup(src.requiredPermission.c_str()); in convertToSensor()
|
/hardware/qcom/sm7250/gps/android/1.0/ |
D | AGnss.cpp | 194 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
|
/hardware/qcom/sm7150/gps/android/1.1/ |
D | AGnss.cpp | 194 config.assistanceServer.hostName = strdup(hostname.c_str()); in setServer()
|