/external/arduino/hardware/arduino/cores/arduino/ |
H A D | wiring_analog.c | 35 // will connect AVCC and the AREF pin, which would cause a short if 40 int analogRead(uint8_t pin) argument 45 if (pin >= 54) pin -= 54; // allow for channel or pin numbers 47 if (pin >= 14) pin -= 14; // allow for channel or pin numbers 53 ADCSRB = (ADCSRB & ~(1 << MUX5)) | (((pin >> 3) & 0x01) << MUX5); 60 ADMUX = (analog_reference << 6) | (pin 93 analogWrite(uint8_t pin, int val) argument [all...] |
H A D | wiring_pulse.c | 28 /* Measures the length (in microseconds) of a pulse on the pin; state is HIGH 32 unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout) argument 34 // cache the port and bit of the pin in order to speed up the 37 uint8_t bit = digitalPinToBitMask(pin); 38 uint8_t port = digitalPinToPort(pin);
|
H A D | wiring_digital.c | 30 void pinMode(uint8_t pin, uint8_t mode) argument 32 uint8_t bit = digitalPinToBitMask(pin); 33 uint8_t port = digitalPinToPort(pin); 124 void digitalWrite(uint8_t pin, uint8_t val) argument 126 uint8_t timer = digitalPinToTimer(pin); 127 uint8_t bit = digitalPinToBitMask(pin); 128 uint8_t port = digitalPinToPort(pin); 133 // If the pin that support PWM output, we need to turn it off 152 int digitalRead(uint8_t pin) argument 154 uint8_t timer = digitalPinToTimer(pin); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_old_handlers_wps.c | 73 char *pin = NULL; local 78 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) 90 if (os_strlen(pin) > 0) 91 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 108 dbus_message_append_args(reply, DBUS_TYPE_STRING, &pin, 133 char *pin = NULL; local 138 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) 142 ret = wpas_wps_start_reg(wpa_s, NULL, pin, NULL); 144 ret = wpas_wps_start_reg(wpa_s, bssid, pin, NULL);
|
H A D | dbus_new_handlers_wps.c | 26 int type; /* 0 - not set, 1 - pin, 2 - pbc */ 28 char *pin; member in struct:wps_start_params 82 if (os_strcmp(val, "pin") == 0) 143 dbus_message_iter_get_basic(&variant_iter, ¶ms->pin); 220 * (pin or push button) and optionally pin and bssid. Returned message 221 * has a dictionary argument which may contain newly generated pin (optional). 260 } else if (params.role == 2 && params.pin == NULL) { 268 ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin, 275 params.pin, [all...] |
/external/chromium/chrome/browser/ui/ |
H A D | browser_tab_restore_service_delegate.cc | 46 bool pin, 50 extension_app_id, select, pin, 40 AddRestoredTab( const std::vector<TabNavigation>& navigations, int tab_index, int selected_navigation, const std::string& extension_app_id, bool select, bool pin, bool from_last_session, SessionStorageNamespace* storage_namespace) argument
|
/external/skia/src/core/ |
H A D | SkDeviceProfile.cpp | 10 static float pin(float value, float min, float max) { function 21 fGammaExponent = pin(gammaExp, 0, 10); 22 fContrastScale = pin(contrast, 0, 1);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
H A D | p2p_connect.py | 19 print " -a <addr> [-p <pin>] [-g <go_intent>] \ " 25 print " -p = pin number (8 digits)" 66 global pin 79 pin,wps_method,go_intent): 86 self.pin = pin 155 # Display requires a pin, and a go intent of 15 157 if (self.pin != None): 158 self.p2p_connect_arguements.update({'pin':self.pin}) 228 pin = None variable in class:P2P_Connect [all...] |
/external/openssh/ |
H A D | ssh-pkcs11-client.c | 183 pkcs11_add_provider(char *name, char *pin, Key ***keysp) argument 197 buffer_put_cstring(&msg, pin);
|
H A D | ssh-add.c | 266 char *pin; local 269 pin = read_passphrase("Enter passphrase for PKCS#11: ", RP_ALLOW_STDIN); 270 if (pin == NULL) 273 if (ssh_update_card(ac, add, id, pin, lifetime, confirm)) { 282 xfree(pin);
|
H A D | ssh-pkcs11-helper.c | 116 char *name, *pin; local 125 pin = get_string(NULL); 126 if ((nkeys = pkcs11_add_provider(name, pin, &keys)) > 0) { 140 xfree(pin); 149 char *name, *pin; local 154 pin = get_string(NULL); 160 xfree(pin);
|
H A D | authfd.c | 631 const char *reader_id, const char *pin, u_int life, u_int confirm) 646 buffer_put_cstring(&msg, pin); 630 ssh_update_card(AuthenticationConnection *auth, int add, const char *reader_id, const char *pin, u_int life, u_int confirm) argument
|
H A D | ssh-pkcs11.c | 239 char *pin, prompt[1024]; local 259 error("need pin"); 264 pin = read_passphrase(prompt, RP_ALLOW_EOF); 265 if (pin == NULL) 267 if ((rv = f->C_Login(si->session, CKU_USER, pin, strlen(pin))) 269 xfree(pin); 273 xfree(pin); 347 * if pin == NULL we delay login until key use 350 pkcs11_open_session(struct pkcs11_provider *p, CK_ULONG slotidx, char *pin) argument 482 pkcs11_add_provider(char *provider_id, char *pin, Key ***keyp) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11mouse.c | 197 char *mouse_param, *mouse_param_buf, *pin; local 208 pin = SDL_strchr(mouse_param, '/'); 209 if ( pin ) { 210 *pin = '\0'; 213 if ( pin ) { 214 mouse_param = pin+1;
|
/external/skia/src/animator/ |
H A D | SkDrawGradient.cpp | 25 SkScalar pin = SkScalarPin(x, 0, SK_Scalar1); local 27 return (int) (pin * 65535.0f); 29 return pin - (pin >= 32768);
|
/external/skia/src/ports/ |
H A D | SkImageRef_ashmem.cpp | 164 // fast case: check if we can just pin and get the cached data 168 int pin = ashmem_pin_region(fRec.fFD, 0, 0); local 170 if (ASHMEM_NOT_PURGED == pin) { // yea, fast case! 173 } else if (ASHMEM_WAS_PURGED == pin) { 185 SkDebugf("===== ashmem pin_region(%d) returned %d\n", fRec.fFD, pin);
|
/external/skia/src/effects/ |
H A D | SkColorFilters.cpp | 280 static inline unsigned pin(unsigned value, unsigned max) { function 317 unsigned r = pin(SkAlphaMul(SkGetPackedR32(c), scaleR) + SkAlphaMul(addR, scaleA), a); 318 unsigned g = pin(SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA), a); 319 unsigned b = pin(SkAlphaMul(SkGetPackedB32(c), scaleB) + SkAlphaMul(addB, scaleA), a); 368 unsigned r = pin(SkGetPackedR32(c) + SkAlphaMul(addR, scaleA), a); 369 unsigned g = pin(SkGetPackedG32(c) + SkAlphaMul(addG, scaleA), a); 370 unsigned b = pin(SkGetPackedB32(c) + SkAlphaMul(addB, scaleA), a);
|
H A D | SkColorMatrixFilter.cpp | 205 static int32_t pin(int32_t value, int32_t max) { function 268 r = pin(result[0], SK_R32_MASK); 269 g = pin(result[1], SK_G32_MASK); 270 b = pin(result[2], SK_B32_MASK); 271 a = pin(result[3], SK_A32_MASK); 302 r = pin(result[0], SK_R32_MASK); 303 g = pin(result[1], SK_G32_MASK); 304 b = pin(result[2], SK_B32_MASK);
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
H A D | tls.h | 67 * @ppin: pointer to the pin variable in the configuration 106 const char *pin; member in struct:tls_connection_params
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
H A D | eap_config.h | 360 * EAP-WSC (WPS) uses following options: pin=Device_Password and 385 * pin - PIN for USIM, GSM SIM, and smartcards 393 char *pin; member in struct:eap_peer_config
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
H A D | wps_common.c | 205 * @pin: Seven digit PIN (i.e., eight digit PIN without the checksum digit) 208 unsigned int wps_pin_checksum(unsigned int pin) argument 211 while (pin) { 212 accum += 3 * (pin % 10); 213 pin /= 10; 214 accum += pin % 10; 215 pin /= 10; 224 * @pin: Eight digit PIN (i.e., including the checksum digit) 227 unsigned int wps_pin_valid(unsigned int pin) argument 229 return wps_pin_checksum(pin / 1 [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_config.h | 366 * EAP-WSC (WPS) uses following options: pin=Device_Password and 391 * pin - PIN for USIM, GSM SIM, and smartcards 399 char *pin; member in struct:eap_peer_config
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_config.h | 366 * EAP-WSC (WPS) uses following options: pin=Device_Password and 391 * pin - PIN for USIM, GSM SIM, and smartcards 399 char *pin; member in struct:eap_peer_config
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_config.h | 366 * EAP-WSC (WPS) uses following options: pin=Device_Password and 391 * pin - PIN for USIM, GSM SIM, and smartcards 399 char *pin; member in struct:eap_peer_config
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | RangeConstraintManager.cpp | 152 bool pin(llvm::APSInt &Lower, llvm::APSInt &Upper) const { function in class:__anon3958::RangeSet 243 if (!pin(Lower, Upper))
|