Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 2084) sorted by relevance

12345678910>>...84

/third_party/protobuf/js/experimental/runtime/kernel/
Dbinary_storage_test.js31 function getStorageSize(storage) { argument
33 storage.forEach(() => void size++);
39 const storage = new BinaryStorage(DEFAULT_PIVOT); constant
41 storage.set(1, field1);
42 storage.set(DEFAULT_PIVOT, field2);
44 expect(storage.getPivot()).toBe(DEFAULT_PIVOT);
45 expect(storage.get(1)).toBe(field1);
46 expect(storage.get(DEFAULT_PIVOT)).toBe(field2);
50 const storage = new BinaryStorage(DEFAULT_PIVOT); constant
52 storage.set(DEFAULT_PIVOT + 1, field1);
[all …]
Dindexer_test.js27 function getStorageSize(storage) { argument
29 storage.forEach(() => void size++);
44 function assertStorageEntries(storage, fieldNumber, ...expectedEntries) { argument
45 expect(getStorageSize(storage)).toBe(1);
47 const entryArray = storage.get(fieldNumber).getIndexArray();
61 const storage = buildIndex(createBufferDecoder(), PIVOT); constant
62 expect(storage).not.toBeNull();
63 expect(getStorageSize(storage)).toBe(0);
85 const storage = buildIndex(data, PIVOT); constant
87 storage, /* fieldNumber= */ 1,
[all …]
/third_party/typescript/tests/baselines/reference/
DjsDeclarationsFunctionLikeClasses2.types12 this.storage = new Array(len);
13 >this.storage = new Array(len) : any[]
14 >this.storage : number[]
16 >storage : number[]
23storage.length !== this.storage.length) { throw new Error(`Dot product only applicable …
27storage.length !== this.storage.length) { throw new Error(`Dot product only applicable …
36 if (other.storage.length !== this.storage.length) {
37 >other.storage.length !== this.storage.length : boolean
38 >other.storage.length : number
39 >other.storage : number[]
[all …]
DjsDeclarationsFunctionLikeClasses2.js11 this.storage = new Array(len);
19 if (other.storage.length !== this.storage.length) {
23 for (let i = 0; i < this.storage.length; i++) {
24 sum += (this.storage[i] * other.storage[i]);
30 for (let i = 0; i < this.storage.length; i++) {
31 sum += (this.storage[i] ** 2);
53 return this.storage[0];
59 this.storage[0] = x;
62 return this.storage[1];
68 this.storage[1] = y;
[all …]
DjsDeclarationsFunctionLikeClasses2.symbols12 this.storage = new Array(len);
13 >this.storage : Symbol(Vec.storage, Decl(source.js, 3, 26))
15 >storage : Symbol(Vec.storage, Decl(source.js, 3, 26))
32 if (other.storage.length !== this.storage.length) {
33 >other.storage.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
34 >other.storage : Symbol(Vec.storage, Decl(source.js, 3, 26))
36 >storage : Symbol(Vec.storage, Decl(source.js, 3, 26))
38 >this.storage.length : Symbol(Array.length, Decl(lib.es5.d.ts, --, --))
39 >this.storage : Symbol(Vec.storage, Decl(source.js, 3, 26))
41 >storage : Symbol(Vec.storage, Decl(source.js, 3, 26))
[all …]
/third_party/skia/third_party/externals/expat/expat/tests/
Dstructdata.c67 StructData_Init(StructData *storage) { in StructData_Init() argument
68 assert(storage != NULL); in StructData_Init()
69 storage->count = 0; in StructData_Init()
70 storage->max_count = 0; in StructData_Init()
71 storage->entries = NULL; in StructData_Init()
75 StructData_AddItem(StructData *storage, const XML_Char *s, int data0, int data1, in StructData_AddItem() argument
79 assert(storage != NULL); in StructData_AddItem()
81 if (storage->count == storage->max_count) { in StructData_AddItem()
84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
85 new = realloc(storage->entries, in StructData_AddItem()
[all …]
Dchardata.c56 CharData_Init(CharData *storage) { in CharData_Init() argument
57 assert(storage != NULL); in CharData_Init()
58 storage->count = -1; in CharData_Init()
62 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) { in CharData_AppendXMLChars() argument
65 assert(storage != NULL); in CharData_AppendXMLChars()
67 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); in CharData_AppendXMLChars()
68 if (storage->count < 0) in CharData_AppendXMLChars()
69 storage->count = 0; in CharData_AppendXMLChars()
72 if ((len + storage->count) > maxchars) { in CharData_AppendXMLChars()
73 len = (maxchars - storage->count); in CharData_AppendXMLChars()
[all …]
/third_party/node/deps/brotli/c/enc/
Dbrotli_bit_stream.c86 const Command* cmd, size_t* storage_ix, uint8_t* storage) { in StoreCommandExtra() argument
95 insnumextra + GetCopyExtra(copycode), bits, storage_ix, storage); in StoreCommandExtra()
109 static void StoreVarLenUint8(size_t n, size_t* storage_ix, uint8_t* storage) { in StoreVarLenUint8() argument
111 BrotliWriteBits(1, 0, storage_ix, storage); in StoreVarLenUint8()
114 BrotliWriteBits(1, 1, storage_ix, storage); in StoreVarLenUint8()
115 BrotliWriteBits(3, nbits, storage_ix, storage); in StoreVarLenUint8()
116 BrotliWriteBits(nbits, n - ((size_t)1 << nbits), storage_ix, storage); in StoreVarLenUint8()
126 uint8_t* storage) { in StoreCompressedMetaBlockHeader() argument
132 BrotliWriteBits(1, (uint64_t)is_final_block, storage_ix, storage); in StoreCompressedMetaBlockHeader()
135 BrotliWriteBits(1, 0, storage_ix, storage); in StoreCompressedMetaBlockHeader()
[all …]
Dcompress_fragment.c78 uint8_t* storage) { in BuildAndStoreLiteralPrefixCode() argument
113 depths, bits, storage_ix, storage); in BuildAndStoreLiteralPrefixCode()
129 uint8_t* storage) { in BuildAndStoreCommandPrefixCode() argument
171 cmd_depth, BROTLI_NUM_COMMAND_SYMBOLS, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode()
173 BrotliStoreHuffmanTree(&depth[64], 64, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode()
182 uint8_t* storage) { in EmitInsertLen() argument
185 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen()
192 BrotliWriteBits(depth[inscode], bits[inscode], storage_ix, storage); in EmitInsertLen()
193 BrotliWriteBits(nbits, tail - (prefix << nbits), storage_ix, storage); in EmitInsertLen()
199 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen()
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dbrotli_bit_stream.c86 const Command* cmd, size_t* storage_ix, uint8_t* storage) { in StoreCommandExtra() argument
95 insnumextra + GetCopyExtra(copycode), bits, storage_ix, storage); in StoreCommandExtra()
109 static void StoreVarLenUint8(size_t n, size_t* storage_ix, uint8_t* storage) { in StoreVarLenUint8() argument
111 BrotliWriteBits(1, 0, storage_ix, storage); in StoreVarLenUint8()
114 BrotliWriteBits(1, 1, storage_ix, storage); in StoreVarLenUint8()
115 BrotliWriteBits(3, nbits, storage_ix, storage); in StoreVarLenUint8()
116 BrotliWriteBits(nbits, n - ((size_t)1 << nbits), storage_ix, storage); in StoreVarLenUint8()
126 uint8_t* storage) { in StoreCompressedMetaBlockHeader() argument
132 BrotliWriteBits(1, (uint64_t)is_final_block, storage_ix, storage); in StoreCompressedMetaBlockHeader()
135 BrotliWriteBits(1, 0, storage_ix, storage); in StoreCompressedMetaBlockHeader()
[all …]
Dcompress_fragment.c78 uint8_t* storage) { in BuildAndStoreLiteralPrefixCode() argument
113 depths, bits, storage_ix, storage); in BuildAndStoreLiteralPrefixCode()
129 uint8_t* storage) { in BuildAndStoreCommandPrefixCode() argument
171 cmd_depth, BROTLI_NUM_COMMAND_SYMBOLS, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode()
173 BrotliStoreHuffmanTree(&depth[64], 64, tree, storage_ix, storage); in BuildAndStoreCommandPrefixCode()
182 uint8_t* storage) { in EmitInsertLen() argument
185 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen()
192 BrotliWriteBits(depth[inscode], bits[inscode], storage_ix, storage); in EmitInsertLen()
193 BrotliWriteBits(nbits, tail - (prefix << nbits), storage_ix, storage); in EmitInsertLen()
199 BrotliWriteBits(depth[code], bits[code], storage_ix, storage); in EmitInsertLen()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/thread/
DSDL_thread.c43 SDL_TLSData *storage; in SDL_TLSGet() local
45 storage = SDL_SYS_GetTLSData(); in SDL_TLSGet()
46 if (!storage || id == 0 || id > storage->limit) { in SDL_TLSGet()
49 return storage->array[id-1].data; in SDL_TLSGet()
55 SDL_TLSData *storage; in SDL_TLSSet() local
61 storage = SDL_SYS_GetTLSData(); in SDL_TLSSet()
62 if (!storage || (id > storage->limit)) { in SDL_TLSSet()
65 oldlimit = storage ? storage->limit : 0; in SDL_TLSSet()
67storage = (SDL_TLSData *)SDL_realloc(storage, sizeof(*storage)+(newlimit-1)*sizeof(storage->array[… in SDL_TLSSet()
68 if (!storage) { in SDL_TLSSet()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_initializers.c56 struct gl_uniform_storage *storage = in set_opaque_binding() local
59 const unsigned elements = MAX2(storage->array_elements, 1); in set_opaque_binding()
62 storage->storage[i].i = data->binding++; in set_opaque_binding()
69 if (!storage->opaque[sh].active) in set_opaque_binding()
72 if (glsl_type_is_sampler(storage->type)) { in set_opaque_binding()
74 const unsigned index = storage->opaque[sh].index + i; in set_opaque_binding()
76 if (storage->is_bindless) { in set_opaque_binding()
80 storage->storage[i].i; in set_opaque_binding()
87 storage->storage[i].i; in set_opaque_binding()
90 } else if (glsl_type_is_image(storage->type)) { in set_opaque_binding()
[all …]
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyRepeatedField.java67 this.storage = runtime.newArray(); in RubyRepeatedField()
74 this.storage = runtime.newArray(); in initialize()
97 this.storage.add(arr.eltInternal(i)); in initialize()
115 for (int i = this.storage.size(); i < arrIndex; i++) { in indexSet()
116 this.storage.set(i, defaultValue); in indexSet()
118 this.storage.set(arrIndex, value); in indexSet()
135 if (arrIndex < 0 || arrIndex >= this.storage.size()) { in index()
138 return this.storage.eltInternal(arrIndex); in index()
144 return this.storage.subseq(beg, len); in index()
151 beg += this.storage.size(); in index()
[all …]
/third_party/node/test/cctest/
Dtest_sockaddr.cc12 sockaddr_storage storage; in TEST() local
14 SocketAddress::ToSockAddr(AF_INET, "123.123.123.123", 443, &storage); in TEST()
17 SocketAddress addr(reinterpret_cast<const sockaddr*>(&storage)); in TEST()
47 sockaddr_storage storage; in TEST() local
48 SocketAddress::ToSockAddr(AF_INET6, "::1", 443, &storage); in TEST()
50 SocketAddress addr(reinterpret_cast<const sockaddr*>(&storage)); in TEST()
81 sockaddr_storage storage[4]; in TEST() local
83 SocketAddress::ToSockAddr(AF_INET, "123.123.123.123", 443, &storage[0]); in TEST()
84 SocketAddress::ToSockAddr(AF_INET, "123.123.123.124", 443, &storage[1]); in TEST()
85 SocketAddress::ToSockAddr(AF_INET, "123.123.123.125", 443, &storage[2]); in TEST()
[all …]
/third_party/openssl/crypto/
Dex_data.c216 EX_CALLBACK **storage = NULL; in ossl_crypto_new_ex_data_ex() local
233 storage = stack; in ossl_crypto_new_ex_data_ex()
235 storage = OPENSSL_malloc(sizeof(*storage) * mx); in ossl_crypto_new_ex_data_ex()
236 if (storage != NULL) in ossl_crypto_new_ex_data_ex()
238 storage[i] = sk_EX_CALLBACK_value(ip->meth, i); in ossl_crypto_new_ex_data_ex()
242 if (mx > 0 && storage == NULL) { in ossl_crypto_new_ex_data_ex()
247 if (storage[i] != NULL && storage[i]->new_func != NULL) { in ossl_crypto_new_ex_data_ex()
249 storage[i]->new_func(obj, ptr, ad, i, in ossl_crypto_new_ex_data_ex()
250 storage[i]->argl, storage[i]->argp); in ossl_crypto_new_ex_data_ex()
253 if (storage != stack) in ossl_crypto_new_ex_data_ex()
[all …]
/third_party/ltp/tools/sparse/sparse-src/
Dstorage.c18 ALLOCATOR(storage, "storages");
80 struct storage *storage = hash->storage; in name_storage() local
81 if (storage->name) in name_storage()
83 storage->name = ++name; in name_storage()
88 struct storage *lookup_storage(struct basic_block *bb, pseudo_t pseudo, enum inout_enum inout) in lookup_storage()
95 return hash->storage; in lookup_storage()
100 void add_storage(struct storage *storage, struct basic_block *bb, pseudo_t pseudo, enum inout_enum … in add_storage() argument
103 struct storage_hash *hash = alloc_storage_hash(storage); in add_storage()
117 struct storage *aa = a->storage; in storage_hash_cmp()
118 struct storage *bb = b->storage; in storage_hash_cmp()
[all …]
Dstorage.h28 struct storage;
29 DECLARE_PTR_LIST(storage_ptr_list, struct storage *);
31 struct storage { struct
42 DECLARE_PTR_LIST(storage_list, struct storage); argument
48 struct storage *storage; member
56 extern const char *show_storage(struct storage *);
58 struct storage *lookup_storage(struct basic_block *, pseudo_t, enum inout_enum);
59 void add_storage(struct storage *, struct basic_block *, pseudo_t, enum inout_enum);
61 DECLARE_ALLOCATOR(storage);
64 static inline struct storage *alloc_storage(void) in alloc_storage()
[all …]
Dcompile-i386.c75 struct storage;
78 DECLARE_PTR_LIST(storage_list, struct storage);
104 struct storage *contains;
109 struct storage { struct
153 struct storage *addr;
175 struct storage *op1;
176 struct storage *op2;
193 static void emit_move(struct storage *src, struct storage *dest,
195 static struct storage *x86_address_gen(struct expression *expr);
196 static struct storage *x86_symbol_expr(struct symbol *sym);
[all …]
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11window_swapchainpanel.cpp64 SwapChainPanelWinRTStorage *storage; member
236 self->storage = new SwapChainPanelWinRTStorage; in gst_d3d11_window_swap_chain_panel_init()
237 self->storage->cancellable = CreateEvent (NULL, TRUE, FALSE, NULL); in gst_d3d11_window_swap_chain_panel_init()
247 SwapChainPanelWinRTStorage *storage = self->storage; in gst_d3d11_window_swap_chain_panel_constructed() local
262 hr = inspectable.As (&storage->panel); in gst_d3d11_window_swap_chain_panel_constructed()
266 hr = storage->panel.As (&dependency_obj); in gst_d3d11_window_swap_chain_panel_constructed()
270 hr = dependency_obj->get_Dispatcher(storage->dispatcher.GetAddressOf()); in gst_d3d11_window_swap_chain_panel_constructed()
274 hr = get_panel_size (storage->dispatcher, in gst_d3d11_window_swap_chain_panel_constructed()
275 storage->cancellable, storage->panel, &size); in gst_d3d11_window_swap_chain_panel_constructed()
287 hr = storage->panel.As (&framework); in gst_d3d11_window_swap_chain_panel_constructed()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dpool.h70 std::shared_ptr<Storage> storage; variable
127 Pool<T>::Loan::Loan(Item* item, const std::shared_ptr<Storage>& storage) in Loan() argument
128 : item(item), storage(storage) { in Loan()
134 : item(other.item), storage(other.storage) { in Loan()
141 Pool<T>::Loan::Loan(Loan&& other) : item(other.item), storage(other.storage) { in Loan()
143 other.storage = nullptr; in Loan()
157 storage->return_(item); in reset()
160 storage = nullptr; in reset()
169 storage = rhs.storage;
179 std::swap(storage, rhs.storage);
[all …]
/third_party/jerryscript/jerry-core/ext/
Dtracker.c59 void StorageInit(Storage* storage, size_t size) in StorageInit() argument
61 storage->size = size; in StorageInit()
62 storage->data = JerryExtAllocStorageData(size); in StorageInit()
65 void StoragePut(Storage* storage, size_t key, size_t value) in StoragePut() argument
67 if (storage->data[key] == 0) { in StoragePut()
68 storage->data[key] = value; in StoragePut()
72 IStorageItem* item = (IStorageItem*)storage->data[key]; in StoragePut()
73 storage->data[key] = value; in StoragePut()
79 size_t StorageGet(Storage* storage, size_t key) in StorageGet() argument
81 return storage->data[key]; in StorageGet()
[all …]
/third_party/typescript/tests/cases/conformance/jsdoc/declarations/
DjsDeclarationsFunctionLikeClasses2.ts15 this.storage = new Array(len);
23 if (other.storage.length !== this.storage.length) {
27 for (let i = 0; i < this.storage.length; i++) {
28 sum += (this.storage[i] * other.storage[i]);
34 for (let i = 0; i < this.storage.length; i++) {
35 sum += (this.storage[i] ** 2);
57 return this.storage[0];
63 this.storage[0] = x;
66 return this.storage[1];
72 this.storage[1] = y;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DLayout.cpp107 const TLayoutBlockStorage storage = type.getLayoutQualifier().blockStorage; in MetalLayoutOf() local
109 const bool isPacked = !config.disablePacking && (storage == TLayoutBlockStorage::EbsPacked || in MetalLayoutOf()
110 storage == TLayoutBlockStorage::EbsShared); in MetalLayoutOf()
207 bool sh::CanBePacked(TLayoutBlockStorage storage) in CanBePacked() argument
209 switch (storage) in CanBePacked()
237 void sh::SetBlockStorage(TType &type, TLayoutBlockStorage storage) in SetBlockStorage() argument
240 qual.blockStorage = storage; in SetBlockStorage()
246 const TLayoutBlockStorage storage, in CommonGlslStructLayoutOf() argument
252 storage == TLayoutBlockStorage::EbsPacked || storage == TLayoutBlockStorage::EbsShared; in CommonGlslStructLayoutOf()
257 layout += GlslLayoutOf(*(*iter)->type(), storage, matrixPacking, false); in CommonGlslStructLayoutOf()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_shader_pixel_local_storage2.txt49 restriction that pixel local storage is not supported when rendering to
52 Moreover, pixel local storage values are no longer lost when writing to
55 storage.
58 - support for pixel local storage in combination with multiple user-
60 - support for clearing pixel local storage variables
61 - support for multi-word pixel local storage variables
95 "Fragment data values may also be written to pixel local storage blocks.
97 covering the same pixel. Data values written to pixel local storage block
98 members are converted to the storage format specified in the shader.
101 to both user-defined fragment outputs and to pixel local storage blocks.
[all …]

12345678910>>...84