Home
last modified time | relevance | path

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

12345678910>>...32

/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/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/deqp/android/scripts/
Ddebug.py34 def getADBProgramPID (adbCmd, program, serial): argument
38 + (["-s", serial] if serial != None else [])
76 serial, argument
88 serialArg = "-s " + serial if serial != None else ""
99 + (["-s", serial] if serial != None else [])
105 gdbPid = getADBProgramPID(adbCmd, "gdbserver", serial)
109 + (["-s", serial] if serial != None else [])
115 programPid = getADBProgramPID(adbCmd, "com.drawelements.deqp:testercore", serial)
125 + (["-s", serial] if serial != None else [])
139 + (["-s", serial] if serial != None else [])
[all …]
Dinstall.py49 print "Installing to %s (%s)...\n" % (device.serial, device.model),
51 print printPrefix + "Installing to %s\n" % device.serial,
53 install(buildRoot, ['-s', device.serial], printPrefix)
79 if args.serial == None:
88 print "%3d: %16s %s" % ((i+1), devices[i].serial, devices[i].model)
95 devices = [dev for dev in devices if dev.serial in args.serial]
96 devSerials = [dev.serial for dev in devices]
97 notFounds = [serial for serial in args.serial if not serial in devSerials]
/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()
187 unsigned serial; in debug_reference_slowpath() local
188 boolean existing = debug_serial((void *) p, &serial); in debug_reference_slowpath()
201 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/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/chromium-trace/catapult/devil/devil/utils/
Dbattor_device_mapping.py103 yield devnode.serial
198 for (port, serial) in hub.iteritems():
199 if serial in battor_serials:
203 port_to_devices[port].battor = serial
208 port_to_devices[port].phone = serial
226 def _PhoneToPathMap(serial, serial_map, devtree): argument
229 battor_serial = serial_map[serial]
235 if node.serial == battor_serial:
246 def GetBattOrPathFromPhoneSerial(serial, serial_map=None, argument
285 if not serial:
[all …]
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/libmojo/third_party/catapult/devil/devil/utils/
Dbattor_device_mapping.py103 yield devnode.serial
200 for (port, serial) in hub.iteritems():
201 if serial in battor_serials:
205 port_to_devices[port].battor = serial
210 port_to_devices[port].phone = serial
229 def _PhoneToPathMap(serial, serial_map, devtree): argument
232 battor_serial = serial_map[serial]
238 if node.serial == battor_serial:
249 def GetBattorPathFromPhoneSerial(serial, serial_map=None, argument
288 if not serial:
[all …]
Dreset_usb.py32 def reset_android_usb(serial): argument
40 if device_serial == serial:
48 'Unable to determine bus or device for device %s' % serial)
64 serial = lsusb.get_lsusb_serial(device_info)
65 if serial:
67 bus, device, serial)
87 if args.serial:
88 reset_android_usb(args.serial)
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_core.c177 rbug_texture_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_list() argument
193 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); in rbug_texture_list()
200 rbug_texture_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_info() argument
225 rbug_send_texture_info_reply(tr_rbug->con, serial, in rbug_texture_info()
244 rbug_texture_read(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_read() argument
277 rbug_send_texture_read_reply(tr_rbug->con, serial, in rbug_texture_read()
296 rbug_context_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_list() argument
312 rbug_send_context_list_reply(tr_rbug->con, serial, ctxs, i, NULL); in rbug_context_list()
319 rbug_context_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_info() argument
348 rbug_send_context_info_reply(tr_rbug->con, serial, in rbug_context_info()
[all …]
/external/libmojo/third_party/catapult/devil/devil/android/tools/
Ddevice_status.py33 def IsBlacklisted(serial, blacklist): argument
34 return blacklist and serial in blacklist.Read()
107 serial = device.adb.GetDeviceSerial()
109 adb_devices[serial][1] if serial in adb_devices
111 usb_status = bool(serial in usb_devices)
114 'serial': serial,
119 if not IsBlacklisted(serial, blacklist):
146 blacklist.Extend([serial], reason='status_check_failure')
152 blacklist.Extend([serial], reason='status_check_timeout')
155 blacklist.Extend([serial],
[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()
111 serial = device.adb.GetDeviceSerial()
113 adb_devices[serial][1] if serial in adb_devices
115 usb_status = bool(serial in usb_devices)
118 'serial': serial,
123 if not IsBlacklisted(serial, blacklist):
153 blacklist.Extend([serial], reason='status_check_failure')
159 blacklist.Extend([serial], reason='status_check_timeout')
162 blacklist.Extend([serial],
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_akey.c101 if (akeyid->serial) { in STACK_OF()
102 tmp = hex_to_string(akeyid->serial->data, akeyid->serial->length); in STACK_OF()
129 ASN1_INTEGER *serial = NULL; in v2i_AUTHORITY_KEYID() local
172 serial = M_ASN1_INTEGER_dup(X509_get_serialNumber(cert)); in v2i_AUTHORITY_KEYID()
173 if (!isname || !serial) { in v2i_AUTHORITY_KEYID()
194 akeyid->serial = serial; in v2i_AUTHORITY_KEYID()
201 M_ASN1_INTEGER_free(serial); in v2i_AUTHORITY_KEYID()
/external/autotest/server/hosts/
Dtestbed.py162 for serial, exc_type, exc_value, exc_traceback in failures:
163 serials.append(serial)
167 'error:\n%s', serial, details)
281 builds_without_serial = [build for build, serial in images
282 if not serial]
283 for build, serial in images:
284 if serial:
285 serial_build_pairs[serial] = build
292 for serial, host in self.get_adb_devices().iteritems():
294 if serial in serial_build_pairs:
[all …]
/external/syslinux/com32/libupload/
Dupload_ymodem.c21 struct serial_if serial; member
93 serial_write(&ym->serial, blk, bytes); in send_ack()
96 serial_read(&ym->serial, &ack_buf, 1); in send_ack()
120 if (serial_init(&ym.serial, &be->argv[1])) in upload_ymodem_write()
125 serial_write(&ym.serial, ymodem_banner, sizeof ymodem_banner-1); in upload_ymodem_write()
130 serial_read(&ym.serial, &ack_buf, 1); in upload_ymodem_write()
156 serial_read(&ym.serial, &ack_buf, 1); in upload_ymodem_write()
165 serial_cleanup(&ym.serial); in upload_ymodem_write()
/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/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/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/python/cpython2/PC/VS7.1/
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)
/external/python/cpython2/PCbuild/
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))
/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))
/external/python/cpython2/PC/VS9.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>>...32