Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 42) sorted by relevance

12

/sqlite-3.40.0/ext/wasm/fiddle/
H A Dfiddle-worker.js254 const buffer = sqlite3.capi.sqlite3_js_db_export(
257 wMsg('db-export',{filename: fn2, buffer: buffer.buffer}, [buffer.buffer]); property
277 let buffer = opt.buffer;
279 if(buffer instanceof ArrayBuffer){
280 buffer = new Uint8Array(buffer);
281 }else if(!(buffer instanceof Uint8Array)){
305 fiddleModule.FS.createDataFile("/", fn, buffer, true, true);
H A Dfiddle.js561 const blob = new Blob([ev.buffer],
596 buffer: this.result property
/sqlite-3.40.0/autoconf/tea/win/
H A Dnmakehlp.c56 char buffer[STATICBUFFERSIZE]; member
321 return !(strstr(Out.buffer, "D4002") != NULL in CheckForCompilerFeature()
322 || strstr(Err.buffer, "D4002") != NULL in CheckForCompilerFeature()
323 || strstr(Out.buffer, "D9002") != NULL in CheckForCompilerFeature()
324 || strstr(Err.buffer, "D9002") != NULL in CheckForCompilerFeature()
455 strstr(Err.buffer, "LNK1117") != NULL || in CheckForLinkerFeature()
456 strstr(Out.buffer, "LNK4044") != NULL || in CheckForLinkerFeature()
457 strstr(Err.buffer, "LNK4044") != NULL || in CheckForLinkerFeature()
458 strstr(Out.buffer, "LNK4224") != NULL || in CheckForLinkerFeature()
459 strstr(Err.buffer, "LNK4224") != NULL); in CheckForLinkerFeature()
[all …]
/sqlite-3.40.0/doc/
H A Dvdbesort-memory.md14 added to an in-memory buffer. This buffer is grown using sqlite3Realloc() as
17 then this buffer is allowed to grow up to 2MB in size.
19 Once the buffer has grown to its threshold, keys are sorted and written to
22 the temp file, the buffer is reused to accumulate the next batch of keys.
24 If worker threads are available, then the buffer is passed to a worker thread
25 to sort and flush once it is full, and a new buffer allocated to allow the
41 multiple keys in a single large buffer, sqlite3VdbeSorterWrite() stores
/sqlite-3.40.0/ext/wasm/jaccwabyt/
H A Djaccwabyt.js53 ? config.heap : (()=>new Uint8Array(config.heap.buffer)),
99 const buffer = new ArrayBuffer(2);
100 new DataView(buffer).setInt16(0, 256, true /* littleEndian */);
102 return new Int16Array(buffer)[0] === 256;
403 (arrayBuffer.buffer instanceof __SAB)
616 new DataView(heap().buffer, this.pointer + descr.offset, sizeOf)
647 new DataView(heap().buffer, this.pointer + descr.offset, sizeOf)
/sqlite-3.40.0/tool/
H A Ddbhash.c35 unsigned char buffer[64]; member
103 void SHA1Transform(unsigned int state[5], const unsigned char buffer[64]){ in SHA1Transform()
107 memcpy(block, buffer, 64); in SHA1Transform()
178 (void)memcpy(&g.cx.buffer[j], data, (i = 64-j)); in hash_step()
179 SHA1Transform(g.cx.state, g.cx.buffer); in hash_step()
187 (void)memcpy(&g.cx.buffer[j], &data[i], len - i); in hash_step()
H A Dmksourceid.c534 unsigned char buffer[64]; member
583 const unsigned char buffer[64] in SHA1Transform()
588 memcpy(block, buffer, 64); in SHA1Transform()
667 (void)memcpy(&context->buffer[j], data, (i = 64-j)); in SHA1Update()
668 SHA1Transform(context->state, context->buffer); in SHA1Update()
675 (void)memcpy(&context->buffer[j], &data[i], len - i); in SHA1Update()
/sqlite-3.40.0/ext/misc/
H A Dsha1.c39 unsigned char buffer[64]; member
74 static void SHA1Transform(unsigned int state[5], const unsigned char buffer[64]){ in SHA1Transform()
78 memcpy(block, buffer, 64); in SHA1Transform()
165 (void)memcpy(&p->buffer[j], data, (i = 64-j)); in hash_step()
166 SHA1Transform(p->state, p->buffer); in hash_step()
174 (void)memcpy(&p->buffer[j], &data[i], len - i); in hash_step()
/sqlite-3.40.0/test/
H A DcorruptD.test55 # If any of the above fields are set to too large a value, then a buffer
57 # strategically corrupted database files to attempt to provoke such buffer
60 # Very often, a buffer overread passes unnoticed, particularly in workstation
71 # will not result in buffer overruns as part of page initialization in
H A De_blobwrite.test24 # open BLOB handle from a caller-supplied buffer. N bytes of data are
25 # copied from the buffer Z into the open BLOB, starting at offset
H A DcorruptG.test63 # such that the payload begins in allocated space but overflows the buffer.
H A Dcorrupt7.test82 # The code path that was causing the buffer overrun that this test
H A Dshared2.test122 # a pointer allocated from a lookaside buffer.
H A Ddbstatus.test74 # lookaside buffer sizes.
81 # configuring the size of the lookaside buffer after [sqlite3] has
H A DcorruptC.test224 # does. That is Ok, the point of these tests is to verify that no buffer
299 # At one point this particular corrupt database was causing a buffer
H A Dunique.test229 # do not overflow the static buffer used to generate the error message.
H A Dio.test418 # But some VFS implementations (symbian) buffer writes so the actual
515 # This test is not run on symbian because the file-buffer makes it
H A Dsqllimits1.test296 # Prior to 3.37.0 strftime() allocated a large static buffer into
872 # Update for 3.37.0: strftime() used to allocate a large static buffer
H A Dmisc1.test435 # the VDBE. A buffer was being reallocated but some pointers into
436 # the old copy of the buffer were not being moved over to the new copy.
703 # buffer, upsetting valgrind.
H A Dcorrupt.test228 # causing a buffer overwrite. Although a crash was never demonstrated,
/sqlite-3.40.0/ext/wasm/common/
H A Dwhwasmutil.js258 }else if(cache.heapSize === cache.memory.buffer.byteLength){
262 const b = cache.memory.buffer;
327 const c = (cache.memory && cache.heapSize === cache.memory.buffer.byteLength)
646 const c = (cache.memory && cache.heapSize === cache.memory.buffer.byteLength)
679 const c = (cache.memory && cache.heapSize === cache.memory.buffer.byteLength)
745 (arrayBuffer.buffer instanceof __SAB)
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-api-opfs.js233 const buffer = new ArrayBuffer(2);
234 new DataView(buffer).setInt16(0, 256, true /* ==>littleEndian */);
236 return new Int16Array(buffer)[0] === 256;
H A Dsqlite3-api-worker1.js589 wState.xfer.push(response.byteArray.buffer);
H A Dsqlite3-api-prologue.js322 const isSharedTypedArray = (aTypedArray)=>(aTypedArray.buffer instanceof __SAB);
/sqlite-3.40.0/src/
H A Dsqlite.h.in827 ** in the unread portions of the buffer with zeros. A VFS that
1419 ** output buffer xFullPathname. The exact size of the output buffer
2167 ** pointer to a memory buffer to use for lookaside memory.
2895 ** buffer supplied as the second parameter whose size is given by
2900 ** returns a pointer to its buffer instead of the number of
2901 ** characters actually written into the buffer.)^ We admit that
7594 ** caller-supplied buffer. N bytes of data are copied into buffer Z
7623 ** caller-supplied buffer. N bytes of data are copied from the buffer Z
8331 ** buffer and where forced to overflow to [sqlite3_malloc()]. The
9252 ** buffer.
[all …]

12