Home
last modified time | relevance | path

Searched refs:serial (Results 1 - 25 of 641) sorted by relevance

12345678910>>...26

/third_party/skia/third_party/externals/dawn/src/common/
H A DSerialQueue.h43 // The serial must be given in (not strictly) increasing order.
44 void Enqueue(const Value& value, Serial serial);
45 void Enqueue(Value&& value, Serial serial);
46 void Enqueue(const std::vector<Value>& values, Serial serial);
47 void Enqueue(std::vector<Value>&& values, Serial serial);
53 void SerialQueue<Serial, Value>::Enqueue(const Value& value, Serial serial) { in Enqueue() argument
54 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial); in Enqueue()
56 if (this->Empty() || this->mStorage.back().first < serial) { in Enqueue()
57 this->mStorage.emplace_back(serial, std::vector<Value>{}); in Enqueue()
63 void SerialQueue<Serial, Value>::Enqueue(Value&& value, Serial serial) { in Enqueue() argument
73 Enqueue(const std::vector<Value>& values, Serial serial) Enqueue() argument
80 Enqueue(std::vector<Value>&& values, Serial serial) Enqueue() argument
[all...]
H A DSerialMap.h42 void Enqueue(const Value& value, Serial serial);
43 void Enqueue(Value&& value, Serial serial);
44 void Enqueue(const std::vector<Value>& values, Serial serial);
45 void Enqueue(std::vector<Value>&& values, Serial serial);
51 void SerialMap<Serial, Value>::Enqueue(const Value& value, Serial serial) { in Enqueue() argument
52 this->mStorage[serial].emplace_back(value); in Enqueue()
56 void SerialMap<Serial, Value>::Enqueue(Value&& value, Serial serial) { in Enqueue() argument
57 this->mStorage[serial].emplace_back(value); in Enqueue()
61 void SerialMap<Serial, Value>::Enqueue(const std::vector<Value>& values, Serial serial) { in Enqueue() argument
64 Enqueue(value, serial); in Enqueue()
69 Enqueue(std::vector<Value>&& values, Serial serial) Enqueue() argument
[all...]
H A DSerialStorage.h92 // Ex.) SerialQueue enforces that the serial must be given in (not strictly)
95 void Enqueue(Params&&... args, Serial serial) { in Enqueue() argument
96 Derived::Enqueue(std::forward<Params>(args)..., serial); in Enqueue()
101 // The UpTo variants of Iterate and Clear affect all values associated to a serial
102 // that is smaller OR EQUAL to the given serial. Iterating is done like so:
105 ConstBeginEnd IterateUpTo(Serial serial) const;
107 BeginEnd IterateUpTo(Serial serial);
110 void ClearUpTo(Serial serial);
116 // Returns the first StorageIterator that a serial bigger than serial
146 IterateUpTo(Serial serial) IterateUpTo() argument
156 ClearUpTo(Serial serial) ClearUpTo() argument
183 FindUpTo(Serial serial) FindUpTo() argument
[all...]
/third_party/protobuf/src/google/protobuf/
H A Darena.cc81 SerialArena* serial = in Init() local
83 serial->set_next(NULL); in Init()
84 threads_.store(serial, std::memory_order_relaxed); in Init()
87 CacheSerialArena(serial); in Init()
213 SerialArena* serial = threads_.load(std::memory_order_acquire); in SpaceUsed() local
215 for (; serial; serial = serial->next()) { in SpaceUsed()
216 space_used += serial->SpaceUsed(); in SpaceUsed()
237 SerialArena* serial in FreeBlocks() local
251 Free(ArenaImpl::SerialArena* serial, Block* initial_block, void (*block_dealloc)(void*, size_t)) Free() argument
283 SerialArena* serial = threads_.load(std::memory_order_relaxed); CleanupList() local
320 SerialArena* serial = New() local
337 SerialArena* serial = threads_.load(std::memory_order_acquire); GetSerialArenaFallback() local
[all...]
/third_party/eudev/src/scsi_id/
H A Dscsi_serial.c105 char *serial, char *serial_short, int max_len);
453 * The caller checks that serial is long enough to include the vendor +
457 struct scsi_id_device *dev_scsi, char *serial) in prepend_vendor_model()
461 strncpy(serial, dev_scsi->vendor, VENDOR_LENGTH); in prepend_vendor_model()
462 strncat(serial, dev_scsi->model, MODEL_LENGTH); in prepend_vendor_model()
463 ind = strlen(serial); in prepend_vendor_model()
479 * serial number.
485 *id_search, char *serial, char *serial_short, in check_fill_0x83_id()
549 serial[0] = hex_str[id_search->id_type]; in check_fill_0x83_id()
558 if (prepend_vendor_model(udev, dev_scsi, &serial[ in check_fill_0x83_id()
456 prepend_vendor_model(struct udev *udev, struct scsi_id_device *dev_scsi, char *serial) prepend_vendor_model() argument
481 check_fill_0x83_id(struct udev *udev, struct scsi_id_device *dev_scsi, unsigned char *page_83, const struct scsi_id_search_values *id_search, char *serial, char *serial_short, int max_len, char *wwn, char *wwn_vendor_extension, char *tgpt_group) check_fill_0x83_id() argument
594 check_fill_0x83_prespc3(struct udev *udev, struct scsi_id_device *dev_scsi, unsigned char *page_83, const struct scsi_id_search_values *id_search, char *serial, char *serial_short, int max_len) check_fill_0x83_prespc3() argument
617 do_scsi_page83_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, int fd, char *serial, char *serial_short, int len, char *unit_serial_number, char *wwn, char *wwn_vendor_extension, char *tgpt_group) do_scsi_page83_inquiry() argument
709 do_scsi_page83_prespc3_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, int fd, char *serial, char *serial_short, int len) do_scsi_page83_prespc3_inquiry() argument
771 do_scsi_page80_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, int fd, char *serial, char *serial_short, int max_len) do_scsi_page80_inquiry() argument
[all...]
/third_party/mesa3d/src/util/
H A Du_debug_refcnt.c52 /* TODO: maybe move this serial machinery to a stand-alone module and
66 * Return a small integer serial number for the given pointer.
71 unsigned serial; in debug_serial() local
86 serial = (unsigned) (uintptr_t) util_hash_table_get(serials_hash, p); in debug_serial()
87 if (!serial) { in debug_serial()
91 serial = ++serials_last; in debug_serial()
92 if (!serial) { in debug_serial()
97 _mesa_hash_table_insert(serials_hash, p, (void *) (uintptr_t) serial); in debug_serial()
102 *pserial = serial; in debug_serial()
109 * Free the serial numbe
163 unsigned serial; debug_reference_slowpath() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DRingBufferAllocatorTests.cpp59 // Tests ringbuffer sub-allocations of the same serial are correctly tracked.
97 ExecutionSerial serial(0); in TEST()
98 while (serial < ExecutionSerial(8)) { in TEST()
99 allocator.Allocate(frameSizeInBytes, serial); in TEST()
100 serial++; in TEST()
103 // Each frame corrresponds to the serial number (for simplicity). in TEST()
110 ASSERT_EQ(allocator.Allocate(frameSizeInBytes * 3, serial), in TEST()
123 size_t offset = allocator.Allocate(frameSizeInBytes * 3, ExecutionSerial(serial)); in TEST()
137 ASSERT_EQ(allocator.Allocate(frameSizeInBytes, serial), RingBufferAllocator::kInvalidOffset); in TEST()
148 serial in TEST()
[all...]
/third_party/vk-gl-cts/scripts/android/
H A Dinstall_apk.py42 def __init__(self, serial, product, model, device):
43 self.serial = serial
49 return "%s: {product: %s, model: %s, device: %s}" % (self.serial, self.product, self.model, self.device)
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)
203 parser.add_argument('-s', '--serial',
204 dest='serial',
[all...]
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
H A Drbug_core.c170 rbug_texture_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_list() argument
184 rbug_send_texture_list_reply(tr_rbug->con, serial, texs, i, NULL); in rbug_texture_list()
191 rbug_texture_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_info() argument
214 rbug_send_texture_info_reply(tr_rbug->con, serial, in rbug_texture_info()
233 rbug_texture_read(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_texture_read() argument
264 rbug_send_texture_read_reply(tr_rbug->con, serial, in rbug_texture_read()
283 rbug_context_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_list() argument
297 rbug_send_context_list_reply(tr_rbug->con, serial, ctxs, i, NULL); in rbug_context_list()
304 rbug_context_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) in rbug_context_info() argument
333 rbug_send_context_info_reply(tr_rbug->con, serial, in rbug_context_info()
348 rbug_context_draw_block(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_context_draw_block() argument
373 rbug_context_draw_step(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_context_draw_step() argument
405 rbug_context_draw_unblock(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_context_draw_unblock() argument
438 rbug_context_draw_rule(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_context_draw_rule() argument
470 rbug_context_flush(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_context_flush() argument
497 rbug_shader_list(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_shader_list() argument
531 rbug_shader_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_shader_info() argument
701 rbug_header(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_t serial) rbug_header() argument
768 uint32_t serial; rbug_con() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DResourceVk.h20 // of times a resource is retained by ANGLE. The serial indicates the most recent use of a resource
21 // in the VkQueue. The reference count and serial together can determine if a resource is currently
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 in releaseAndUpdateSerial()
[all...]
H A DCommandProcessor.cpp51 if (commandBatch.serial <= currentSerial) in CommandsHaveValidOrdering()
55 currentSerial = commandBatch.serial; in CommandsHaveValidOrdering()
202 void CommandProcessorTask::initFinishToSerial(Serial serial) in initFinishToSerial() argument
204 // Note: sometimes the serial is not valid and that's okay, the finish will early exit in the in initFinishToSerial()
207 mSerial = serial; in initFinishToSerial()
304 std::swap(serial, other.serial); in operator =()
615 // Wait until all commands up to and including serial have been processed
616 angle::Result CommandProcessor::finishToSerial(Context *context, Serial serial, uint64_t timeout) in finishToSerial() argument
623 task.initFinishToSerial(serial); in finishToSerial()
750 waitForSerialWithUserTimeout(vk::Context *context, Serial serial, uint64_t timeout, VkResult *result) waitForSerialWithUserTimeout() argument
968 allInFlightCommandsAreAfterSerial(Serial serial) allInFlightCommandsAreAfterSerial() argument
1102 waitForSerialWithUserTimeout(vk::Context *context, Serial serial, uint64_t timeout, VkResult *result) waitForSerialWithUserTimeout() argument
[all...]
/third_party/mesa3d/.gitlab-ci/bare-metal/
H A Dserial_buffer.py27 import serial namespace
39 self.serial = serial.Serial(dev, 115200, timeout=timeout)
42 self.serial = None
71 if self.serial:
72 self.serial.cancel_read()
75 if self.serial:
76 self.serial.close()
78 # Thread that just reads the bytes from the serial device to try to keep from
86 b = self.serial
[all...]
/third_party/icu/icu4c/source/samples/ucnv/
H A 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, reason, fromUArgs->converter, u_errorName(*err)); in debugCB_fromU()
192 fprintf(stderr, "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 # in debugCB_openContext()
[all...]
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dv3_akid.c52 if (!X509V3_add_value((akeyid->issuer || akeyid->serial) ? "keyid" : NULL, in STACK_OF()
68 if (akeyid->serial) { in STACK_OF()
69 tmp = OPENSSL_buf2hexstr(akeyid->serial->data, akeyid->serial->length); in STACK_OF()
74 if (!X509V3_add_value("serial", tmp, &extlist)) { in STACK_OF()
91 * issuer: use the issuers cert issuer and serial number. The default is
107 ASN1_INTEGER *serial = NULL; in v2i_AUTHORITY_KEYID() local
184 serial = ASN1_INTEGER_dup(X509_get0_serialNumber(issuer_cert)); in v2i_AUTHORITY_KEYID()
185 if (isname == NULL || serial == NULL) { in v2i_AUTHORITY_KEYID()
205 akeyid->serial in v2i_AUTHORITY_KEYID()
[all...]
/third_party/openssl/crypto/x509/
H A Dv3_akid.c52 if (!X509V3_add_value((akeyid->issuer || akeyid->serial) ? "keyid" : NULL, in STACK_OF()
68 if (akeyid->serial) { in STACK_OF()
69 tmp = OPENSSL_buf2hexstr(akeyid->serial->data, akeyid->serial->length); in STACK_OF()
74 if (!X509V3_add_value("serial", tmp, &extlist)) { in STACK_OF()
91 * issuer: use the issuers cert issuer and serial number. The default is
107 ASN1_INTEGER *serial = NULL; in v2i_AUTHORITY_KEYID() local
184 serial = ASN1_INTEGER_dup(X509_get0_serialNumber(issuer_cert)); in v2i_AUTHORITY_KEYID()
185 if (isname == NULL || serial == NULL) { in v2i_AUTHORITY_KEYID()
205 akeyid->serial in v2i_AUTHORITY_KEYID()
[all...]
/third_party/skia/third_party/externals/icu/source/samples/ucnv/
H A 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, reason, fromUArgs->converter, u_errorName(*err)); in debugCB_fromU()
192 fprintf(stderr, "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 # in debugCB_openContext()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_connection.c64 * Also returns the serial for the message, serial is not touched for replys.
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()
156 * Ups the send_serial and sets the serial argument if supplied.
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()
H A Drbug_core.h66 uint32_t serial; member
72 uint32_t serial; member
87 uint32_t serial,
91 uint32_t serial,
H A Drbug_texture.h87 uint32_t serial; member
95 uint32_t serial; member
115 uint32_t serial; member
158 uint32_t serial,
164 uint32_t serial,
182 uint32_t serial,
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
H A 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()
/third_party/python/PCbuild/
H A Dfield3.py17 major, minor, micro, level, serial = sys.version_info
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))
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DPageableD3D12.cpp41 void Pageable::SetLastUsage(ExecutionSerial serial) { in SetLastUsage() argument
42 mLastUsage = serial; in SetLastUsage()
49 void Pageable::SetLastSubmission(ExecutionSerial serial) { in SetLastSubmission() argument
50 mLastSubmission = serial; in SetLastSubmission()
/third_party/backends/backend/pixma/
H A Dpixma_io_sanei.c86 char serial[PIXMA_MAX_ID_LEN + 1]; /* "xxxxyyyy_zzzzzzz..." member
87 x = vid, y = pid, z = serial */
129 SANE_String_Const serial, in attach_bjnp()
142 sprintf(si->serial, "%s_%s", cfg->model, serial); in attach_bjnp()
202 char *serial = si->serial; in read_serial_number() local
204 u16tohex (si->cfg->vid, serial); in read_serial_number()
205 u16tohex (si->cfg->pid, serial + 4); in read_serial_number()
222 /* Read the serial numbe in read_serial_number()
128 attach_bjnp(SANE_String_Const devname, SANE_String_Const serial, const struct pixma_config_t *cfg) attach_bjnp() argument
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_getpshared/
H A D2-1.c68 int serial = 0; in main() local
172 serial++; in main()
181 return serial; in main()
194 if ((WEXITSTATUS(status) + serial) != LOOP_NUM) { in main()
196 printf("serial = %d\n", serial); in main()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DDynamicUploader.cpp32 ExecutionSerial serial) { in AllocateInternal()
63 startOffset = targetRingBuffer->mAllocator.Allocate(allocationSize, serial); in AllocateInternal()
73 startOffset = targetRingBuffer->mAllocator.Allocate(allocationSize, serial); in AllocateInternal()
116 ExecutionSerial serial, in Allocate()
121 AllocateInternal(allocationSize + offsetAlignment - 1, serial)); in Allocate()
31 AllocateInternal(uint64_t allocationSize, ExecutionSerial serial) AllocateInternal() argument
115 Allocate(uint64_t allocationSize, ExecutionSerial serial, uint64_t offsetAlignment) Allocate() argument

Completed in 12 milliseconds

12345678910>>...26