Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 975) sorted by relevance

12345678910>>...39

/external/perfetto/tools/
Dpull_ftrace_format_files.py32 serial = kwargs.get('serial', None)
34 if serial:
35 prefix += ['-s', serial]
71 def ensure_single_device(serial): argument
73 if serial is None and len(serials) == 1:
76 if serial in serials:
77 return serial
81 elif serial is None:
84 print('No device with serial {} found.'.format(serial))
88 def pull_format_files(serial, output_directory): argument
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dminiterm.py11 import sys, os, serial, threading
13 from serial.tools.list_ports import comports
17 EXITCHARCTER = serial.to_bytes([0x1d]) # GS/CTRL+]
18 MENUCHARACTER = serial.to_bytes([0x14]) # Menu: CTRL+T
62 'version': getattr(serial, 'VERSION', 'unknown version'),
84 LF = serial.to_bytes([10])
85 CR = serial.to_bytes([13])
86 CRLF = serial.to_bytes([13, 10])
88 X00 = serial.to_bytes([0])
89 X0E = serial.to_bytes([0x0e])
[all …]
/external/protobuf/src/google/protobuf/
Darena.cc80 SerialArena* serial = in Init() local
82 serial->set_next(NULL); in Init()
83 threads_.store(serial, std::memory_order_relaxed); in Init()
86 CacheSerialArena(serial); in Init()
205 SerialArena* serial = hint_.load(std::memory_order_acquire); in GetSerialArenaFast() local
206 if (PROTOBUF_PREDICT_TRUE(serial != NULL && serial->owner() == tc)) { in GetSerialArenaFast()
207 *arena = serial; in GetSerialArenaFast()
244 SerialArena* serial = threads_.load(std::memory_order_acquire); in SpaceUsed() local
246 for (; serial; serial = serial->next()) { in SpaceUsed()
247 space_used += serial->SpaceUsed(); in SpaceUsed()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_refcnt.c72 unsigned serial; in debug_serial() local
87 serial = (unsigned) (uintptr_t) util_hash_table_get(serials_hash, p); in debug_serial()
88 if (!serial) { in debug_serial()
92 serial = ++serials_last; in debug_serial()
93 if (!serial) { in debug_serial()
98 _mesa_hash_table_insert(serials_hash, p, (void *) (uintptr_t) serial); in debug_serial()
103 *pserial = serial; in debug_serial()
164 unsigned serial; in debug_reference_slowpath() local
165 boolean existing = debug_serial((void *) p, &serial); in debug_reference_slowpath()
172 fprintf(stream, "<%s> %p %u Create\n", buf, (void *) p, serial); in debug_reference_slowpath()
[all …]
/external/openssh/regress/
Dkrl.sh35 serial: 1-4
36 serial: 10
37 serial: 15
38 serial: 30
39 serial: 50
40 serial: 90
41 serial: 999
43 serial: 500
44 serial: 501
45 serial: 502
[all …]
/external/vulkan-validation-layers/build-android/
Dinstall_all.sh43 -s|--serial)
45 serial="$2"
58 if [[ $serial ]]; then
59 echo serial = "${serial}"
60 serialFlag="-s $serial"
61 if [[ $(adb devices) != *"$serial"* ]]
63 echo Device not found: "${serial}"
Dtest_APK.sh60 -s|--serial)
61 serial="$2"
78 if [[ $serial ]]; then
79 serialFlag="-s $serial"
80 if [[ $(adb devices) != *"$serial"* ]]
82 echo Device not found: "${serial}"
105 if [[ $serial ]]; then echo serial = "${serial}"; fi
128 until mkdir /var/tmp/VkLayerValidationTests.$serial.lock
131 echo "Waiting for existing Android test to complete on $serial"
136 echo "Deleting /var/tmp/VkLayerValidationTests.$serial.lock"
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DIssuerSerial.java19 ASN1Integer serial; field in IssuerSerial
54 serial = ASN1Integer.getInstance(seq.getObjectAt(1)); in IssuerSerial()
64 BigInteger serial) in IssuerSerial() argument
66 this(new GeneralNames(new GeneralName(issuer)), new ASN1Integer(serial)); in IssuerSerial()
71 BigInteger serial) in IssuerSerial() argument
73 this(issuer, new ASN1Integer(serial)); in IssuerSerial()
78 ASN1Integer serial) in IssuerSerial() argument
81 this.serial = serial; in IssuerSerial()
91 return serial; in getSerial()
114 v.add(serial); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DIssuerSerial.java23 ASN1Integer serial; field in IssuerSerial
58 serial = ASN1Integer.getInstance(seq.getObjectAt(1)); in IssuerSerial()
68 BigInteger serial) in IssuerSerial() argument
70 this(new GeneralNames(new GeneralName(issuer)), new ASN1Integer(serial)); in IssuerSerial()
75 BigInteger serial) in IssuerSerial() argument
77 this(issuer, new ASN1Integer(serial)); in IssuerSerial()
82 ASN1Integer serial) in IssuerSerial() argument
85 this.serial = serial; in IssuerSerial()
95 return serial; in getSerial()
118 v.add(serial); in toASN1Primitive()
/external/chromium-trace/catapult/third_party/pyserial/serial/urlhandler/
Dprotocol_hwgrep.py14 import serial
15 import serial.tools.list_ports
17 class Serial(serial.Serial):
23 serial.Serial.setPort(self, self.fromURL(value))
25 serial.Serial.setPort(self, value)
31 for port, desc, hwid in serial.tools.list_ports.grep(url):
34 raise serial.SerialException('no ports found matching regexp %r' % (url,))
37 port = property(serial.Serial.getPort, setPort, doc="Port setting")
/external/rust/crates/rayon/tests/
Dstr.rs63 let serial: Vec<_> = string.split(separator).collect(); in execute_strings_split() localVariable
65 assert_eq!(serial, parallel); in execute_strings_split()
73 let serial: Vec<_> = string.split_terminator(separator).collect(); in execute_strings_split() localVariable
75 assert_eq!(serial, parallel); in execute_strings_split()
79 let serial: Vec<_> = string.split_terminator(|c| c == separator).collect(); in execute_strings_split() localVariable
81 assert_eq!(serial, parallel); in execute_strings_split()
85 let serial: Vec<_> = string.lines().collect(); in execute_strings_split() localVariable
87 assert_eq!(serial, parallel); in execute_strings_split()
91 let serial: Vec<_> = string.split_whitespace().collect(); in execute_strings_split() localVariable
93 assert_eq!(serial, parallel); in execute_strings_split()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DIssuerSerial.java23 ASN1Integer serial; field in IssuerSerial
58 serial = ASN1Integer.getInstance(seq.getObjectAt(1)); in IssuerSerial()
68 BigInteger serial) in IssuerSerial() argument
70 this(new GeneralNames(new GeneralName(issuer)), new ASN1Integer(serial)); in IssuerSerial()
75 BigInteger serial) in IssuerSerial() argument
77 this(issuer, new ASN1Integer(serial)); in IssuerSerial()
82 ASN1Integer serial) in IssuerSerial() argument
85 this.serial = serial; in IssuerSerial()
95 return serial; in getSerial()
118 v.add(serial); in toASN1Primitive()
/external/angle/src/libANGLE/renderer/vulkan/
DResourceVk.h31 Serial serial; member
56 void updateSerialOneOff(Serial serial) { mUse->serial = serial; } in updateSerialOneOff() argument
69 ANGLE_INLINE void releaseAndUpdateSerial(Serial serial) in releaseAndUpdateSerial() argument
73 ASSERT(mUse->serial <= serial); in releaseAndUpdateSerial()
74 mUse->serial = serial; in releaseAndUpdateSerial()
98 return mUse->serial > lastCompletedSerial; in usedInRunningCommands()
109 return mUse->serial; in getSerial()
146 void releaseResourceUsesAndUpdateSerials(Serial serial);
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_core.c178 rbug_texture_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_list() argument
194 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); in rbug_texture_list()
201 rbug_texture_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_info() argument
226 rbug_send_texture_info_reply(tr_rbug->con, serial, in rbug_texture_info()
245 rbug_texture_read(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_read() argument
278 rbug_send_texture_read_reply(tr_rbug->con, serial, in rbug_texture_read()
297 rbug_context_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_list() argument
313 rbug_send_context_list_reply(tr_rbug->con, serial, ctxs, i, NULL); in rbug_context_list()
320 rbug_context_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_info() argument
349 rbug_send_context_info_reply(tr_rbug->con, serial, in rbug_context_info()
[all …]
/external/deqp/scripts/android/
Dinstall_apk.py42 def __init__(self, serial, product, model, device): argument
43 self.serial = serial
49 …return "%s: {product: %s, model: %s, device: %s}" % (self.serial, self.product, self.model, self.d…
138 print("Installing to %s (%s)...\n" % (device.serial, device.model), end='')
140 print(printPrefix + "Installing to %s\n" % device.serial, end='')
142 uninstall(adbPath, packageName, ['-s', device.serial], printPrefix)
143 install(adbPath, apkPath, ['-s', device.serial], printPrefix)
226 if args.serial == None:
235 print("%3d: %16s %s" % ((i+1), devices[i].serial, devices[i].model))
242 devices = [dev for dev in devices if dev.serial in args.serial]
[all …]
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_status.py34 def IsDenylisted(serial, denylist): argument
35 return denylist and serial in denylist.Read()
95 serial = device.adb.GetDeviceSerial()
96 adb_status = (adb_devices[serial][1]
97 if serial in adb_devices else 'missing')
98 usb_status = bool(serial in usb_devices)
101 'serial': serial,
106 if not IsDenylisted(serial, denylist):
140 denylist.Extend([serial], reason='status_check_failure')
146 denylist.Extend([serial], reason='status_check_timeout')
[all …]
/external/libwebsockets/minimal-examples/raw/minimal-raw-serial/
DREADME.md1 # lws minimal raw serial example
3 This demonstrates adopting a file descriptor representing a serial device
5 showing any serial that is received.
7 The serial terminal is configured for 115200 8N1.
11 $ ./lws-minimal-raw-serial <tty, eg, /dev/ttyUSB0>
24 [2019/12/08 16:30:53:4436] U: LWS minimal raw serial
46 The remote serial connection will show the string sent every 2s.
/external/boringssl/src/crypto/x509v3/
Dv3_akey.c104 if (akeyid->serial) { in STACK_OF()
105 tmp = x509v3_bytes_to_hex(akeyid->serial->data, akeyid->serial->length); in STACK_OF()
132 ASN1_INTEGER *serial = NULL; in v2i_AUTHORITY_KEYID() local
175 serial = ASN1_INTEGER_dup(X509_get_serialNumber(cert)); in v2i_AUTHORITY_KEYID()
176 if (!isname || !serial) { in v2i_AUTHORITY_KEYID()
197 akeyid->serial = serial; in v2i_AUTHORITY_KEYID()
204 ASN1_INTEGER_free(serial); in v2i_AUTHORITY_KEYID()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_akey.c104 if (akeyid->serial) { in STACK_OF()
105 tmp = x509v3_bytes_to_hex(akeyid->serial->data, akeyid->serial->length); in STACK_OF()
132 ASN1_INTEGER *serial = NULL; in v2i_AUTHORITY_KEYID() local
175 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert)); in v2i_AUTHORITY_KEYID()
176 if (!isname || !serial) { in v2i_AUTHORITY_KEYID()
197 akeyid->serial = serial; in v2i_AUTHORITY_KEYID()
204 M_ASN1_INTEGER_free(serial); in v2i_AUTHORITY_KEYID()
/external/chromium-trace/catapult/devil/devil/utils/
Dreset_usb.py42 def reset_android_usb(serial): argument
50 if device_serial == serial:
59 (bus, device, serial))
75 serial = lsusb.get_lsusb_serial(device_info)
76 if serial:
78 bus, device, serial)
96 if args.serial:
97 reset_android_usb(args.serial)
/external/adhd/cras/src/server/
Dcras_dbus_control.c252 dbus_uint32_t serial = 0; in send_empty_reply() local
258 dbus_connection_send(conn, reply, &serial); in send_empty_reply()
268 dbus_uint32_t serial = 0; in send_int32_reply() local
276 dbus_connection_send(conn, reply, &serial); in send_int32_reply()
449 dbus_uint32_t serial = 0; in handle_get_volume_state() local
468 dbus_connection_send(conn, reply, &serial); in handle_get_volume_state()
480 dbus_uint32_t serial = 0; in handle_get_default_output_buffer_size() local
489 dbus_connection_send(conn, reply, &serial); in handle_get_default_output_buffer_size()
624 dbus_uint32_t serial = 0; in handle_get_nodes() local
632 dbus_connection_send(conn, reply, &serial); in handle_get_nodes()
[all …]
/external/openscreen/cast/test/
Dmake_crl_tests.cc59 uint64_t serial = maybe_serial.value(); in MakeTbsCrl() local
60 OSP_DCHECK_LE(serial, UINT64_MAX - 200); in MakeTbsCrl()
61 AddSerialNumberRange(&tbs_crl, inter_cert, serial + 100, serial + 200); in MakeTbsCrl()
183 uint64_t serial = maybe_serial.value(); in CastMain() local
184 OSP_DCHECK_GE(serial, 10); in CastMain()
185 OSP_DCHECK_LE(serial, UINT64_MAX - 20); in CastMain()
186 AddSerialNumberRange(&tbs_crl, root_cert.get(), serial - 10, serial + 20); in CastMain()
198 uint64_t serial = maybe_serial.value(); in CastMain() local
199 OSP_DCHECK_GE(serial, 10); in CastMain()
200 OSP_DCHECK_LE(serial, UINT64_MAX - 20); in CastMain()
[all …]
/external/icu/icu4c/source/samples/ucnv/
Dflagcb.c151 q,q->serial, q->magic); in debugCB_print_log()
154 q, q->serial, name, q->magic); in debugCB_print_log()
163 newCtx->serial = debugCB_nextSerial(); in debugCB_clone()
170 printf("debugCB_clone: %p:%d -> new context %p:%d\n", ctx, ctx->serial, newCtx, newCtx->serial); in debugCB_clone()
188 …printf("debugCB_fromU: Context %p:%d called, reason %d on cnv %p [err=%s]\n", ctx, ctx->serial, re… in debugCB_fromU()
192 …, "debugCB_fromU: Context %p:%d magic is 0x%x should be 0xC0FFEE.\n", ctx,ctx->serial, ctx->magic); in debugCB_fromU()
262 printf("debugCB_fromU: Context %p:%d closing\n", ctx, ctx->serial); in debugCB_fromU()
280 ctx->serial = debugCB_nextSerial(); in debugCB_openContext()
285 fprintf(stderr, "debugCB:openContext opened[%p] = serial #%d\n", ctx, ctx->serial); in debugCB_openContext()
/external/wayland/tests/data/
Dexample-server.h1568 uint32_t serial,
1970 uint32_t serial);
1984 uint32_t serial);
2063 wl_data_device_send_enter(struct wl_resource *resource_, uint32_t serial, struct wl_resource *surfa… in wl_data_device_send_enter() argument
2065 wl_resource_post_event(resource_, WL_DATA_DEVICE_ENTER, serial, surface, x, y, id); in wl_data_device_send_enter()
2353 uint32_t serial);
2368 uint32_t serial);
2384 uint32_t serial,
2494 uint32_t serial,
2621 wl_shell_surface_send_ping(struct wl_resource *resource_, uint32_t serial) in wl_shell_surface_send_ping() argument
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/
Drfc2217.py62 from serial.serialutil import *
910 self.serial = serial_port
978 (self.serial.getCTS() and MODEMSTATE_MASK_CTS) |
979 (self.serial.getDSR() and MODEMSTATE_MASK_DSR) |
980 (self.serial.getRI() and MODEMSTATE_MASK_RI) |
981 (self.serial.getCD() and MODEMSTATE_MASK_CD)
1118 backup = self.serial.baudrate
1122 self.serial.baudrate = baudrate
1126 self.serial.baudrate = backup
1129 … self.logger.info("%s baud rate: %s" % (baudrate and 'set' or 'get', self.serial.baudrate))
[all …]

12345678910>>...39