Home
last modified time | relevance | path

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

12345678910>>...51

/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/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/openssh/regress/
Dkrl.sh27 serial: 1-4
28 serial: 10
29 serial: 15
30 serial: 30
31 serial: 50
32 serial: 999
34 serial: 500
35 serial: 501
36 serial: 502
37 serial: 503-600
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_refcnt.c86 unsigned serial; in debug_serial() local
101 serial = (unsigned) (uintptr_t) util_hash_table_get(serials_hash, p); in debug_serial()
102 if (!serial) { in debug_serial()
106 serial = ++serials_last; in debug_serial()
107 if (!serial) { in debug_serial()
112 util_hash_table_set(serials_hash, p, (void *) (uintptr_t) serial); in debug_serial()
117 *pserial = serial; in debug_serial()
174 unsigned serial; in debug_reference_slowpath() local
175 boolean existing = debug_serial((void *) p, &serial); in debug_reference_slowpath()
182 fprintf(stream, "<%s> %p %u Create\n", buf, (void *) p, serial); in debug_reference_slowpath()
[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/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.sh59 -s|--serial)
60 serial="$2"
73 if [[ $serial ]]; then
74 serialFlag="-s $serial"
75 if [[ $(adb devices) != *"$serial"* ]]
77 echo Device not found: "${serial}"
100 if [[ $serial ]]; then echo serial = "${serial}"; fi
122 until mkdir /var/tmp/VkLayerValidationTests.$serial.lock
125 echo "Waiting for existing Android test to complete on $serial"
130 echo "Deleting /var/tmp/VkLayerValidationTests.$serial.lock"
[all …]
/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/autotest/client/cros/i2c/
Dusb_to_i2c.py13 import serial
111 self.serial = serial.Serial(port=self.device_path,
113 bytesize=serial.EIGHTBITS,
114 parity=serial.PARITY_NONE,
115 stopbits=serial.STOPBITS_ONE,
120 serial.VERSION, self.serial.__repr__())
122 self.serial.flush()
126 self.serial.write(bytearray(data))
127 self.serial.flush()
131 ret = self.serial.read(self.serial.inWaiting())
/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…
137 print "Installing to %s (%s)...\n" % (device.serial, device.model),
139 print printPrefix + "Installing to %s\n" % device.serial,
141 uninstall(adbPath, packageName, ['-s', device.serial], printPrefix)
142 install(adbPath, apkPath, ['-s', device.serial], printPrefix)
225 if args.serial == None:
234 print "%3d: %16s %s" % ((i+1), devices[i].serial, devices[i].model)
241 devices = [dev for dev in devices if dev.serial in args.serial]
[all …]
/external/mesa3d/src/gallium/drivers/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/u-boot/board/toradex/common/
Dtdx-common.c36 unsigned int serial = tdx_serial; in get_board_serial() local
43 if (serial) { in get_board_serial()
49 while (serial) { in get_board_serial()
50 array[i--] = serial % 10; in get_board_serial()
51 serial /= 10; in get_board_serial()
55 serial = array[0]; in get_board_serial()
57 serial *= 16; in get_board_serial()
58 serial += array[i]; in get_board_serial()
61 serialnr->low = serial; in get_board_serial()
/external/u-boot/doc/
DREADME.iomux24 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces
31 finds acceptable, but the code has only been tested with serial and
35 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is
37 shows "nc,nc,serial".
57 example, if stdin=serial,nc and stdout=serial,nc then all output
58 for serial, e.g. echos of input on serial, will appear on serial and nc.
76 work, even when stdin=stdout=stderr=serial.
78 characters) lines works fine when serial is the only device used.
81 is quite slow. Even on a sequoia cut&paste does not work on the serial
83 the ethernet interface for input. In this test case stdin=serial,nc and
[all …]
/external/u-boot/drivers/serial/
DKconfig17 bool "Require a serial port for console"
18 # Running without a serial console is not supported by the
19 # non-dm serial code
23 Require a serial port for the console, and panic if none is found
24 during serial port initialization (default y). Set this to n on
25 boards which have no debug serial port whatsoever.
37 bool "Provide a serial driver"
47 bool "Provide a serial driver in SPL"
88 Set this to match the UART number of the serial console.
91 bool "Enable Driver Model for serial drivers"
[all …]
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_status.py35 def IsBlacklisted(serial, blacklist): argument
36 return blacklist and serial in blacklist.Read()
96 serial = device.adb.GetDeviceSerial()
98 adb_devices[serial][1] if serial in adb_devices
100 usb_status = bool(serial in usb_devices)
103 'serial': serial,
108 if not IsBlacklisted(serial, blacklist):
142 blacklist.Extend([serial], reason='status_check_failure')
148 blacklist.Extend([serial], reason='status_check_timeout')
151 blacklist.Extend([serial],
[all …]
/external/adhd/cras/src/server/
Dcras_dbus_control.c151 dbus_uint32_t serial = 0; in send_empty_reply() local
157 dbus_connection_send(conn, reply, &serial); in send_empty_reply()
168 dbus_uint32_t serial = 0; in send_int32_reply() local
177 dbus_connection_send(conn, reply, &serial); in send_int32_reply()
390 dbus_uint32_t serial = 0; in handle_get_volume_state() local
413 dbus_connection_send(conn, reply, &serial); in handle_get_volume_state()
426 dbus_uint32_t serial = 0; in handle_get_default_output_buffer_size() local
436 dbus_connection_send(conn, reply, &serial); in handle_get_default_output_buffer_size()
568 dbus_uint32_t serial = 0; in handle_get_nodes() local
576 dbus_connection_send(conn, reply, &serial); in handle_get_nodes()
[all …]
/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 = 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.py40 def reset_android_usb(serial): argument
48 if device_serial == serial:
57 % (bus, device, serial))
73 serial = lsusb.get_lsusb_serial(device_info)
74 if serial:
77 bus, device, serial)
98 if args.serial:
99 reset_android_usb(args.serial)
/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 …]
/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/mesa3d/src/gallium/auxiliary/rbug/
Drbug_connection.c70 rbug_get_message(struct rbug_connection *c, uint32_t *serial) in rbug_get_message() argument
107 else if (serial) in rbug_get_message()
108 *serial = c->recv_serial++; in rbug_get_message()
158 int rbug_connection_send_finish(struct rbug_connection *c, uint32_t *serial) in rbug_connection_send_finish() argument
162 else if (serial) in rbug_connection_send_finish()
163 *serial = c->send_serial++; in rbug_connection_send_finish()
/external/u-boot/lib/
Dlist_sort.c168 unsigned serial; member
176 if (ela->serial >= TEST_LIST_LEN) { in check()
178 ela->serial); in check()
181 if (elb->serial >= TEST_LIST_LEN) { in check()
183 elb->serial); in check()
186 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check()
239 el->serial = i; in list_sort_test()
267 if (cmp_result == 0 && el->serial >= el1->serial) { in list_sort_test()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
D2-1.c38 static int serial; variable
55 serial++; in fn_chld()
81 serial = 0; in main()
104 if (serial != 1 || (serial + normal_rt) != THREAD_NUM) { in main()
/external/python/cpython2/PC/VS8.0/
Dfield3.py17 major, minor, micro, level, serial = sys.version_info variable
28 print(" * PY_RELEASE_SERIAL = %d" % serial)
31 field3 = micro * 1000 + levelnum * 10 + serial
33 print(" * and %d*1000 + %d*10 + %d = %d" % (micro, levelnum, serial, field3))

12345678910>>...51