Searched defs:pin (Results 1 - 25 of 85) sorted by relevance

1234

/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring_analog.c35 // 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 Dwiring_pulse.c28 /* 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 Dwiring_digital.c30 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 Ddbus_old_handlers_wps.c73 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 Ddbus_new_handlers_wps.c26 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, &params->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 Dbrowser_tab_restore_service_delegate.cc46 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 DSkDeviceProfile.cpp10 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 Dp2p_connect.py19 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 Dssh-pkcs11-client.c183 pkcs11_add_provider(char *name, char *pin, Key ***keysp) argument
197 buffer_put_cstring(&msg, pin);
H A Dssh-add.c266 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 Dssh-pkcs11-helper.c116 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 Dauthfd.c631 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 Dssh-pkcs11.c239 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 DSDL_x11mouse.c197 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 DSkDrawGradient.cpp25 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 DSkImageRef_ashmem.cpp164 // 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 DSkColorFilters.cpp280 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 DSkColorMatrixFilter.cpp205 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 Dtls.h67 * @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 Deap_config.h360 * 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 Dwps_common.c205 * @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 Deap_config.h366 * 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 Deap_config.h366 * 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 Deap_config.h366 * 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 DRangeConstraintManager.cpp152 bool pin(llvm::APSInt &Lower, llvm::APSInt &Upper) const { function in class:__anon3958::RangeSet
243 if (!pin(Lower, Upper))

Completed in 6318 milliseconds

1234