Home
last modified time | relevance | path

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

1234567

/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_old_handlers_wps.c79 char *pin = NULL; in wpas_dbus_iface_wps_pin() local
84 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) in wpas_dbus_iface_wps_pin()
96 if (os_strlen(pin) > 0) in wpas_dbus_iface_wps_pin()
97 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, in wpas_dbus_iface_wps_pin()
114 dbus_message_append_args(reply, DBUS_TYPE_STRING, &pin, in wpas_dbus_iface_wps_pin()
139 char *pin = NULL; in wpas_dbus_iface_wps_reg() local
144 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) in wpas_dbus_iface_wps_reg()
148 ret = wpas_wps_start_reg(wpa_s, NULL, pin, NULL); in wpas_dbus_iface_wps_reg()
150 ret = wpas_wps_start_reg(wpa_s, bssid, pin, NULL); in wpas_dbus_iface_wps_reg()
Ddbus_new_handlers_wps.c34 char *pin; member
149 dbus_message_iter_get_basic(&variant_iter, &params->pin); in wpas_dbus_handler_wps_pin()
266 } else if (params.role == 2 && params.pin == NULL) { in wpas_dbus_handler_wps_start()
274 ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin, in wpas_dbus_handler_wps_start()
281 params.pin, in wpas_dbus_handler_wps_start()
287 params.pin, 0, in wpas_dbus_handler_wps_start()
/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/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/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_registrar.c32 u8 *pin; member
41 static void wps_free_pin(struct wps_uuid_pin *pin) in wps_free_pin() argument
43 os_free(pin->pin); in wps_free_pin()
44 os_free(pin); in wps_free_pin()
50 struct wps_uuid_pin *pin, *prev; in wps_free_pins() local
52 pin = pins; in wps_free_pins()
53 while (pin) { in wps_free_pins()
54 prev = pin; in wps_free_pins()
55 pin = pin->next; in wps_free_pins()
424 const u8 *pin, size_t pin_len, int timeout) in wps_registrar_add_pin() argument
[all …]
Dwps_common.c208 unsigned int wps_pin_checksum(unsigned int pin) in wps_pin_checksum() argument
211 while (pin) { in wps_pin_checksum()
212 accum += 3 * (pin % 10); in wps_pin_checksum()
213 pin /= 10; in wps_pin_checksum()
214 accum += pin % 10; in wps_pin_checksum()
215 pin /= 10; in wps_pin_checksum()
227 unsigned int wps_pin_valid(unsigned int pin) in wps_pin_valid() argument
229 return wps_pin_checksum(pin / 10) == (pin % 10); in wps_pin_valid()
Dwps.h108 const u8 *pin; member
518 const u8 *pin, size_t pin_len, int timeout);
528 unsigned int wps_pin_checksum(unsigned int pin);
529 unsigned int wps_pin_valid(unsigned int pin);
/external/bluetooth/bluez/src/
Devent.c99 static size_t decode_hex(const char *pin, char *out) in decode_hex() argument
103 for (i = 0; i < 16 && pin[i * 2] && pin[i * 2 + 1]; i++) in decode_hex()
104 sscanf(&pin[i * 2], "%02hhX", &out[i]); in decode_hex()
109 static size_t decode_pin(const char *pin, char *out) in decode_pin() argument
113 if (!pin) in decode_pin()
116 if (pin[0] == '$') { in decode_pin()
117 len = decode_hex(&pin[1], out); in decode_pin()
119 len = strnlen(pin, 16); in decode_pin()
120 memcpy(out, pin, len); in decode_pin()
159 char pin[17]; in btd_event_request_pin() local
[all …]
/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/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.h35 const char *pin, int p2p_group, u16 dev_pw_id);
40 const char *pin, struct wps_new_ap_settings *settings);
54 const char *uuid, const char *pin);
57 const char *pin);
61 const char *pin, struct wps_new_ap_settings *settings);
Dctrl_iface.c424 char *pin; in wpa_supplicant_ctrl_iface_wps_pin() local
427 pin = os_strchr(cmd, ' '); in wpa_supplicant_ctrl_iface_wps_pin()
428 if (pin) in wpa_supplicant_ctrl_iface_wps_pin()
429 *pin++ = '\0'; in wpa_supplicant_ctrl_iface_wps_pin()
444 return wpa_supplicant_ap_wps_pin(wpa_s, _bssid, pin, in wpa_supplicant_ctrl_iface_wps_pin()
448 if (pin) { in wpa_supplicant_ctrl_iface_wps_pin()
449 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, in wpa_supplicant_ctrl_iface_wps_pin()
453 ret = os_snprintf(buf, buflen, "%s", pin); in wpa_supplicant_ctrl_iface_wps_pin()
475 char pin[9]; in wpa_supplicant_ctrl_iface_wps_check_pin() local
485 pin[len++] = *pos; in wpa_supplicant_ctrl_iface_wps_check_pin()
[all …]
/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 …]
Dssh-pkcs11-helper.c116 char *name, *pin; in process_add() local
125 pin = get_string(NULL); in process_add()
126 if ((nkeys = pkcs11_add_provider(name, pin, &keys)) > 0) { in process_add()
140 xfree(pin); in process_add()
149 char *name, *pin; in process_del() local
154 pin = get_string(NULL); in process_del()
160 xfree(pin); in process_del()
/external/wpa_supplicant_8/src/wps/
Dwps_registrar.c33 u8 *pin; member
43 static void wps_free_pin(struct wps_uuid_pin *pin) in wps_free_pin() argument
45 os_free(pin->pin); in wps_free_pin()
46 os_free(pin); in wps_free_pin()
50 static void wps_remove_pin(struct wps_uuid_pin *pin) in wps_remove_pin() argument
52 dl_list_del(&pin->list); in wps_remove_pin()
53 wps_free_pin(pin); in wps_remove_pin()
59 struct wps_uuid_pin *pin, *prev; in wps_free_pins() local
60 dl_list_for_each_safe(pin, prev, pins, struct wps_uuid_pin, list) in wps_free_pins()
61 wps_remove_pin(pin); in wps_free_pins()
[all …]
Dwps_common.c206 unsigned int wps_pin_checksum(unsigned int pin) in wps_pin_checksum() argument
209 while (pin) { in wps_pin_checksum()
210 accum += 3 * (pin % 10); in wps_pin_checksum()
211 pin /= 10; in wps_pin_checksum()
212 accum += pin % 10; in wps_pin_checksum()
213 pin /= 10; in wps_pin_checksum()
225 unsigned int wps_pin_valid(unsigned int pin) in wps_pin_valid() argument
227 return wps_pin_checksum(pin / 10) == (pin % 10); in wps_pin_valid()
/external/qemu/distrib/sdl-1.2.12/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()
/external/valgrind/tsan/
Dtsan_pin.sh3 PIN_ROOT=${PIN_ROOT:-$HOME/pin}
10 PIN_BINARY=${PIN_BINARY:-pin}
14 PIN_BINARY=${PIN_BINARY:-pin.bat}
Dtsan.bat2 "%~dp0\ia32\bin\pin.exe" -p32 "%~dp0\ia32\bin\pin.exe" -follow_execv -t "%~dp0\x86-windows-ts_pin.d…
Dtsan_mt.bat2 "%~dp0\ia32\bin\pin.exe" -p32 "%~dp0\ia32\bin\pin.exe" -follow_execv -t "%~dp0\x86-windows-ts_pinmt…
Dtsan-debug.bat2 "%~dp0\ia32\bin\pin.exe" -p32 "%~dp0\ia32\bin\pin.exe" -follow_execv -t "%~dp0\x86-windows-debug-ts…
/external/skia/src/core/
DSkDeviceProfile.cpp10 static float pin(float value, float min, float max) { in pin() function
21 fGammaExponent = pin(gammaExp, 0, 10); in SkDeviceProfile()
22 fContrastScale = pin(contrast, 0, 1); in SkDeviceProfile()
/external/chromium/chrome/browser/resources/ntp4/
Dmost_visited_page.css93 .edit-bar > .pin,
101 .edit-bar > .pin {
105 .edit-bar > .pin:hover {
109 .edit-bar > .pin:active {
113 .pinned .edit-bar > .pin {
117 .pinned .edit-bar > .pin:hover {
121 .pinned .edit-bar > .pin:active {
/external/chromium/chrome/browser/resources/ntp/
Dmost_visited.css111 .edit-bar > .pin,
119 .edit-bar > .pin {
123 .edit-bar > .pin:hover {
127 .edit-bar > .pin:active {
131 .pinned .edit-bar > .pin {
135 .pinned .edit-bar > .pin:hover {
139 .pinned .edit-bar > .pin:active {
/external/skia/src/effects/
DSkColorMatrixFilter.cpp205 static int32_t pin(int32_t value, int32_t max) { in pin() function
268 r = pin(result[0], SK_R32_MASK); in filterSpan()
269 g = pin(result[1], SK_G32_MASK); in filterSpan()
270 b = pin(result[2], SK_B32_MASK); in filterSpan()
271 a = pin(result[3], SK_A32_MASK); in filterSpan()
302 r = pin(result[0], SK_R32_MASK); in filterSpan16()
303 g = pin(result[1], SK_G32_MASK); in filterSpan16()
304 b = pin(result[2], SK_B32_MASK); in filterSpan16()

1234567