/external/perfetto/tools/ |
D | pull_ftrace_format_files.py | 32 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/ |
D | miniterm.py | 11 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/ |
D | arena.cc | 80 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/ |
D | u_debug_refcnt.c | 72 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/vulkan-validation-layers/build-android/ |
D | install_all.sh | 43 -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}"
|
D | test_APK.sh | 60 -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/openssh/regress/ |
D | krl.sh | 35 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | IssuerSerial.java | 19 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/ |
D | protocol_hwgrep.py | 14 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | IssuerSerial.java | 23 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/rust/crates/rayon/tests/ |
D | str.rs | 63 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/ |
D | IssuerSerial.java | 23 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/ |
D | ResourceVk.h | 31 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/deqp/scripts/android/ |
D | install_apk.py | 42 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/mesa3d/src/gallium/auxiliary/driver_rbug/ |
D | rbug_core.c | 178 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/chromium-trace/catapult/devil/devil/android/tools/ |
D | device_status.py | 34 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/ |
D | README.md | 1 # 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/ |
D | v3_akey.c | 104 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/ |
D | v3_akey.c | 104 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/openscreen/cast/test/ |
D | make_crl_tests.cc | 59 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/adhd/cras/src/server/ |
D | cras_dbus_control.c | 252 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/icu/icu4c/source/samples/ucnv/ |
D | flagcb.c | 151 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/ |
D | example-server.h | 1568 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/mesa3d/src/gallium/auxiliary/rbug/ |
D | rbug_connection.c | 70 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/chromium-trace/catapult/third_party/pyserial/serial/ |
D | rfc2217.py | 62 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 …]
|