Home
last modified time | relevance | path

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

12345678910>>...31

/third_party/protobuf/src/google/protobuf/
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 = threads_.load(std::memory_order_relaxed); in FreeBlocks() local
239 while (serial) { in FreeBlocks()
241 SerialArena* next = serial->next(); in FreeBlocks()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DSerialQueue.h44 void Enqueue(const T& value, Serial serial);
45 void Enqueue(T&& value, Serial serial);
46 void Enqueue(const std::vector<T>& values, Serial serial);
47 void Enqueue(std::vector<T>&& values, Serial serial);
53 void SerialQueue<T>::Enqueue(const T& value, Serial serial) {
54 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
56 if (this->Empty() || this->mStorage.back().first < serial) {
57 this->mStorage.emplace_back(serial, std::vector<T>{});
63 void SerialQueue<T>::Enqueue(T&& value, Serial serial) {
64 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
[all …]
DSerialMap.h41 void Enqueue(const T& value, Serial serial);
42 void Enqueue(T&& value, Serial serial);
43 void Enqueue(const std::vector<T>& values, Serial serial);
44 void Enqueue(std::vector<T>&& values, Serial serial);
50 void SerialMap<T>::Enqueue(const T& value, Serial serial) {
51 this->mStorage[serial].emplace_back(value);
55 void SerialMap<T>::Enqueue(T&& value, Serial serial) {
56 this->mStorage[serial].emplace_back(value);
60 void SerialMap<T>::Enqueue(const std::vector<T>& values, Serial serial) {
63 Enqueue(value, serial);
[all …]
DSerialStorage.h95 void Enqueue(Params&&... args, Serial serial) { in Enqueue() argument
96 Derived::Enqueue(std::forward<Params>(args)..., serial); in Enqueue()
105 ConstBeginEnd IterateUpTo(Serial serial) const;
107 BeginEnd IterateUpTo(Serial serial);
110 void ClearUpTo(Serial serial);
117 ConstStorageIterator FindUpTo(Serial serial) const;
118 StorageIterator FindUpTo(Serial serial);
136 Serial serial) const { in IterateUpTo() argument
137 return {mStorage.begin(), FindUpTo(serial)}; in IterateUpTo()
146 typename SerialStorage<Derived>::BeginEnd SerialStorage<Derived>::IterateUpTo(Serial serial) { in IterateUpTo() argument
[all …]
/third_party/skia/third_party/externals/dawn/src/common/
DSerialQueue.h44 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) {
54 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
56 if (this->Empty() || this->mStorage.back().first < serial) {
57 this->mStorage.emplace_back(serial, std::vector<Value>{});
63 void SerialQueue<Serial, Value>::Enqueue(Value&& value, Serial serial) {
64 DAWN_ASSERT(this->Empty() || this->mStorage.back().first <= serial);
[all …]
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) {
52 this->mStorage[serial].emplace_back(value);
56 void SerialMap<Serial, Value>::Enqueue(Value&& value, Serial serial) {
57 this->mStorage[serial].emplace_back(value);
61 void SerialMap<Serial, Value>::Enqueue(const std::vector<Value>& values, Serial serial) {
64 Enqueue(value, serial);
[all …]
DSerialStorage.h95 void Enqueue(Params&&... args, Serial serial) { in Enqueue() argument
96 Derived::Enqueue(std::forward<Params>(args)..., serial); in Enqueue()
105 ConstBeginEnd IterateUpTo(Serial serial) const;
107 BeginEnd IterateUpTo(Serial serial);
110 void ClearUpTo(Serial serial);
117 ConstStorageIterator FindUpTo(Serial serial) const;
118 StorageIterator FindUpTo(Serial serial);
136 Serial serial) const { in IterateUpTo() argument
137 return {mStorage.begin(), FindUpTo(serial)}; in IterateUpTo()
146 typename SerialStorage<Derived>::BeginEnd SerialStorage<Derived>::IterateUpTo(Serial serial) { in IterateUpTo() argument
[all …]
/third_party/mesa3d/src/util/
Du_debug_refcnt.c71 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()
163 unsigned serial; in debug_reference_slowpath() local
164 boolean existing = debug_serial((void *) p, &serial); in debug_reference_slowpath()
171 fprintf(stream, "<%s> %p %u Create\n", buf, (void *) p, serial); in debug_reference_slowpath()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
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()
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/rust/crates/signal-hook/tests/
Diterator.rs16 use serial_test::serial;
53 #[serial]
83 #[serial]
148 #[serial]
158 #[serial]
169 #[serial]
180 #[serial]
191 #[serial]
205 #[serial]
216 #[serial]
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRingBufferAllocatorTests.cpp97 ExecutionSerial serial(0); in TEST() local
98 while (serial < ExecutionSerial(8)) { in TEST()
99 allocator.Allocate(frameSizeInBytes, serial); in TEST()
100 serial++; 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()
149 offset = allocator.Allocate(frameSizeInBytes * 2, serial); in TEST()
159 ASSERT_EQ(allocator.Allocate(frameSizeInBytes, serial), RingBufferAllocator::kInvalidOffset); in TEST()
/third_party/skia/third_party/externals/angle2/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);
/third_party/node/deps/npm/node_modules/sshpk/lib/
Dcertificate.js39 assert.buffer(opts.serial, 'options.serial');
52 this.serial = opts.serial;
186 assert.optionalBuffer(options.serial, 'options.serial');
187 var serial = options.serial;
188 if (serial === undefined)
189 serial = Buffer.from('0000000000000001', 'hex');
238 serial: serial, property
284 assert.optionalBuffer(options.serial, 'options.serial');
285 var serial = options.serial;
286 if (serial === undefined)
[all …]
/third_party/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.
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/openssl/crypto/x509/
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()
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 = serial; in v2i_AUTHORITY_KEYID()
214 ASN1_INTEGER_free(serial); in v2i_AUTHORITY_KEYID()
/third_party/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()
/third_party/typescript/tests/baselines/reference/
DkeyofInferenceLowerPriorityThanReturn.types54 readonly serial: number;
55 >serial : number
81 …insertOnConflictDoNothing(bookTable, ConflictTarget.tableColumns(["serial"])); // <-- No error he…
82 >insertOnConflictDoNothing(bookTable, ConflictTarget.tableColumns(["serial"])) : boolean
85 >ConflictTarget.tableColumns(["serial"]) : ConflictTarget<BookReq & BookDef>
89 >["serial"] : "serial"[]
90 >"serial" : "serial"
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/client/
DApiProcs.cpp23 void SerializeBufferMapAsync(const Buffer* buffer, uint32_t serial, Handle* handle) { in SerializeBufferMapAsync() argument
34 cmd.requestSerial = serial; in SerializeBufferMapAsync()
54 uint32_t serial = buffer->requestSerial++; in ClientBufferMapReadAsync() local
55 ASSERT(buffer->requests.find(serial) == buffer->requests.end()); in ClientBufferMapReadAsync()
74 buffer->requests[serial] = std::move(request); in ClientBufferMapReadAsync()
76 SerializeBufferMapAsync(buffer, serial, readHandle); in ClientBufferMapReadAsync()
84 uint32_t serial = buffer->requestSerial++; in ClientBufferMapWriteAsync() local
85 ASSERT(buffer->requests.find(serial) == buffer->requests.end()); in ClientBufferMapWriteAsync()
105 buffer->requests[serial] = std::move(request); in ClientBufferMapWriteAsync()
107 SerializeBufferMapAsync(buffer, serial, writeHandle); in ClientBufferMapWriteAsync()
[all …]
/third_party/mesa3d/.gitlab-ci/bare-metal/
Dserial_buffer.py27 import serial
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()
86 b = self.serial.read()
/third_party/openssl/doc/man3/
DX509_CRL_get0_by_serial.pod16 X509_REVOKED **ret, const ASN1_INTEGER *serial);
24 int X509_REVOKED_set_serialNumber(X509_REVOKED *r, ASN1_INTEGER *serial);
34 serial number I<serial>. If it is successful, it sets I<*ret> to the internal
39 looks for a revoked entry using the serial number of certificate I<x>.
45 serial number of I<r>.
50 X509_REVOKED_set_serialNumber() sets the serial number of I<r> to I<serial>.
51 The supplied I<serial> pointer is not used internally so it should be
62 X509_CRL_sort() sorts the revoked entries of I<crl> into ascending serial
/third_party/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()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp214 buffer->MapOperationCompleted(serial, ptr, isWrite); in Execute()
219 uint32_t serial; member
244 void Buffer::MapOperationCompleted(uint32_t serial, void* ptr, bool isWrite) { in MapOperationCompleted() argument
246 CallMapWriteCallback(serial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, ptr, GetSize()); in MapOperationCompleted()
248 CallMapReadCallback(serial, DAWN_BUFFER_MAP_ASYNC_STATUS_SUCCESS, ptr, GetSize()); in MapOperationCompleted()
267 void Buffer::MapReadAsyncImpl(uint32_t serial) { in MapReadAsyncImpl() argument
268 MapAsyncImplCommon(serial, false); in MapReadAsyncImpl()
271 void Buffer::MapWriteAsyncImpl(uint32_t serial) { in MapWriteAsyncImpl() argument
272 MapAsyncImplCommon(serial, true); in MapWriteAsyncImpl()
275 void Buffer::MapAsyncImplCommon(uint32_t serial, bool isWrite) { in MapAsyncImplCommon() argument
[all …]

12345678910>>...31