Home
last modified time | relevance | path

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

123456789

/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="kd16uBd5KFa9IJjF0X+8…
8 …Key-Pins: max-age=50000; pin-sha1="K9e3/nFL5j90GuVJOJBv6WXpvcs="; pin-sha256="kd16uBd5KFa9IJjF0X+8…
Dhpkp-headers.html.mock-http-headers6 …Key-Pins: max-age=50000; pin-sha1="K9e3/nFL5j90GuVJOJBv6WXpvcs="; pin-sha256="kd16uBd5KFa9IJjF0X+8…
/external/chromium/chrome/browser/resources/chromeos/
Dsim_unlock.css5 #pin-error-msg {
15 .change-pin-content-area {
22 .choose-pin-content-area {
35 #pin-input-area {
66 #choose-pin-msg {
70 #choose-pin-error {
84 .choose-pin-input-area {
89 #choose-pin-action-area {
/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.ll15 define i32 @test(i8* %pin) #0 {
16 %g0 = getelementptr inbounds i8* %pin, i64 0
19 %g1a = getelementptr inbounds i8* %pin, i64 1
22 %g1b = getelementptr inbounds i8* %pin, i64 2
29 %g2a = getelementptr inbounds i8* %pin, i64 3
32 %g2b = getelementptr inbounds i8* %pin, i64 4
38 %g3a = getelementptr inbounds i8* %pin, i64 5
41 %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/skia/src/utils/android/
Dashmem.cpp69 struct ashmem_pin pin = { offset, len }; in ashmem_pin_region() local
70 return ioctl(fd, ASHMEM_PIN, &pin); in ashmem_pin_region()
75 struct ashmem_pin pin = { offset, len }; in ashmem_unpin_region() local
76 return ioctl(fd, ASHMEM_UNPIN, &pin); in ashmem_unpin_region()
/external/chromium_org/third_party/skia/src/utils/android/
Dashmem.cpp69 struct ashmem_pin pin = { offset, len }; in ashmem_pin_region() local
70 return ioctl(fd, ASHMEM_PIN, &pin); in ashmem_pin_region()
75 struct ashmem_pin pin = { offset, len }; in ashmem_unpin_region() local
76 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/openssh/
Dssh-pkcs11.c239 char *pin, prompt[1024]; in pkcs11_rsa_private_encrypt() local
264 pin = read_passphrase(prompt, RP_ALLOW_EOF); in pkcs11_rsa_private_encrypt()
265 if (pin == NULL) in pkcs11_rsa_private_encrypt()
267 if ((rv = f->C_Login(si->session, CKU_USER, pin, strlen(pin))) in pkcs11_rsa_private_encrypt()
269 xfree(pin); in pkcs11_rsa_private_encrypt()
273 xfree(pin); in pkcs11_rsa_private_encrypt()
350 pkcs11_open_session(struct pkcs11_provider *p, CK_ULONG slotidx, char *pin) in pkcs11_open_session() argument
359 if (pin && login_required && !strlen(pin)) { in pkcs11_open_session()
369 if (login_required && pin) { in pkcs11_open_session()
370 if ((rv = f->C_Login(session, CKU_USER, pin, strlen(pin))) in pkcs11_open_session()
[all …]
/external/skia/src/ports/
DSkPurgeableMemoryBlock_android.cpp59 void* SkPurgeableMemoryBlock::pin(SkPurgeableMemoryBlock::PinResult* pinResult) { in pin() function in SkPurgeableMemoryBlock
87 int pin = ashmem_pin_region(fFD, 0, 0); in pin() local
88 if (ASHMEM_NOT_PURGED == pin) { in pin()
91 } else if (ASHMEM_WAS_PURGED == pin) { in pin()
/external/chromium_org/third_party/skia/src/ports/
DSkPurgeableMemoryBlock_android.cpp59 void* SkPurgeableMemoryBlock::pin(SkPurgeableMemoryBlock::PinResult* pinResult) { in pin() function in SkPurgeableMemoryBlock
87 int pin = ashmem_pin_region(fFD, 0, 0); in pin() local
88 if (ASHMEM_NOT_PURGED == pin) { in pin()
91 } else if (ASHMEM_WAS_PURGED == pin) { in pin()
/external/wpa_supplicant_8/src/wps/
Dwps_registrar.c80 u8 *pin; member
90 static void wps_free_pin(struct wps_uuid_pin *pin) in wps_free_pin() argument
92 os_free(pin->pin); in wps_free_pin()
93 os_free(pin); in wps_free_pin()
97 static void wps_remove_pin(struct wps_uuid_pin *pin) in wps_remove_pin() argument
99 dl_list_del(&pin->list); in wps_remove_pin()
100 wps_free_pin(pin); in wps_remove_pin()
106 struct wps_uuid_pin *pin, *prev; in wps_free_pins() local
107 dl_list_for_each_safe(pin, prev, pins, struct wps_uuid_pin, list) in wps_free_pins()
108 wps_remove_pin(pin); in wps_free_pins()
[all …]
/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/
Dhost_setup_dialog.js19 this.pin = '';
393 this.hostController_.start(this.flow_.pin, this.flow_.consent, onHostStarted,
428 this.hostController_.updatePin(flow.pin, onPinUpdated, onError);
474 var pin = this.pinEntry_.value;
475 var pinIsValid = remoting.HostSetupDialog.validPin_(pin);
503 this.flow_.pin = pin1;
524 remoting.HostSetupDialog.validPin_ = function(pin) { argument
525 if (pin.length < 6) {
528 for (var i = 0; i < pin.length; i++) {
529 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()

123456789