/hardware/google/pixel/usb/ |
D | I2cHelper.cpp | 39 struct dirent *ep; in getI2cBusNumberString() local 41 while ((ep = readdir(dp))) { in getI2cBusNumberString() 42 if (ep->d_type == DT_DIR) { in getI2cBusNumberString() 44 if (string::npos != string(ep->d_name).find("i2c-")) { in getI2cBusNumberString() 45 std::strtok(ep->d_name, "-"); in getI2cBusNumberString() 87 struct dirent *ep; in getI2cClientPath() local 90 while ((ep = readdir(dp))) { in getI2cClientPath() 91 if (ep->d_type == DT_DIR) { in getI2cClientPath() 92 if (string::npos != string(ep->d_name).find(devName)) { in getI2cClientPath() 96 if (string::npos != string(ep->d_name).find(i2cClientDevice)) { in getI2cClientPath()
|
D | UsbBusHelper.cpp | 34 struct dirent *ep; in getBusNumberString() local 36 while ((ep = readdir(dp))) { in getBusNumberString() 37 if (ep->d_type == DT_DIR) { in getBusNumberString() 39 if (string::npos != string(ep->d_name).find(string(busType + "-"))) { in getBusNumberString() 40 std::strtok(ep->d_name, "-"); in getBusNumberString() 90 struct dirent *ep; in getBusClientPath() local 93 while ((ep = readdir(dp))) { in getBusClientPath() 94 if (ep->d_type == DT_DIR) { in getBusClientPath() 95 if (!devName.empty() && string::npos != string(ep->d_name).find(devName)) { in getBusClientPath() 99 if (string::npos != string(ep->d_name).find(busClientDevice)) { in getBusClientPath()
|
D | UsbDpUtils.cpp | 396 struct dirent *ep; in getDisplayPortUsbPathHelper() local 398 while ((ep = readdir(dp))) { in getDisplayPortUsbPathHelper() 399 if (ep->d_type == DT_DIR) { in getDisplayPortUsbPathHelper() 402 string(kPortPartnerPath) + string(ep->d_name) + "/displayport/"; in getDisplayPortUsbPathHelper() 575 struct dirent *ep; in queryPartnerSvids() local 577 while ((ep = readdir(dp))) { in queryPartnerSvids() 578 if (ep->d_type == DT_DIR) { in queryPartnerSvids() 580 string portPartnerPath = string(kPortPartnerPath) + string(ep->d_name) + "/svid"; in queryPartnerSvids()
|
D | MonitorFfs.cpp | 297 void MonitorFfs::addEndPoint(std::string ep) { in addEndPoint() argument 300 mEndpointList.push_back(ep); in addEndPoint()
|
/hardware/interfaces/automotive/ivn_android_device/impl/default/src/ |
D | IvnAndroidDeviceService.cpp | 101 Json::Value& ep = device["EndpointInfo"]; in init() local 104 endpointInfo.ipAddress = ep["IpAddress"].asString(); in init() 105 endpointInfo.portNumber = ep["PortNumber"].asInt(); in init() 107 if (ep.isMember("BrandName")) { in init() 108 hardwareId.brandName = ep["BrandName"].asString(); in init() 110 if (ep.isMember("DeviceName")) { in init() 111 hardwareId.deviceName = ep["DeviceName"].asString(); in init() 113 if (ep.isMember("ProductName")) { in init() 114 hardwareId.productName = ep["ProductName"].asString(); in init() 116 if (ep.isMember("ManufacturerName")) { in init() [all …]
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSupport.cpp | 288 struct dirent *ep; in read_sysfs_dir() local 296 while ((ep = readdir (dp))) { in read_sysfs_dir() 297 if(ep != NULL) { in read_sysfs_dir() 298 LOGV_IF(0,"file name %s", ep->d_name); in read_sysfs_dir() 299 if(!strcmp(ep->d_name, ".") || !strcmp(ep->d_name, "..") || in read_sysfs_dir() 300 !strcmp(ep->d_name, "uevent") || !strcmp(ep->d_name, "dev") || in read_sysfs_dir() 301 !strcmp(ep->d_name, "self_test")) in read_sysfs_dir() 303 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name); in read_sysfs_dir()
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSupport.cpp | 291 struct dirent *ep; in read_sysfs_dir() local 299 while ((ep = readdir (dp))) { in read_sysfs_dir() 300 if(ep != NULL) { in read_sysfs_dir() 301 LOGV_IF(0,"file name %s", ep->d_name); in read_sysfs_dir() 302 if(!strcmp(ep->d_name, ".") || !strcmp(ep->d_name, "..") || in read_sysfs_dir() 303 !strcmp(ep->d_name, "uevent") || !strcmp(ep->d_name, "dev") || in read_sysfs_dir() 304 !strcmp(ep->d_name, "self_test")) in read_sysfs_dir() 306 sprintf(full_path, "%s%s%s", sysfs_path, "/", ep->d_name); in read_sysfs_dir()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_ideal_endpoints_and_weights.cpp | 114 ei.ep.partition_count = partition_count; in compute_ideal_colors_and_weights_1_comp() 193 ei.ep.endpt0[i] = select(blk.data_min, vfloat4(lowvalue), sep_mask); in compute_ideal_colors_and_weights_1_comp() 194 ei.ep.endpt1[i] = select(blk.data_max, vfloat4(highvalue), sep_mask); in compute_ideal_colors_and_weights_1_comp() 225 ei.ep.partition_count = partition_count; in compute_ideal_colors_and_weights_2_comp() 331 ei.ep.endpt0[i] = select(ep0, vfloat4(lowvalue.lane<1>()), comp2_mask); in compute_ideal_colors_and_weights_2_comp() 332 ei.ep.endpt1[i] = select(ep1, vfloat4(highvalue.lane<1>()), comp2_mask); in compute_ideal_colors_and_weights_2_comp() 361 ei.ep.partition_count = partition_count; in compute_ideal_colors_and_weights_3_comp() 484 ei.ep.endpt0[i] = vfloat4(bmin.lane<0>(), ep0.lane<0>(), ep0.lane<1>(), ep0.lane<2>()); in compute_ideal_colors_and_weights_3_comp() 485 ei.ep.endpt1[i] = vfloat4(bmax.lane<0>(), ep1.lane<0>(), ep1.lane<1>(), ep1.lane<2>()); in compute_ideal_colors_and_weights_3_comp() 488 ei.ep.endpt0[i] = vfloat4(ep0.lane<0>(), bmin.lane<1>(), ep0.lane<1>(), ep0.lane<2>()); in compute_ideal_colors_and_weights_3_comp() [all …]
|
D | astcenc_compress_symbolic.cpp | 417 vfloat4 ep = (vfloat4(1.0f) - ei.ep.endpt0[i]) / (ei.ep.endpt1[i] - ei.ep.endpt0[i]); in compress_symbolic_block_for_partition_1plane() local 419 vmask4 use_ep = (ep > vfloat4(0.5f)) & (ep < min_ep); in compress_symbolic_block_for_partition_1plane() 420 min_ep = select(min_ep, ep, use_ep); in compress_symbolic_block_for_partition_1plane() 501 pi, blk, ei.ep, qwt_bitcounts, qwt_errors, in compress_symbolic_block_for_partition_1plane() 532 endpoints workep = ei.ep; in compress_symbolic_block_for_partition_1plane() 774 vfloat4 ep1 = (vfloat4(1.0f) - ei1.ep.endpt0[0]) / (ei1.ep.endpt1[0] - ei1.ep.endpt0[0]); in compress_symbolic_block_for_partition_2planes() 778 vfloat4 ep2 = (vfloat4(1.0f) - ei2.ep.endpt0[0]) / (ei2.ep.endpt1[0] - ei2.ep.endpt0[0]); in compress_symbolic_block_for_partition_2planes() 876 merge_endpoints(ei1.ep, ei2.ep, plane2_component, epm); in compress_symbolic_block_for_partition_2planes()
|
D | astcenc_pick_best_endpoint_format.cpp | 225 const endpoints& ep, in compute_encoding_choice_errors() argument 286 vfloat4 endpt0 = ep.endpt0[i]; in compute_encoding_choice_errors() 287 vfloat4 endpt1 = ep.endpt1[i]; in compute_encoding_choice_errors() 321 const endpoints& ep, in compute_color_error_for_every_integer_count_and_quant_level() argument 352 vfloat4 ep0 = ep.endpt0[partition_index]; in compute_color_error_for_every_integer_count_and_quant_level() 353 vfloat4 ep1 = ep.endpt1[partition_index]; in compute_color_error_for_every_integer_count_and_quant_level() 1097 const endpoints& ep, in compute_ideal_endpoint_formats() argument 1121 compute_encoding_choice_errors(blk, pi, ep, eci); in compute_ideal_endpoint_formats() 1129 pi, eci[i], ep, blk.channel_weight, best_error[i], in compute_ideal_endpoint_formats()
|
D | astcenc_internal.h | 883 endpoints ep; member 1870 const endpoints& ep, 1901 endpoints& ep, 1927 endpoints& ep,
|
/hardware/interfaces/usb/gadget/aidl/default/ |
D | UsbGadget.cpp | 186 struct dirent *ep; in getI2cBusHelper() local 188 while ((ep = readdir(dp))) { in getI2cBusHelper() 189 if (ep->d_type == DT_DIR) { in getI2cBusHelper() 190 if (string::npos != string(ep->d_name).find("i2c-")) { in getI2cBusHelper() 191 std::strtok(ep->d_name, "-"); in getI2cBusHelper()
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 172 struct dirent *ep; in getTypeCPortNamesHelper() local 174 while ((ep = readdir (dp))) { in getTypeCPortNamesHelper() 175 if (ep->d_type == DT_LNK) { in getTypeCPortNamesHelper() 188 while ((ep = readdir (dp))) { in getTypeCPortNamesHelper() 189 if (ep->d_type == DT_LNK) { in getTypeCPortNamesHelper() 195 names[current++] = ep->d_name; in getTypeCPortNamesHelper()
|
/hardware/google/pixel/health/ |
D | BatteryDefender.cpp | 193 struct dirent *ep; in isWiredPresent() local 195 while ((ep = readdir(dp))) { in isWiredPresent() 196 if (ep->d_type == DT_LNK) { in isWiredPresent() 197 if (std::string::npos != std::string(ep->d_name).find("-partner")) { in isWiredPresent() 198 std::string portName = std::strtok(ep->d_name, "-"); in isWiredPresent()
|
/hardware/interfaces/usb/aidl/default/ |
D | Usb.cpp | 436 struct dirent *ep; in getTypeCPortNamesHelper() local 438 while ((ep = readdir(dp))) { in getTypeCPortNamesHelper() 439 if (ep->d_type == DT_LNK) { in getTypeCPortNamesHelper() 440 if (string::npos == string(ep->d_name).find("-partner")) { in getTypeCPortNamesHelper() 442 names->find(ep->d_name); in getTypeCPortNamesHelper() 444 names->insert({ep->d_name, false}); in getTypeCPortNamesHelper() 447 (*names)[std::strtok(ep->d_name, "-")] = true; in getTypeCPortNamesHelper()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_LanToLan.h | 104 int ep; member 144 …handle_client_add(uint8_t *mac, bool is_l2tp_client, l2tp_vlan_mapping_info *mapping_info, int ep);
|
D | IPACM_Lan.h | 157 …r_l2_type peer_l2_hdr_type, ipa_ip_type iptype, uint32_t *rt_rule_hdl, int *rt_rule_count, int ep); 215 uint32_t *ipv6_addr, char *iface_name, int ep);
|
/hardware/google/pixel/usb/include/pixelusb/ |
D | MonitorFfs.h | 85 void addEndPoint(std::string ep);
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Filtering.cpp | 83 IPACMDBG("End point: %d and global value: %d\n", ruleTable->ep, ruleTable->global); in AddFilteringRule() 132 IPACMDBG("End point: %d and global value: %d\n", ruleTable->ep, ruleTable->global); in AddFilteringRule_hw_index() 152 ruleTable_v2->ep = ruleTable->ep; in AddFilteringRule_hw_index() 246 IPACMDBG("ep: %d\n", ruleTable->ep); in AddFilteringRuleAfter_hw_index() 269 ruleTable_v2->ep = ruleTable->ep; in AddFilteringRuleAfter_hw_index() 369 IPACMDBG("End point: %d\n", ruleTable->ep); in AddFilteringRuleAfter()
|
D | IPACM_LanToLan.cpp | 474 it_iface->handle_client_add(data->mac_addr, is_l2tp_client, mapping_info, data->ep); in handle_client_add() 919 peer_l2_hdr_type, IPA_IP_v4, rt_rule_hdl, &num_rt_rule, client->ep); in add_client_rt_rule() 930 peer_l2_hdr_type, IPA_IP_v6, rt_rule_hdl, &num_rt_rule, client->ep); in add_client_rt_rule() 944 peer_l2_hdr_type, IPA_IP_v4, rt_rule_hdl, &num_rt_rule, client->ep); in add_client_rt_rule() 955 peer_l2_hdr_type, IPA_IP_v6, rt_rule_hdl, &num_rt_rule, client->ep); in add_client_rt_rule() 1588 int ep) in handle_client_add() argument 1615 new_client.ep = ep; in handle_client_add()
|
/hardware/interfaces/usb/gadget/1.2/default/lib/ |
D | MonitorFfs.cpp | 253 void MonitorFfs::addEndPoint(string ep) { in addEndPoint() argument 256 mEndpointList.push_back(ep); in addEndPoint()
|
/hardware/interfaces/usb/gadget/1.1/default/lib/ |
D | MonitorFfs.cpp | 253 void MonitorFfs::addEndPoint(string ep) { in addEndPoint() argument 256 mEndpointList.push_back(ep); in addEndPoint()
|
/hardware/interfaces/usb/gadget/1.2/default/lib/include/ |
D | UsbGadgetCommon.h | 145 void addEndPoint(string ep);
|
/hardware/interfaces/usb/gadget/1.1/default/lib/include/ |
D | UsbGadgetCommon.h | 143 void addEndPoint(string ep);
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Filtering.cpp | 79 IPACMDBG("End point: %d and global value: %d\n", ruleTable->ep, ruleTable->global); in AddFilteringRule() 125 IPACMDBG("End point: %d\n", ruleTable->ep); in AddFilteringRuleAfter()
|