Home
last modified time | relevance | path

Searched refs:pins (Results 1 - 25 of 52) sorted by relevance

123

/third_party/jerryscript/targets/mbedos5/tools/
H A Dgenerate_pins.py17 Generate pins.cpp for a specified target, using target definitions from the
120 Enumerate pins specified in PinNames.h, by looking for a PinName enum
140 def write_pins_to_file(pins, pins_file, out_cpp_file):
142 Write the generated pins for a specified mbed board into the output C++ file.
149 '''.format(len(pins))
151 lengths = ',\n '.join(str(len(pin)) for pin in pins)
158 magic_values = ',\n '.join(pins)
165 magic_strings = ',\n '.join('"' + pin + '"' for pin in pins)
185 Generate pins.cpp for a specified mbed board, using target definitions from the
194 default='source/pins
[all...]
/third_party/ffmpeg/libavdevice/
H A Ddshow_enumpins.c29 long WINAPI ff_dshow_enumpins_Next(DShowEnumPins *this, unsigned long n, IPin **pins, in DECLARE_ADDREF()
34 if (!pins) in DECLARE_ADDREF()
38 *pins = (IPin *) this->pin; in DECLARE_ADDREF()
61 long WINAPI ff_dshow_enumpins_Clone(DShowEnumPins *this, DShowEnumPins **pins) in ff_dshow_enumpins_Clone() argument
65 if (!pins) in ff_dshow_enumpins_Clone()
71 *pins = new; in ff_dshow_enumpins_Clone()
H A Ddshow.c385 IEnumPins *pins = 0; in dshow_get_device_media_types() local
389 if (IBaseFilter_EnumPins(device_filter, &pins) != S_OK) in dshow_get_device_media_types()
392 while (IEnumPins_Next(pins, 1, &pin, NULL) == S_OK) { in dshow_get_device_media_types()
438 IEnumPins_Release(pins); in dshow_get_device_media_types()
544 // get media types exposed by pins of device in dshow_cycle_devices()
1166 * Cycle through available pins using the device_filter device, of type
1169 * If ppin is NULL, cycle through all pins listing audio/video capabilities.
1176 IEnumPins *pins = 0; in dshow_cycle_pins() local
1191 r = IBaseFilter_EnumPins(device_filter, &pins); in dshow_cycle_pins()
1193 av_log(avctx, AV_LOG_ERROR, "Could not enumerate pins in dshow_cycle_pins()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/colorfullight_demo/
H A Dcolorful_light_demo.c59 static const WifiIotGpioIdx pins[] = {RED_LED_PIN_NAME, GREEN_LED_PIN_NAME, BLUE_LED_PIN_NAME}; in CorlorfulLightTask() local
62 for (unsigned j = 0; j < sizeof(pins)/sizeof(pins[0]); j++) { in CorlorfulLightTask()
63 GpioSetOutputVal(pins[j], LED_BRIGHT); in CorlorfulLightTask()
65 GpioSetOutputVal(pins[j], LED_DARK); in CorlorfulLightTask()
/vendor/hisilicon/hispark_pegasus/demo/trafficlight_demo/
H A Dtraffic_light_demo.c45 WifiIotGpioIdx pins[] = {WIFI_IOT_GPIO_IDX_10, WIFI_IOT_GPIO_IDX_11, WIFI_IOT_GPIO_IDX_12}; in TrafficLightTask() local
48 GpioSetOutputVal(pins[j], WIFI_IOT_GPIO_VALUE1); in TrafficLightTask()
51 GpioSetOutputVal(pins[j], WIFI_IOT_GPIO_VALUE0); in TrafficLightTask()
58 GpioSetOutputVal(pins[j], g_ledStates[j]); in TrafficLightTask()
/third_party/jerryscript/targets/mbedos5/
H A DMakefile55 all: source/jerry-targetjs.h source/pins.cpp .mbed ../../.mbedignore
69 python ../../tools/js2c.py --ignore pins.js
71 source/pins.cpp:
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnetwork_security_config.cpp440 cJSON *pins = cJSON_GetObjectItem(root, TAG_PIN.c_str()); in ParseJsonPinSet() local
441 if (pins == nullptr || !cJSON_IsArray(pins)) { in ParseJsonPinSet()
444 uint32_t size = cJSON_GetArraySize(pins); in ParseJsonPinSet()
447 cJSON *pinsItem = cJSON_GetArrayItem(pins, i); in ParseJsonPinSet()
561 int32_t NetworkSecurityConfig::GetPinSetForHostName(const std::string &hostname, std::string &pins) in GetPinSetForHostName() argument
600 pins = ss.str(); in GetPinSetForHostName()
601 if (!pins.empty()) { in GetPinSetForHostName()
602 pins.pop_back(); in GetPinSetForHostName()
666 NETMGR_LOG_I("domainConfigs_.domains_.pinSet_.pins[ in DumpConfigs()
[all...]
/test/xts/hats/hdf/audio/idl/common/render_additional/src/
H A DAudioRenderCommonTest.cpp102 devDesc.pins = PIN_OUT_SPEAKER; in InitRenderDevDesc()
637 scene.desc.pins = PIN_OUT_HEADSET; in HWTEST_F()
665 scene.desc.pins = PIN_OUT_HEADSET; in HWTEST_F()
680 scene.desc.pins = PIN_OUT_HEADSET; in HWTEST_F()
695 scene.desc.pins = PIN_OUT_HEADSET; in HWTEST_F()
710 scene.desc.pins = PIN_OUT_SPEAKER; in HWTEST_F()
725 scene.desc.pins = PIN_OUT_SPEAKER; in HWTEST_F()
740 scene.desc.pins = PIN_OUT_SPEAKER; in HWTEST_F()
755 scene.desc.pins = PIN_OUT_SPEAKER; in HWTEST_F()
770 scene.desc.pins in HWTEST_F()
[all...]
/test/xts/hats/hdf/audio/idl/common/adapter_multchannel/src/
H A Daudio_adapter_direct_test.cpp184 devicedesc.pins = PIN_OUT_HEADSET; in HWTEST_F()
206 devicedesc.pins = PIN_OUT_HEADSET; in HWTEST_F()
229 devicedesc.pins = PIN_OUT_HEADSET; in HWTEST_F()
H A Daudio_adapter_multchannel_test.cpp161 devicedesc.pins = PIN_OUT_SPEAKER; in HWTEST_F()
/test/xts/hats/hdf/audio/idl/common/adapter_additional/src/
H A Daudio_adapter_common_test.cpp180 * @tc.desc: Verify the CreateRender function when pins is PIN_OUT_HEADSET and type is AUDIO_IN_MEDIA.
189 devicedesc.pins = PIN_OUT_HEADSET; in HWTEST_F()
202 * @tc.desc: Verify the CreateRender function when pins is PIN_OUT_LINEOUT and type is AUDIO_IN_MEDIA.
211 devicedesc.pins = PIN_OUT_LINEOUT; in HWTEST_F()
223 * @tc.desc: Verify the CreateRender function when pins is PIN_OUT_HDMI and type is AUDIO_IN_MEDIA.
232 devicedesc.pins = PIN_OUT_HDMI; in HWTEST_F()
240 * @tc.desc: Verify the CreateRender function when pins is PIN_IN_MIC and type is AUDIO_IN_MEDIA.
249 devicedesc.pins = PIN_IN_MIC; in HWTEST_F()
258 * @tc.desc: Verify the CreateRender function when pins is PIN_IN_HS_MIC and type is AUDIO_IN_MEDIA.
267 devicedesc.pins in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp445 deviceDesc.pins = PIN_OUT_EARPIECE; in CreateRender()
448 deviceDesc.pins = PIN_OUT_SPEAKER; in CreateRender()
451 deviceDesc.pins = PIN_OUT_HEADSET; in CreateRender()
454 deviceDesc.pins = PIN_OUT_USB_EXT; in CreateRender()
457 deviceDesc.pins = PIN_OUT_BLUETOOTH_SCO; in CreateRender()
460 deviceDesc.pins = PIN_OUT_SPEAKER; in CreateRender()
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/
H A DAudioCaptureCommonTestAdditional.cpp82 devDesc.pins = (enum AudioPortPin)PIN_IN_MIC; in InitCaptureDevDesc()
650 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
667 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
684 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
705 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
722 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
739 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
760 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
859 sceneDesc.desc.pins = PIN_IN_MIC; in HWTEST_F()
877 sceneDesc.desc.pins in HWTEST_F()
[all...]
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dnetwork_security_config_test.cpp252 std::string pins; in HWTEST_F() local
255 auto ret = NetworkSecurityConfig::GetInstance().GetPinSetForHostName(hostname, pins); in HWTEST_F()
/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_task.cpp246 std::string pins; in SetServerSSLCertOption() local
247 auto ret = NetManagerStandard::NetConnClient::GetInstance().GetPinSetForHostName(hostname, pins); in SetServerSSLCertOption()
248 if (ret != 0 || pins.empty()) { in SetServerSSLCertOption()
251 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PINNEDPUBLICKEY, pins.c_str()); in SetServerSSLCertOption()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/
H A Dfast_audio_capturer_source.cpp330 deviceDesc.pins = PIN_IN_MIC; in CreateCapture()
333 deviceDesc.pins = PIN_IN_HS_MIC; in CreateCapture()
336 deviceDesc.pins = PIN_IN_USB_EXT; in CreateCapture()
339 deviceDesc.pins = PIN_IN_BLUETOOTH_SCO_HEADSET; in CreateCapture()
343 deviceDesc.pins = PIN_IN_MIC; in CreateCapture()
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnetwork_security_config.h62 int32_t GetPinSetForHostName(const std::string &hostname, std::string &pins);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_registrar.c106 static void wps_free_pins(struct dl_list *pins) in wps_free_pins() argument
109 dl_list_for_each_safe(pin, prev, pins, struct wps_uuid_pin, list) in wps_free_pins()
164 struct dl_list pins; member
675 dl_list_init(&reg->pins); in wps_registrar_init()
730 wps_free_pins(&reg->pins); in wps_registrar_flush()
764 dl_list_for_each(pin, &reg->pins, struct wps_uuid_pin, list) { in wps_registrar_invalidate_unused()
816 dl_list_add(&reg->pins, &p->list); in wps_registrar_add_pin()
861 dl_list_for_each_safe(pin, prev, &reg->pins, struct wps_uuid_pin, list) in wps_registrar_expire_pins()
886 dl_list_for_each_safe(pin, prev, &reg->pins, struct wps_uuid_pin, list) in wps_registrar_invalidate_wildcard_pin()
914 dl_list_for_each_safe(pin, prev, &reg->pins, struc in wps_registrar_invalidate_pin()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_registrar.c107 static void wps_free_pins(struct dl_list *pins) in wps_free_pins() argument
110 dl_list_for_each_safe(pin, prev, pins, struct wps_uuid_pin, list) in wps_free_pins()
166 struct dl_list pins; member
676 dl_list_init(&reg->pins); in wps_registrar_init()
731 wps_free_pins(&reg->pins); in wps_registrar_flush()
765 dl_list_for_each(pin, &reg->pins, struct wps_uuid_pin, list) { in wps_registrar_invalidate_unused()
817 dl_list_add(&reg->pins, &p->list); in wps_registrar_add_pin()
862 dl_list_for_each_safe(pin, prev, &reg->pins, struct wps_uuid_pin, list) in wps_registrar_expire_pins()
887 dl_list_for_each_safe(pin, prev, &reg->pins, struct wps_uuid_pin, list) in wps_registrar_invalidate_wildcard_pin()
915 dl_list_for_each_safe(pin, prev, &reg->pins, struc in wps_registrar_invalidate_pin()
[all...]
/test/xts/hats/hdf/audio/idl/benchmarktest/render/
H A Daudio_render_offload_benchmarktest.cpp82 devDesc.pins = PIN_OUT_SPEAKER; in InitRenderDevDesc()
H A Daudio_render_benchmarktest.cpp112 devDesc.pins = PIN_OUT_SPEAKER; in InitRenderDevDesc()
397 scene.desc.pins = PIN_OUT_SPEAKER; in BENCHMARK_F()
784 scenes.desc.pins = PIN_OUT_SPEAKER; in BENCHMARK_F()
/test/xts/hats/hdf/audio/idl/common/render/src/
H A Daudio_render_offload_test.cpp79 devDesc.pins = PIN_OUT_SPEAKER; in InitRenderDevDesc()
/test/xts/hats/hdf/audio/idl/benchmarktest/adapter/
H A Daudio_adapter_benchmarktest.cpp173 devicedesc.pins = PIN_OUT_SPEAKER; in BENCHMARK_F()
201 devicedesc.pins = PIN_IN_MIC; in BENCHMARK_F()
/test/xts/hats/hdf/audio/idl/benchmarktest/capture/
H A Daudio_capture_benchmarktest.cpp90 devDesc.pins = (enum AudioPortPin)PIN_IN_MIC; in InitCaptureDevDesc()
574 scene.desc.pins = PIN_IN_MIC; in BENCHMARK_F()
683 scenes.desc.pins = PIN_IN_MIC; in BENCHMARK_F()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_client_exec.cpp607 std::string pins; in SetServerSSLCertOption() local
608 auto ret1 = NetManagerStandard::NetConnClient::GetInstance().GetPinSetForHostName(hostname, pins); in SetServerSSLCertOption()
609 if (ret1 != 0 || pins.empty()) { in SetServerSSLCertOption()
612 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PINNEDPUBLICKEY, pins.c_str(), context); in SetServerSSLCertOption()

Completed in 27 milliseconds

123