/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_old_handlers_wps.c | 79 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()
|
D | dbus_new_handlers_wps.c | 34 char *pin; member 149 dbus_message_iter_get_basic(&variant_iter, ¶ms->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/ |
D | sim_unlock.css | 5 #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/ |
D | sim_card.c | 27 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()
|
D | sim_card.h | 36 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/ |
D | wps_registrar.c | 32 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 …]
|
D | wps_common.c | 208 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()
|
D | wps.h | 108 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/ |
D | event.c | 99 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/ |
D | wps-ap-cli | 17 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/ |
D | wps_supplicant.h | 35 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);
|
D | ctrl_iface.c | 424 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/ |
D | ssh-pkcs11.c | 239 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 …]
|
D | ssh-pkcs11-helper.c | 116 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/ |
D | wps_registrar.c | 33 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 …]
|
D | wps_common.c | 206 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/ |
D | SDL_x11mouse.c | 197 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/ |
D | tsan_pin.sh | 3 PIN_ROOT=${PIN_ROOT:-$HOME/pin} 10 PIN_BINARY=${PIN_BINARY:-pin} 14 PIN_BINARY=${PIN_BINARY:-pin.bat}
|
D | tsan.bat | 2 "%~dp0\ia32\bin\pin.exe" -p32 "%~dp0\ia32\bin\pin.exe" -follow_execv -t "%~dp0\x86-windows-ts_pin.d…
|
D | tsan_mt.bat | 2 "%~dp0\ia32\bin\pin.exe" -p32 "%~dp0\ia32\bin\pin.exe" -follow_execv -t "%~dp0\x86-windows-ts_pinmt…
|
D | tsan-debug.bat | 2 "%~dp0\ia32\bin\pin.exe" -p32 "%~dp0\ia32\bin\pin.exe" -follow_execv -t "%~dp0\x86-windows-debug-ts…
|
/external/skia/src/core/ |
D | SkDeviceProfile.cpp | 10 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/ |
D | most_visited_page.css | 93 .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/ |
D | most_visited.css | 111 .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/ |
D | SkColorMatrixFilter.cpp | 205 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()
|