Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 25 of 132) sorted by relevance

123456

/hardware/qcom/display/msm8226/libqdutils/
Dmdp_version.cpp150 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
153 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
156 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
159 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
180 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
186 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
190 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
194 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
198 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
202 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
/hardware/qcom/display/msm8084/libqdutils/
Dmdp_version.cpp144 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
147 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
150 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
153 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
174 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
180 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
184 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
188 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
192 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
196 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp284 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setHardwareParams()
285 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setHardwareParams()
360 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setSoftwareParams()
361 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setSoftwareParams()
415 …if (!strncmp(curRxUCMDevice, SND_USE_CASE_DEV_SPEAKER, MAX_LEN(curRxUCMDevice, SND_USE_CASE_DEV_SP… in switchDevice()
456 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in switchDevice()
457 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in switchDevice()
468 if (((strncmp(rxDevice, curRxUCMDevice, MAX_STR_LEN)) || in switchDevice()
469 (strncmp(txDevice, curTxUCMDevice, MAX_STR_LEN))) && in switchDevice()
492 if ((strncmp(curRxUCMDevice, "None", 4)) && in switchDevice()
[all …]
DALSAStreamOps.cpp252 …if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECA… in getParameters()
253 … (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) in getParameters()
351 …if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECA… in close()
352 … (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) { in close()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c125 if (!strncmp(identifier, "_verbs", 6)) { in snd_use_case_get_list()
126 while(strncmp(uc_mgr->card_ctxt_ptr->verb_list[index], in snd_use_case_get_list()
135 } else if (!strncmp(identifier, "_devices", 8)) { in snd_use_case_get_list()
136 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
143 while(strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
150 while(strncmp(verb_list[verb_index].device_list[index], in snd_use_case_get_list()
159 } else if (!strncmp(identifier, "_modifiers", 10)) { in snd_use_case_get_list()
160 if (!strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
167 while(strncmp(uc_mgr->card_ctxt_ptr->current_verb, in snd_use_case_get_list()
174 while(strncmp(verb_list[verb_index].modifier_list[index], in snd_use_case_get_list()
[all …]
Dalsaucm_test.c108 if (!strncmp(cmdstr, exit_str, strlen(cmdstr))) { in alsaucm_test_cmd_svr()
152 if (!strncmp(argv[0], help_str, strlen(argv[0]))) in main()
178 if (strncmp(cmd->cmd_str, command, strlen(cmd->cmd_str)) == 0) in process_cmd()
/hardware/akm/AK8975_FS/akmdfs/
DAKFS_Disp.c80 if (!strncmp(msg, "1", 1)) { in Menu_Main()
82 } else if (!strncmp(msg, "2", 1)) { in Menu_Main()
84 } else if (strncmp(msg, "Q", 1) == 0 || strncmp(msg, "q", 1) == 0) { in Menu_Main()
DAKFS_FileIO.c61 if (strncmp(buf, "HO.x", sizeof(buf)) != 0) { in AKFS_LoadParameters()
68 if (strncmp(buf, "HO.y", sizeof(buf)) != 0) { in AKFS_LoadParameters()
75 if (strncmp(buf, "HO.z", sizeof(buf)) != 0) { in AKFS_LoadParameters()
/hardware/qcom/display/msm8974/libqdutils/
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
Dmdp_version.cpp59 if(!strncmp(fb_finfo.id, "msmfb", 5)) { in MDPVersion()
74 } else if (!strncmp(fb_finfo.id, "mdssfb", 6)) { in MDPVersion()
/hardware/qcom/display/msm8960/libqdutils/
Dcomptype.h66 if ((strncmp(property, "mdp", 3)) == 0) { in QCCompositionType()
68 } else if ((strncmp(property, "c2d", 3)) == 0) { in QCCompositionType()
70 } else if ((strncmp(property, "dyn", 3)) == 0) { in QCCompositionType()
Dmdp_version.cpp54 if(!strncmp(fb_finfo.id, "msmfb", 5)) { in MDPVersion()
69 } else if (!strncmp(fb_finfo.id, "mdssfb", 6)) { in MDPVersion()
/hardware/qcom/power/
Dpower.c126 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) { in process_video_encode_hint()
130 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) { in process_video_encode_hint()
134 } else if (!strncmp(metadata, STATE_HDR_ON, sizeof(STATE_HDR_ON))) { in process_video_encode_hint()
136 } else if (!strncmp(metadata, STATE_HDR_OFF, sizeof(STATE_HDR_OFF))) { in process_video_encode_hint()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_linux.c157 if (remote_type == NO_REMOTE && strncmp (buf, RWL_WIFI_ACTION_CMD, in dhd_ioctl()
158 strlen(RWL_WIFI_ACTION_CMD)) && strncmp(buf, RWL_WIFI_GET_ACTION_CMD, in dhd_ioctl()
330 !strncmp(dev_type, type, strlen(dev_type) - 1)) in dhd_find()
463 if (*argv && strncmp (*argv, "--wince", strlen(*argv)) == 0) { in main()
469 if (*argv && strncmp (*argv, "--socket", strlen(*argv)) == 0) { in main()
496 if (*argv && strncmp (*argv, "--dongle", strlen(*argv)) == 0) { in main()
502 if (*argv && strncmp (*argv, "--wifi", strlen(*argv)) == 0) { in main()
Dminiopt.c93 else if (!strncmp(p, "--", 2)) { in miniopt()
116 else if (!strncmp(p, "-", 1)) { in miniopt()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Domx_video_encoder.cpp126 if (!strncmp((char *)m_nkind,"OMX.qcom.video.encoder.mpeg4",\ in component_init()
131 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in component_init()
135 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in component_init()
139 } else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc.secure",\ in component_init()
146 else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.vp8", \ in component_init()
828 if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.mpeg4",\ in set_parameter()
834 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in set_parameter()
840 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in set_parameter()
846 } else if (!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc.secure",\ in set_parameter()
853 else if (!strncmp((char*)m_nkind, "OMX.qcom.video.encoder.vp8",\ in set_parameter()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Domx_video_encoder.cpp110 if(!strncmp((char *)m_nkind,"OMX.qcom.video.encoder.mpeg4",\ in component_init()
117 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in component_init()
123 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in component_init()
129 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc.secure",\ in component_init()
783 if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.mpeg4",\ in set_parameter()
791 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.h263",\ in set_parameter()
799 else if(!strncmp((char *)m_nkind, "OMX.qcom.video.encoder.avc",\ in set_parameter()
827 if(!strncmp((char*)m_nkind, "OMX.qcom.video.encoder.avc",OMX_MAX_STRINGNAME_SIZE)) in set_parameter()
829 if(!strncmp((char*)comp_role->cRole,"video_encoder.avc",OMX_MAX_STRINGNAME_SIZE)) in set_parameter()
839 else if(!strncmp((char*)m_nkind, "OMX.qcom.video.encoder.mpeg4",OMX_MAX_STRINGNAME_SIZE)) in set_parameter()
[all …]
/hardware/qcom/gps/core/
Dgps_extended.h79 !strncmp(anotherMode.credentials, credentials, sizeof(credentials)-1) && in equals()
80 !strncmp(anotherMode.provider, provider, sizeof(provider)-1); in equals()
/hardware/qcom/gps/msm8960/core/
Dgps_extended.h79 !strncmp(anotherMode.credentials, credentials, sizeof(credentials)-1) && in equals()
80 !strncmp(anotherMode.provider, provider, sizeof(provider)-1); in equals()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c77 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
82 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
321 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_name_by_sensor_type()
326 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_name_by_sensor_type()
367 if( !strncmp("mpu",sensor_name, 3) ) { in find_name_by_sensor_type()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c84 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
89 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
328 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_name_by_sensor_type()
333 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_name_by_sensor_type()
374 if( !strncmp("mpu",sensor_name, 3) ) { in find_name_by_sensor_type()
/hardware/qcom/display/msm8974/libexternal/
Dexternal.cpp71 if(strncmp(fbType, "dtv panel", strlen("dtv panel")) == 0){ in updateExtDispDevFbIndex()
74 } else if(strncmp(fbType, "writeback panel", in updateExtDispDevFbIndex()
149 if(!strncmp(s1,"hdmi",strlen(s1))) { in processUEventOnline()
154 }else if(!strncmp(s1,"wfd",strlen(s1))) { in processUEventOnline()
162 if(!strncmp(s1,"hdmi",strlen(s1))) { in processUEventOffline()
166 }else if(!strncmp(s1,"wfd",strlen(s1))) { in processUEventOffline()
220 if (strncmp(info, UNKNOWN_STRING, SPD_NAME_LENGTH)) { in setSPDInfo()
/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.9150.cpp304 || !strncmp(compass, "AK89xx",2) in fillList()
305 || !strncmp(compass, "ak89xx",2)) { in fillList()
313 || !strncmp(compass, "mlx90399",3) in fillList()
314 || !strncmp(compass, "MLX90399",3)) { in fillList()

123456