Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/hardware/qcom/display/msm8909/libqdutils/
Dmdp_version.cpp164 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
167 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
170 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
173 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
195 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
201 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
205 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
209 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
213 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
217 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
/hardware/qcom/display/msm8994/libqdutils/
Dmdp_version.cpp172 if(strncmp(fbType, strCmdPanel, strlen(strCmdPanel)) == 0) { in updatePanelInfo()
175 else if(strncmp(fbType, strVideoPanel, strlen(strVideoPanel)) == 0) { in updatePanelInfo()
178 else if(strncmp(fbType, strLVDSPanel, strlen(strLVDSPanel)) == 0) { in updatePanelInfo()
181 else if(strncmp(fbType, strEDPPanel, strlen(strEDPPanel)) == 0) { in updatePanelInfo()
203 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { in updatePanelInfo()
209 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { in updatePanelInfo()
213 if(!strncmp(tokens[0], "walign", strlen("walign"))) { in updatePanelInfo()
217 if(!strncmp(tokens[0], "ystart", strlen("ystart"))) { in updatePanelInfo()
221 if(!strncmp(tokens[0], "halign", strlen("halign"))) { in updatePanelInfo()
225 if(!strncmp(tokens[0], "min_w", strlen("min_w"))) { in updatePanelInfo()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_info.cpp138 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) { in GetDynamicBWLimits()
140 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) { in GetDynamicBWLimits()
142 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) { in GetDynamicBWLimits()
144 } else if (!strncmp(tokens[0], "hflip_pipe", strlen("hflip_pipe"))) { in GetDynamicBWLimits()
146 } else if (!strncmp(tokens[0], "default", strlen("default"))) { in GetDynamicBWLimits()
148 } else if (!strncmp(tokens[0], "camera", strlen("camera"))) { in GetDynamicBWLimits()
150 } else if (!strncmp(tokens[0], "vflip", strlen("vflip"))) { in GetDynamicBWLimits()
152 } else if (!strncmp(tokens[0], "hflip", strlen("hflip"))) { in GetDynamicBWLimits()
198 if (!strncmp(tokens[0], "hw_rev", strlen("hw_rev"))) { in GetHWResourceInfo()
200 } else if (!strncmp(tokens[0], "rot_input_fmts", strlen("rot_input_fmts"))) { in GetHWResourceInfo()
[all …]
/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 …]
/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 …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c76 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
77 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
78 numstrlen = sscanf(ent->d_name + strlen(type), in find_type_by_name()
82 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
85 filename = malloc(strlen(iio_dir) in find_type_by_name()
86 + strlen(type) in find_type_by_name()
149 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input()
156 if(!memcmp(&line[i], name, strlen(name))){ in parsing_proc_input()
229 for (i=0; i<strlen(chip_name[j]); i++) { in init_iio()
232 iio_chip[strlen(chip_name[j])] = '\0'; in init_iio()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c84 strlen(ent->d_name) > strlen(type) && in find_type_by_name()
85 strncmp(ent->d_name, type, strlen(type)) == 0) { in find_type_by_name()
86 numstrlen = sscanf(ent->d_name + strlen(type), in find_type_by_name()
90 if (strncmp(ent->d_name + strlen(type) + numstrlen, in find_type_by_name()
93 filename = malloc(strlen(iio_dir) in find_type_by_name()
94 + strlen(type) in find_type_by_name()
157 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input()
164 if(!memcmp(&line[i], name, strlen(name))){ in parsing_proc_input()
237 for (i=0; i<strlen(chip_name[j]); i++) { in init_iio()
240 iio_chip[strlen(chip_name[j])] = '\0'; in init_iio()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c127 SND_UCM_END_OF_LIST, strlen(SND_UCM_END_OF_LIST))) { in snd_use_case_get_list()
137 SND_USE_CASE_VERB_INACTIVE, strlen(SND_USE_CASE_VERB_INACTIVE))) { in snd_use_case_get_list()
145 (strlen(verb_list[index].use_case_name)+1))) { in snd_use_case_get_list()
151 SND_UCM_END_OF_LIST, strlen(SND_UCM_END_OF_LIST))) { in snd_use_case_get_list()
169 (strlen(verb_list[index].use_case_name)+1))) { in snd_use_case_get_list()
175 SND_UCM_END_OF_LIST, strlen(SND_UCM_END_OF_LIST))) { in snd_use_case_get_list()
326 (strlen(ident2)+1))) { in snd_use_case_get()
328 SND_UCM_END_OF_LIST, strlen(SND_UCM_END_OF_LIST))){ in snd_use_case_get()
391 strlen(SND_UCM_END_OF_LIST))){ in snd_use_case_get()
424 while(strncmp(ctrl_list[index].case_name, ident2, strlen(ident2)+1)) { in snd_use_case_get()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h303 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
334 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
363 strlen(ent->d_name) - in build_channel_array()
364 strlen("_en")); in build_channel_array()
440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
494 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
554 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
576 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
617 if (strncmp(ent->d_name, pattern, strlen(pattern)) == 0 && in enable_se()
618 strncmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in enable_se()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h303 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
334 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
363 strlen(ent->d_name) - in build_channel_array()
364 strlen("_en")); in build_channel_array()
440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
494 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
554 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
576 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
617 if (strncmp(ent->d_name, pattern, strlen(pattern)) == 0 && in enable_se()
618 strncmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in enable_se()
[all …]
/hardware/ti/omap4-aah/security/tf_daemon/
Ddelegation_client_extension.c96 partitionNames[0] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
106 partitionNames[1] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
116 partitionNames[2] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
126 partitionNames[15] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client_extension.c96 partitionNames[0] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
106 partitionNames[1] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
116 partitionNames[2] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
126 partitionNames[15] = malloc (strlen(tmpChar) + 1); in parseCommandLineExtension()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h302 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
333 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
362 strlen(ent->d_name) - in build_channel_array()
363 strlen("_en")); in build_channel_array()
521 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
580 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
602 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_poslonglong()
624 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
662 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in enable()
691 if (strncmp(ent->d_name, "in_quaternion", strlen("in_quaternion")) == 0) { in disable_q_out()
/hardware/libhardware_legacy/qemu_tracing/
Dqemu_tracing.c64 if (strlen(name) > MAX_SYMBOL_NAME_LENGTH) in qemu_add_mapping()
70 write(fd, buf, strlen(buf)); in qemu_add_mapping()
83 write(fd, buf, strlen(buf)); in qemu_remove_mapping()
/hardware/qcom/power/
Dpower.c78 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in sync_thread()
81 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in sync_thread()
104 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in enc_boost()
107 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in enc_boost()
160 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in touch_boost()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_vsync.cpp63 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) { in handle_vsync_event()
64 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0); in handle_vsync_event()
74 if (!strncmp(data, PANEL_ON_STR, strlen(PANEL_ON_STR))) { in handle_blank_event()
75 unsigned long int poweron = strtoul(data + strlen(PANEL_ON_STR), NULL, 0); in handle_blank_event()
87 if (!strncmp(data, "thermal_level=", strlen("thermal_level="))) { in handle_thermal_event()
88 thermalLevel = strtoull(data + strlen("thermal_level="), NULL, 0); in handle_thermal_event()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec_utils.cpp315 (char *) malloc((strlen(property_value) + 1) * sizeof(char)); in omx_swvdec_diag()
321 (strlen(property_value) + 1) * sizeof(char)); in omx_swvdec_diag()
325 strncpy(m_filename_ip, property_value, strlen(property_value) + 1); in omx_swvdec_diag()
336 (char *) malloc((strlen(property_value) + 1) * sizeof(char)); in omx_swvdec_diag()
342 (strlen(property_value) + 1) * sizeof(char)); in omx_swvdec_diag()
346 strncpy(m_filename_op, property_value, strlen(property_value) + 1); in omx_swvdec_diag()
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c109 os_memcpy(buf, cmd, strlen(cmd) + 1); in wpa_driver_nl80211_driver_cmd()
133 ret = strlen(buf); in wpa_driver_nl80211_driver_cmd()
135 wpa_printf(MSG_DEBUG, "%s %s len = %d, %zu", __func__, buf, ret, strlen(buf)); in wpa_driver_nl80211_driver_cmd()
148 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf)+1); in wpa_driver_set_p2p_noa()
164 return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf) + 1); in wpa_driver_set_p2p_ps()
192 buf_len = strlen(_cmd) + 3 + wpabuf_len(ap_wps_p2p_ie); in wpa_driver_set_ap_wps_p2p_ie()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_vsync.cpp63 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) { in handle_vsync_event()
64 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0); in handle_vsync_event()
74 if (!strncmp(data, PANEL_ON_STR, strlen(PANEL_ON_STR))) { in handle_blank_event()
75 unsigned long int poweron = strtoul(data + strlen(PANEL_ON_STR), NULL, 0); in handle_blank_event()
87 if (!strncmp(data, "thermal_level=", strlen("thermal_level="))) { in handle_thermal_event()
88 thermalLevel = strtoull(data + strlen("thermal_level="), NULL, 0); in handle_thermal_event()
/hardware/bsp/intel/peripheral/libmraa/src/iio/
Diio.c94 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), "_en") == 0) { in mraa_iio_get_channel_data()
109 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_index"), "_index") == 0) { in mraa_iio_get_channel_data()
122 buf[(strlen(buf) - 5)] = '\0'; in mraa_iio_get_channel_data()
206 if (strncmp(device->name, name, strlen(device->name) + 1) == 0) { in mraa_iio_get_device_num_by_name()
280 size_t len = strlen(data); in mraa_iio_write_string()
380 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), "_en") == 0) { in mraa_iio_get_event_data()
399 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), "_en") == 0) { in mraa_iio_get_event_data()
599 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_index"), "_index") == 0) { in mraa_iio_update_channels()
613 buf[(strlen(buf) - 5)] = '\0'; in mraa_iio_update_channels()
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
Dperf_config.c192 *line && line[strlen(line)-1] != '\n') in PERF_Config_Read()
200 while (*line && isspace(line [strlen(line)-1])) in PERF_Config_Read()
202 line[strlen(line)-1] = 0; in PERF_Config_Read()
243 if (strncasecmp(line, argument, strlen(argument))) return (NULL); in get_value_if_matches()
244 line += strlen(argument); in get_value_if_matches()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.cpp336 strncat(buf, str, strlen(str)); in getDump()
349 strncat(buf, str_src, strlen(str_src)); in getDump()
358 strncat(buf, str_rect, strlen(str_rect)); in getDump()
367 strncat(buf, str, strlen(str)); in getDump()
378 strncat(buf, str_data, strlen(str_data)); in getDump()
387 strncat(buf, str, strlen(str)); in getDump()
399 strncat(buf, str, strlen(str)); in getDump()
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dsource_track.c266 len = strlen(kv_pairs); in parse_soundfocus_sourcetracking_keys()
445 snprintf(value + strlen(value), MAX_STR_SIZE, ","); in send_soundfocus_sourcetracking_params()
446 snprintf(value + strlen(value), MAX_STR_SIZE, "%d", sound_focus_data.start_angle[i]); in send_soundfocus_sourcetracking_params()
457 snprintf(value + strlen(value), MAX_STR_SIZE, ","); in send_soundfocus_sourcetracking_params()
458 snprintf(value + strlen(value), MAX_STR_SIZE, "%d", sound_focus_data.enable[i]); in send_soundfocus_sourcetracking_params()
472 snprintf(value + strlen(value), MAX_STR_SIZE, ","); in send_soundfocus_sourcetracking_params()
473 snprintf(value + strlen(value), MAX_STR_SIZE, "%d", source_tracking_data.vad[i]); in send_soundfocus_sourcetracking_params()
492 snprintf(value + strlen(value), MAX_STR_SIZE, ","); in send_soundfocus_sourcetracking_params()
493 … snprintf(value + strlen(value), MAX_STR_SIZE, "%d", source_tracking_data.polar_activity[i]); in send_soundfocus_sourcetracking_params()
531 len = strlen(kv_pairs); in audio_extn_source_track_set_parameters()
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_sample/src/
Domx_proxy_sample.c94 assert(strlen(COMPONENT_NAME) + 1 < MAX_COMPONENT_NAME_LENGTH); in OMX_ComponentInit()
96 strlen(COMPONENT_NAME) + 1); in OMX_ComponentInit()
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_sample/src/
Domx_proxy_sample.c94 assert(strlen(COMPONENT_NAME) + 1 < MAX_COMPONENT_NAME_LENGTH); in OMX_ComponentInit()
96 strlen(COMPONENT_NAME) + 1); in OMX_ComponentInit()

12345678910>>...12