Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 25 of 192) sorted by relevance

12345678

/external/chromium_org/third_party/webrtc/modules/video_capture/windows/
Dhelp_functions_ds.cc38 IPin* pin = NULL; in GetInputPin() local
49 while (S_OK == pPinEnum->Next(1, &pin, NULL)) in GetInputPin()
52 pin->QueryDirection(&pPinDir); in GetInputPin()
56 if (S_OK != pin->ConnectedTo(&tempPin)) // The pint is not connected in GetInputPin()
59 return pin; in GetInputPin()
62 pin->Release(); in GetInputPin()
71 IPin* pin = NULL; in GetOutputPin() local
80 while (S_OK == pPinEnum->Next(1, &pin, NULL)) in GetOutputPin()
83 pin->QueryDirection(&pPinDir); in GetOutputPin()
86 if (Category == GUID_NULL || PinMatchesCategory(pin, Category)) in GetOutputPin()
[all …]
/external/arduino/hardware/arduino/cores/arduino/
Dwiring_analog.c40 int analogRead(uint8_t pin) in analogRead() argument
45 if (pin >= 54) pin -= 54; // allow for channel or pin numbers in analogRead()
47 if (pin >= 14) pin -= 14; // allow for channel or pin numbers in analogRead()
53 ADCSRB = (ADCSRB & ~(1 << MUX5)) | (((pin >> 3) & 0x01) << MUX5); in analogRead()
60 ADMUX = (analog_reference << 6) | (pin & 0x07); in analogRead()
93 void analogWrite(uint8_t pin, int val) in analogWrite() argument
100 pinMode(pin, OUTPUT); in analogWrite()
103 digitalWrite(pin, LOW); in analogWrite()
107 digitalWrite(pin, HIGH); in analogWrite()
111 switch(digitalPinToTimer(pin)) in analogWrite()
[all …]
Dwiring_digital.c30 void pinMode(uint8_t pin, uint8_t mode) in pinMode() argument
32 uint8_t bit = digitalPinToBitMask(pin); in pinMode()
33 uint8_t port = digitalPinToPort(pin); in pinMode()
124 void digitalWrite(uint8_t pin, uint8_t val) in digitalWrite() argument
126 uint8_t timer = digitalPinToTimer(pin); in digitalWrite()
127 uint8_t bit = digitalPinToBitMask(pin); in digitalWrite()
128 uint8_t port = digitalPinToPort(pin); in digitalWrite()
152 int digitalRead(uint8_t pin) in digitalRead() argument
154 uint8_t timer = digitalPinToTimer(pin); in digitalRead()
155 uint8_t bit = digitalPinToBitMask(pin); in digitalRead()
[all …]
Dwiring_pulse.c32 unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout) in pulseIn() argument
37 uint8_t bit = digitalPinToBitMask(pin); in pulseIn()
38 uint8_t port = digitalPinToPort(pin); in pulseIn()
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
Dp2p_connect.py66 global pin
79 pin,wps_method,go_intent): argument
86 self.pin = pin
157 if (self.pin != None):
158 self.p2p_connect_arguements.update({'pin':self.pin})
171 if (self.pin != None):
172 self.p2p_connect_arguements.update({'pin':self.pin})
188 if (self.pin != None):
193 if (self.pin != None):
228 pin = None variable
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_old_handlers_wps.c73 char *pin = NULL; in wpas_dbus_iface_wps_pin() local
78 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) in wpas_dbus_iface_wps_pin()
90 if (os_strlen(pin) > 0) in wpas_dbus_iface_wps_pin()
91 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, in wpas_dbus_iface_wps_pin()
108 dbus_message_append_args(reply, DBUS_TYPE_STRING, &pin, in wpas_dbus_iface_wps_pin()
133 char *pin = NULL; in wpas_dbus_iface_wps_reg() local
138 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) in wpas_dbus_iface_wps_reg()
142 ret = wpas_wps_start_reg(wpa_s, NULL, pin, NULL); in wpas_dbus_iface_wps_reg()
144 ret = wpas_wps_start_reg(wpa_s, bssid, pin, NULL); in wpas_dbus_iface_wps_reg()
/external/chromium_org/net/data/url_request_unittest/
Dhsts-and-hpkp-headers2.html.mock-http-headers7 …Key-Pins: max-age=50000; pin-sha1="K9e3/nFL5j90GuVJOJBv6WXpvcs="; pin-sha256="2zCMVDKgnKec0721Sp1z…
8 …Key-Pins: max-age=50000; pin-sha1="K9e3/nFL5j90GuVJOJBv6WXpvcs="; pin-sha256="2zCMVDKgnKec0721Sp1z…
Dhpkp-headers.html.mock-http-headers6 …Key-Pins: max-age=50000; pin-sha1="K9e3/nFL5j90GuVJOJBv6WXpvcs="; pin-sha256="2zCMVDKgnKec0721Sp1z…
/external/chromium_org/chrome/browser/resources/chromeos/
Dsim_unlock.css10 #pin-error-msg {
20 .change-pin-content-area {
27 .choose-pin-content-area {
40 #pin-input-area {
75 #choose-pin-msg {
79 #choose-pin-error {
93 .choose-pin-input-area {
98 #choose-pin-action-area {
/external/qemu/telephony/
Dsim_card.c27 char pin[ A_SIM_PIN_SIZE+1 ]; member
45 strncpy( card->pin, "0000", sizeof(card->pin) ); in asimcard_create()
79 return sim->pin; in asimcard_get_pin()
89 asimcard_set_pin( ASimCard sim, const char* pin ) in asimcard_set_pin() argument
91 strncpy( sim->pin, pin, A_SIM_PIN_SIZE ); in asimcard_set_pin()
104 asimcard_check_pin( ASimCard sim, const char* pin ) in asimcard_check_pin() argument
110 if ( !strcmp( sim->pin, pin ) ) { in asimcard_check_pin()
125 asimcard_check_puk( ASimCard sim, const char* puk, const char* pin ) in asimcard_check_puk() argument
132 strncpy( sim->pin, pin, A_SIM_PIN_SIZE ); in asimcard_check_puk()
Dsim_card.h36 extern void asimcard_set_pin( ASimCard sim, const char* pin );
39 extern int asimcard_check_pin( ASimCard sim, const char* pin );
40 extern int asimcard_check_puk( ASimCard sim, const char* puk, const char* pin );
/external/chromium_org/remoting/host/setup/
Dpin_validator.cc9 bool IsPinValid(const std::string& pin) { in IsPinValid() argument
10 if (pin.length() < 6) in IsPinValid()
12 for (size_t i = 0; i < pin.length(); i++) { in IsPinValid()
13 char c = pin[i]; in IsPinValid()
/external/llvm/test/CodeGen/X86/
Dpre-ra-sched.ll16 define i32 @test(i8* %pin) #0 {
17 %g0 = getelementptr inbounds i8* %pin, i64 0
20 %g1a = getelementptr inbounds i8* %pin, i64 1
23 %g1b = getelementptr inbounds i8* %pin, i64 2
30 %g2a = getelementptr inbounds i8* %pin, i64 3
33 %g2b = getelementptr inbounds i8* %pin, i64 4
39 %g3a = getelementptr inbounds i8* %pin, i64 5
42 %g3b = getelementptr inbounds i8* %pin, i64 6
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwps-ap-cli17 read -p "Enrollee PIN: " pin
18 cpin=`$CLI wps_check_pin "$pin" | tail -1`
24 cpin=`echo "$pin" | sed "s/[^1234567890]//g"`
32 echo "Invalid PIN: $pin"
/external/chromium_org/remoting/host/
Dpin_hash.cc15 const std::string& pin) { in MakeHostPinHash() argument
17 protocol::AuthenticationMethod::HMAC_SHA256, host_id, pin); in MakeHostPinHash()
25 const std::string& pin) { in VerifyHostPinHash() argument
33 hash_parsed.hash_function, host_id, pin); in VerifyHostPinHash()
/external/chromium_org/third_party/ashmem/
Dashmem-dev.c77 struct ashmem_pin pin = { offset, len }; in ashmem_pin_region() local
78 return ioctl(fd, ASHMEM_PIN, &pin); in ashmem_pin_region()
83 struct ashmem_pin pin = { offset, len }; in ashmem_unpin_region() local
84 return ioctl(fd, ASHMEM_UNPIN, &pin); in ashmem_unpin_region()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks.c115 void WebRtcIsacfix_SplitAndFilter1(WebRtc_Word16 *pin, in WebRtcIsacfix_SplitAndFilter1() argument
132 …WebRtcIsacfix_HighpassFilterFixDec32(pin, FRAMESAMPLES, WebRtcIsacfix_kHpStCoeffInQ30, prefiltdata… in WebRtcIsacfix_SplitAndFilter1()
137 tempin_ch1[QLOOKAHEAD + k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
141 …prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL… in WebRtcIsacfix_SplitAndFilter1()
147 tempin_ch2[QLOOKAHEAD+k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
151 …prefiltdata->INLABUF2_fix[k]=pin[FRAMESAMPLES-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_1… in WebRtcIsacfix_SplitAndFilter1()
186 void WebRtcIsacfix_SplitAndFilter2(WebRtc_Word16 *pin, in WebRtcIsacfix_SplitAndFilter2() argument
202 …WebRtcIsacfix_HighpassFilterFixDec32(pin, FRAMESAMPLES, WebRtcIsacfix_kHpStCoeffInQ30, prefiltdata… in WebRtcIsacfix_SplitAndFilter2()
207 tempin_ch1[k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2()
213 tempin_ch2[k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2()
/external/conscrypt/src/platform/java/org/conscrypt/
DPinListEntry.java122 for (String pin : pins) { in addPins()
123 validatePin(pin); in addPins()
128 private static void validatePin(String pin) { in validatePin() argument
130 if (pin.length() != 128) { in validatePin()
135 new BigInteger(pin, 16); in validatePin()
/external/chromium_org/media/video/capture/win/
Dvideo_capture_device_win.cc25 bool PinMatchesCategory(IPin* pin, REFGUID category) { in PinMatchesCategory() argument
26 DCHECK(pin); in PinMatchesCategory()
29 HRESULT hr = ks_property.QueryFrom(pin); in PinMatchesCategory()
43 bool PinMatchesMajorType(IPin* pin, REFGUID major_type) { in PinMatchesMajorType() argument
44 DCHECK(pin); in PinMatchesMajorType()
46 HRESULT hr = pin->ConnectionMediaType(&connection_media_type); in PinMatchesMajorType()
123 ScopedComPtr<IPin> pin; in GetPin() local
127 return pin; in GetPin()
131 while ((hr = pin_enum->Next(1, pin.Receive(), NULL)) == S_OK) { in GetPin()
133 hr = pin->QueryDirection(&this_pin_dir); in GetPin()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_registrar.c82 u8 *pin; member
92 static void wps_free_pin(struct wps_uuid_pin *pin) in wps_free_pin() argument
94 bin_clear_free(pin->pin, pin->pin_len); in wps_free_pin()
95 os_free(pin); in wps_free_pin()
99 static void wps_remove_pin(struct wps_uuid_pin *pin) in wps_remove_pin() argument
101 dl_list_del(&pin->list); in wps_remove_pin()
102 wps_free_pin(pin); in wps_remove_pin()
108 struct wps_uuid_pin *pin, *prev; in wps_free_pins() local
109 dl_list_for_each_safe(pin, prev, pins, struct wps_uuid_pin, list) in wps_free_pins()
110 wps_remove_pin(pin); in wps_free_pins()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks.c158 void WebRtcIsacfix_SplitAndFilter1(int16_t *pin, in WebRtcIsacfix_SplitAndFilter1() argument
175 …WebRtcIsacfix_HighpassFilterFixDec32(pin, FRAMESAMPLES, WebRtcIsacfix_kHpStCoeffInQ30, prefiltdata… in WebRtcIsacfix_SplitAndFilter1()
180 tempin_ch1[QLOOKAHEAD + k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
184 …prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL… in WebRtcIsacfix_SplitAndFilter1()
190 tempin_ch2[QLOOKAHEAD+k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
194 …prefiltdata->INLABUF2_fix[k]=pin[FRAMESAMPLES-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_1… in WebRtcIsacfix_SplitAndFilter1()
238 void WebRtcIsacfix_SplitAndFilter2(int16_t *pin, in WebRtcIsacfix_SplitAndFilter2() argument
254 …WebRtcIsacfix_HighpassFilterFixDec32(pin, FRAMESAMPLES, WebRtcIsacfix_kHpStCoeffInQ30, prefiltdata… in WebRtcIsacfix_SplitAndFilter2()
259 tempin_ch1[k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2()
265 tempin_ch2[k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter2()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.h35 const char *pin, int p2p_group, u16 dev_pw_id);
38 const char *pin, struct wps_new_ap_settings *settings);
52 const char *uuid, const char *pin);
55 const char *pin);
59 const char *pin, struct wps_new_ap_settings *settings);
/external/chromium_org/remoting/webapp/browser_test/
Dbrowser_test.js184 browserTest.enterPIN = function(pin, opt_expectError) { argument
189 document.getElementById('pin-entry').value = pin;
309 browserTest.ensureHostStartedWithPIN = function(pin) { argument
316 console.log('browserTest: Changing the PIN of the host to: ' + pin + '.');
319 return browserTest.setupPIN(pin);
324 browserTest.ensureRemoteConnectionEnabled = function(pin) { argument
325 browserTest.ensureHostStartedWithPIN(pin).then(function(){
/external/chromium_org/remoting/webapp/
Dhost_setup_dialog.js19 this.pin = '';
414 this.hostController_.start(this.flow_.pin, this.flow_.consent, onHostStarted,
449 this.hostController_.updatePin(flow.pin, onPinUpdated, onError);
495 var pin = this.pinEntry_.value;
496 var pinIsValid = remoting.HostSetupDialog.validPin_(pin);
524 this.flow_.pin = pin1;
545 remoting.HostSetupDialog.validPin_ = function(pin) { argument
546 if (pin.length < 6) {
549 for (var i = 0; i < pin.length; i++) {
550 var c = pin.charAt(i);
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11mouse.c197 char *mouse_param, *mouse_param_buf, *pin; in SetMouseAccel() local
208 pin = SDL_strchr(mouse_param, '/'); in SetMouseAccel()
209 if ( pin ) { in SetMouseAccel()
210 *pin = '\0'; in SetMouseAccel()
213 if ( pin ) { in SetMouseAccel()
214 mouse_param = pin+1; in SetMouseAccel()

12345678