Home
last modified time | relevance | path

Searched refs:serial_number (Results 1 – 25 of 68) sorted by relevance

123

/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_dev_attr.c97 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number()
108 wpabuf_put_data(msg, dev->serial_number, len); in wps_build_serial_number()
256 os_free(dev->serial_number); in wps_process_serial_number()
257 dev->serial_number = os_malloc(str_len + 1); in wps_process_serial_number()
258 if (dev->serial_number == NULL) in wps_process_serial_number()
260 os_memcpy(dev->serial_number, str, str_len); in wps_process_serial_number()
261 dev->serial_number[str_len] = '\0'; in wps_process_serial_number()
320 wps_process_serial_number(dev, attr->serial_number, in wps_process_device_attrs()
368 if (src->serial_number) in wps_device_data_dup()
369 dst->serial_number = os_strdup(src->serial_number); in wps_device_data_dup()
[all …]
Dwps.h83 char *serial_number; member
327 const u8 *serial_number; member
/external/wpa_supplicant_8/src/wps/
Dwps_dev_attr.c94 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number()
108 wpabuf_put_data(msg, dev->serial_number, len); in wps_build_serial_number()
308 os_free(dev->serial_number); in wps_process_serial_number()
309 dev->serial_number = os_malloc(str_len + 1); in wps_process_serial_number()
310 if (dev->serial_number == NULL) in wps_process_serial_number()
312 os_memcpy(dev->serial_number, str, str_len); in wps_process_serial_number()
313 dev->serial_number[str_len] = '\0'; in wps_process_serial_number()
370 wps_process_serial_number(dev, attr->serial_number, in wps_process_device_attrs()
418 if (src->serial_number) in wps_device_data_dup()
419 dst->serial_number = os_strdup(src->serial_number); in wps_device_data_dup()
[all …]
Dwps_er.h26 char *serial_number; member
53 char *serial_number; member
Dwps.h89 char *serial_number; member
477 const u8 *serial_number; member
511 const char *serial_number; member
528 const char *serial_number; member
Dwps_er.c54 ev->serial_number = sta->serial_number; in wps_er_sta_event()
82 os_free(sta->serial_number); in wps_er_sta_free()
142 evap->serial_number = ap->serial_number; in wps_er_ap_event()
164 os_free(ap->serial_number); in wps_er_ap_free()
577 ap->serial_number = xml_get_first_item(data, "serialNumber"); in wps_er_parse_device_description()
578 wpa_printf(MSG_DEBUG, "WPS ER: serialNumber='%s'", ap->serial_number); in wps_er_parse_device_description()
824 if (attr->serial_number) { in wps_er_add_sta_data()
825 os_free(sta->serial_number); in wps_er_add_sta_data()
826 sta->serial_number = os_malloc(attr->serial_number_len + 1); in wps_er_add_sta_data()
827 if (sta->serial_number) { in wps_er_add_sta_data()
[all …]
Dwps_validate.c362 static int wps_validate_serial_number(const u8 *serial_number, size_t len, in wps_validate_serial_number() argument
365 if (serial_number == NULL) { in wps_validate_serial_number()
373 if (len > 0 && serial_number[len - 1] == 0) { in wps_validate_serial_number()
376 serial_number, len); in wps_validate_serial_number()
1154 wps_validate_serial_number(attr.serial_number, in wps_validate_beacon_probe_resp()
1315 wps_validate_serial_number(attr.serial_number, in wps_validate_m1()
1370 wps_validate_serial_number(attr.serial_number, in wps_validate_m2()
1424 wps_validate_serial_number(attr.serial_number, in wps_validate_m2d()
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslidentity.cc92 BIGNUM* serial_number = NULL; in MakeCertificate() local
104 if (!(serial_number = BN_new()) || in MakeCertificate()
105 !BN_pseudo_rand(serial_number, SERIAL_RAND_BITS, 0, 0) || in MakeCertificate()
107 !BN_to_ASN1_INTEGER(serial_number, asn1_serial_number)) in MakeCertificate()
134 BN_free(serial_number); in MakeCertificate()
140 BN_free(serial_number); in MakeCertificate()
/external/oprofile/
Doprofile_android79 def __init__(self, serial_number): argument
81 if serial_number != None:
83 self._base_args.append(serial_number)
161 serial_number = None
167 serial_number = a
180 self.adb = Adb(serial_number)
/external/flac/libFLAC/
Dogg_encoder_aspect.c53 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0) in FLAC__ogg_encoder_aspect_init()
71 aspect->serial_number = value; in FLAC__ogg_encoder_aspect_set_serial_number()
86 aspect->serial_number = 0; in FLAC__ogg_encoder_aspect_set_defaults()
Dogg_decoder_aspect.c55 if(ogg_stream_init(&aspect->stream_state, aspect->serial_number) != 0) in FLAC__ogg_decoder_aspect_init()
81 aspect->serial_number = value; in FLAC__ogg_decoder_aspect_set_serial_number()
202 … aspect->stream_state.serialno = aspect->serial_number = ogg_page_serialno(&aspect->working_page); in FLAC__ogg_decoder_aspect_read_callback_wrapper()
/external/chromium/chrome/browser/ui/webui/chromeos/
Dregister_page_ui.cc282 std::string serial_number; in SendUserInfo() local
284 !sys_lib->GetMachineStatistic(kMachineInfoSerialNumber, &serial_number)) { in SendUserInfo()
289 value.SetString("system_serial", serial_number); in SendUserInfo()
/external/flac/libFLAC/include/private/
Dogg_encoder_aspect.h42 long serial_number; member
Dogg_decoder_aspect.h43 long serial_number; member
/external/chromium/net/base/
Dx509_certificate.h197 uint32 serial_number,
403 const std::string& serial_number() const { return serial_number_; } in serial_number() function
Dx509_certificate_unittest.cc437 ASSERT_EQ(sizeof(google_serial), google_cert->serial_number().size()); in TEST()
438 EXPECT_TRUE(memcmp(google_cert->serial_number().data(), google_serial, in TEST()
450 paypal_null_cert->serial_number().size()); in TEST()
451 EXPECT_TRUE(memcmp(paypal_null_cert->serial_number().data(), in TEST()
/external/wpa_supplicant_6/wpa_supplicant/
Dconfig.h285 char *serial_number; member
Dwps_supplicant.c644 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb()
668 wps->dev.serial_number = wpa_s->conf->serial_number; in wpas_wps_init()
Dconfig_file.c456 { STR_RANGE(serial_number, 0, 32) },
882 if (config->serial_number) in wpa_config_write_global()
883 fprintf(f, "serial_number=%s\n", config->serial_number); in wpa_config_write_global()
/external/wpa_supplicant_8/src/tls/
Dx509v3.h51 unsigned long serial_number; member
/external/wpa_supplicant_8/src/p2p/
Dp2p.h177 char serial_number[33]; member
300 char *serial_number; member
770 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number);
Dp2p.c552 if (msg->serial_number && in p2p_copy_wps_info()
553 msg->serial_number_len < sizeof(dev->info.serial_number)) { in p2p_copy_wps_info()
554 os_memset(dev->info.serial_number, 0, in p2p_copy_wps_info()
555 sizeof(dev->info.serial_number)); in p2p_copy_wps_info()
556 os_memcpy(dev->info.serial_number, msg->serial_number, in p2p_copy_wps_info()
2257 if (cfg->serial_number) in p2p_init()
2258 p2p->cfg->serial_number = os_strdup(cfg->serial_number); in p2p_init()
2300 os_free(p2p->cfg->serial_number); in p2p_deinit()
2421 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number) in p2p_set_serial_number() argument
2423 os_free(p2p->cfg->serial_number); in p2p_set_serial_number()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dx509v3.h37 unsigned long serial_number; member
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig.h302 char *serial_number; member
Dwps_supplicant.c550 enrollee->serial_number ? enrollee->serial_number : ""); in wpa_supplicant_wps_event_er_enrollee_add()
1058 dev->model_number, dev->serial_number, in wpas_wps_pin_needed_cb()
1152 wps->dev.serial_number = wpa_s->conf->serial_number; in wpas_wps_init()
1733 wps->dev.serial_number = wpa_s->conf->serial_number; in wpas_wps_update_config()

123