Home
last modified time | relevance | path

Searched refs:buffer (Results 726 - 750 of 6014) sorted by relevance

1...<<21222324252627282930>>...241

/third_party/node/deps/icu-small/source/i18n/
H A Dwindtfmt.cpp102 static UErrorCode GetEquivalentWindowsLocaleName(const Locale& locale, UnicodeString** buffer) in GetEquivalentWindowsLocaleName() argument
157 *buffer = new UnicodeString(windowsLocaleName); in GetEquivalentWindowsLocaleName()
318 wchar_t *buffer = stackBuffer; in formatDate() local
326 result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, nullptr, buffer, STACK_BUFFER_SIZE, nullptr); in formatDate()
332 buffer = NEW_ARRAY(wchar_t, newLength); in formatDate()
334 GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, nullptr, buffer, newLength, nullptr); in formatDate()
338 appendTo.append((const char16_t *)buffer, (int32_t) wcslen(buffer)); in formatDate()
340 if (buffer != stackBuffer) { in formatDate()
341 DELETE_ARRAY(buffer); in formatDate()
351 wchar_t *buffer = stackBuffer; formatTime() local
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dwindtfmt.cpp99 static UErrorCode GetEquivalentWindowsLocaleName(const Locale& locale, UnicodeString** buffer) in GetEquivalentWindowsLocaleName() argument
152 *buffer = new UnicodeString(windowsLocaleName); in GetEquivalentWindowsLocaleName()
317 wchar_t *buffer = stackBuffer; in formatDate() local
325 result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BUFFER_SIZE, NULL); in formatDate()
331 buffer = NEW_ARRAY(wchar_t, newLength); in formatDate()
333 GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength, NULL); in formatDate()
337 appendTo.append((const UChar *)buffer, (int32_t) wcslen(buffer)); in formatDate()
339 if (buffer != stackBuffer) { in formatDate()
340 DELETE_ARRAY(buffer); in formatDate()
350 wchar_t *buffer = stackBuffer; formatTime() local
[all...]
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dgdb-server.cc183 uint8_t* buffer, uint32_t buffer_size, in GetWasmGlobal()
187 RunSyncTask([this, &result, frame_index, index, buffer, buffer_size, size]() { in GetWasmGlobal()
190 frame_index, index, buffer, in GetWasmGlobal()
197 uint8_t* buffer, uint32_t buffer_size, in GetWasmLocal()
201 RunSyncTask([this, &result, frame_index, index, buffer, buffer_size, size]() { in GetWasmLocal()
204 frame_index, index, buffer, in GetWasmLocal()
211 uint8_t* buffer, uint32_t buffer_size, in GetWasmStackValue()
215 RunSyncTask([this, &result, frame_index, index, buffer, buffer_size, size]() { in GetWasmStackValue()
218 frame_index, index, buffer, in GetWasmStackValue()
225 uint8_t* buffer, uint32_ in GetWasmMemory()
182 GetWasmGlobal(uint32_t frame_index, uint32_t index, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) GetWasmGlobal() argument
196 GetWasmLocal(uint32_t frame_index, uint32_t index, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) GetWasmLocal() argument
210 GetWasmStackValue(uint32_t frame_index, uint32_t index, uint8_t* buffer, uint32_t buffer_size, uint32_t* size) GetWasmStackValue() argument
224 GetWasmMemory(uint32_t module_id, uint32_t offset, uint8_t* buffer, uint32_t size) GetWasmMemory() argument
239 GetWasmData(uint32_t module_id, uint32_t offset, uint8_t* buffer, uint32_t size) GetWasmData() argument
254 GetWasmModuleBytes(wasm_addr_t wasm_addr, uint8_t* buffer, uint32_t size) GetWasmModuleBytes() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_debug.c30 * Debug buffer manager to detect buffer under- and overflows.
66 * Wrapper around a pipe buffer which adds delayed destruction.
72 struct pb_buffer *buffer; member
161 map = pb_map(buf->buffer, PB_USAGE_CPU_WRITE, NULL); in pb_debug_buffer_fill()
167 pb_unmap(buf->buffer); in pb_debug_buffer_fill()
175 * Should be called with the buffer unmaped.
182 map = pb_map(buf->buffer, in pb_debug_buffer_check()
193 debug_printf("buffer underflow (offset -%"PRIu64"%s to -%"PRIu64" bytes) detected\n", in pb_debug_buffer_check()
203 debug_printf("buffer overflo in pb_debug_buffer_check()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch32/
H A Djsimd.c40 check_feature(char *buffer, char *feature) in check_feature() argument
46 if (strncmp(buffer, "Features", 8) != 0) in check_feature()
48 buffer += 8; in check_feature()
49 while (isspace(*buffer)) in check_feature()
50 buffer++; in check_feature()
52 /* Check if 'feature' is present in the buffer as a separate word */ in check_feature()
53 while ((p = strstr(buffer, feature))) { in check_feature()
54 if (p > buffer && !isspace(*(p - 1))) { in check_feature()
55 buffer++; in check_feature()
60 buffer in check_feature()
71 char *buffer = (char *)malloc(bufsize); parse_proc_cpuinfo() local
926 jsimd_huff_encode_one_block(void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val, c_derived_tbl *dctbl, c_derived_tbl *actbl) jsimd_huff_encode_one_block() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dwindtfmt.cpp99 static UErrorCode GetEquivalentWindowsLocaleName(const Locale& locale, UnicodeString** buffer) in GetEquivalentWindowsLocaleName() argument
151 *buffer = new UnicodeString(windowsLocaleName); in GetEquivalentWindowsLocaleName()
312 wchar_t *buffer = stackBuffer; in formatDate() local
320 result = GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, STACK_BUFFER_SIZE, NULL); in formatDate()
326 buffer = NEW_ARRAY(wchar_t, newLength); in formatDate()
328 GetDateFormatEx(localeName, dfFlags[fDateStyle - kDateOffset], st, NULL, buffer, newLength, NULL); in formatDate()
332 appendTo.append((const UChar *)buffer, (int32_t) wcslen(buffer)); in formatDate()
334 if (buffer != stackBuffer) { in formatDate()
335 DELETE_ARRAY(buffer); in formatDate()
345 wchar_t *buffer = stackBuffer; formatTime() local
[all...]
/third_party/vk-gl-cts/framework/delibs/dethread/
H A DdeThreadTest.c358 deUint32 buffer[32]; member
368 TestBuffer* buffer = (TestBuffer*)arg; in producerThread() local
390 deSemaphore_decrement(buffer->empty); in producerThread()
392 buffer->buffer[writePos] = val; in producerThread()
393 writePos = (writePos + 1) % DE_LENGTH_OF_ARRAY(buffer->buffer); in producerThread()
395 deSemaphore_increment(buffer->fill); in producerThread()
397 buffer->producerHash ^= val; in producerThread()
403 TestBuffer* buffer in consumerThread() local
[all...]
/third_party/curl/lib/
H A Dcurl_ntlm_wb.c130 char buffer[STRERROR_LEN]; in ntlm_wb_init() local
190 ntlm_auth, errno, Curl_strerror(errno, buffer, sizeof(buffer))); in ntlm_wb_init()
196 errno, Curl_strerror(errno, buffer, sizeof(buffer))); in ntlm_wb_init()
205 errno, Curl_strerror(errno, buffer, sizeof(buffer))); in ntlm_wb_init()
217 errno, Curl_strerror(errno, buffer, sizeof(buffer))); in ntlm_wb_init()
223 errno, Curl_strerror(errno, buffer, sizeo in ntlm_wb_init()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcurrtest.c193 UChar buffer[256]; in TestFractionDigitOverride() local
203 unum_formatDouble(fmt, 123.456, buffer, UPRV_LENGTHOF(buffer), NULL, &status); in TestFractionDigitOverride()
205 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
210 unum_formatDouble(fmt, 123.456, buffer, UPRV_LENGTHOF(buffer), NULL, &status); in TestFractionDigitOverride()
212 if (u_strcmp(buffer, expectedBuf) != 0) { in TestFractionDigitOverride()
217 unum_formatDouble(fmt, 123.456, buffer, UPRV_LENGTHOF(buffer), NULL, &status); in TestFractionDigitOverride()
219 if (u_strcmp(buffer, expectedBu in TestFractionDigitOverride()
230 UChar buffer[4]; TestPrefixSuffix() local
[all...]
/third_party/libsnd/src/
H A Dinterleave.c29 { double buffer [SF_BUFFER_LEN / sizeof (double)] ; member
104 inptr = (short*) pdata->buffer ; in interleave_read_short()
119 { if (templen > SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (short)) in interleave_read_short()
120 count = SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (short) ; in interleave_read_short()
151 inptr = (int*) pdata->buffer ; in interleave_read_int()
166 { if (templen > SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (int)) in interleave_read_int()
167 count = SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (int) ; in interleave_read_int()
198 inptr = (float*) pdata->buffer ; in interleave_read_float()
216 { if (templen > SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEOF (float)) in interleave_read_float()
217 count = SIGNED_SIZEOF (pdata->buffer) / SIGNED_SIZEO in interleave_read_float()
[all...]
H A Dtest_binheader_writef.c33 { char buffer [18] ; in test_binheader_writef() local
43 { psf_strlcpy (buffer, sizeof (buffer), "abcdefghijklmnop") ; in test_binheader_writef()
44 buffer [k] = 0 ; in test_binheader_writef()
46 psf_binheader_writef (psf, "Ep", BHWp (buffer)) ; in test_binheader_writef()
/third_party/ltp/testcases/kernel/io/direct_io/
H A Ddma_thread_diotest.c31 /* the alignment of user buffer and file offset must all be multiples of */
35 /* process reads into a non-page size aligned user buffer. A test program */
39 /* number of cpu's. A single buffer large enough to contain the file is */
41 /* alignment of the buffer is controlled by a command line option. Each file*/
44 /* buffer, thread 1 reads the second page of data in to the second page of */
45 /* the buffer, and so on. Thread n - 1 reads the remainder of the file into*/
46 /* the remainder of the buffer. */
47 /* After a thread reads data into the buffer, it immediately verifies that */
48 /* the contents of the buffer are correct. If the buffer contain
129 static unsigned char *buffer; global() variable
153 unsigned char *buffer; global() member
164 unsigned char *buffer = worker->buffer; worker_thread() local
[all...]
/third_party/node/deps/v8/src/strings/
H A Duri.cc48 std::vector<base::uc16>* buffer) { in DecodeOctets()
58 buffer->push_back(value); in DecodeOctets()
60 buffer->push_back(unibrow::Utf16::LeadSurrogate(value)); in DecodeOctets()
61 buffer->push_back(unibrow::Utf16::TrailSurrogate(value)); in DecodeOctets()
78 int index, bool is_uri, std::vector<T>* buffer) { in AddToBuffer()
80 buffer->push_back('%'); in AddToBuffer()
86 buffer->push_back(first); in AddToBuffer()
87 buffer->push_back(second); in AddToBuffer()
89 buffer->push_back(decoded); in AddToBuffer()
95 std::vector<base::uc16>* buffer) { in IntoTwoByte()
47 DecodeOctets(const uint8_t* octets, int length, std::vector<base::uc16>* buffer) DecodeOctets() argument
77 AddToBuffer(base::uc16 decoded, String::FlatContent* uri_content, int index, bool is_uri, std::vector<T>* buffer) AddToBuffer() argument
93 IntoTwoByte(int index, bool is_uri, int uri_length, String::FlatContent* uri_content, std::vector<base::uc16>* buffer) IntoTwoByte() argument
253 AddEncodedOctetToBuffer(uint8_t octet, std::vector<uint8_t>* buffer) AddEncodedOctetToBuffer() argument
259 EncodeSingle(base::uc16 c, std::vector<uint8_t>* buffer) EncodeSingle() argument
269 EncodePair(base::uc16 cc1, base::uc16 cc2, std::vector<uint8_t>* buffer) EncodePair() argument
285 std::vector<uint8_t> buffer; Encode() local
[all...]
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dinvalid_param.c133 char buffer[32]; in fgets_0100() local
134 fgets(buffer, sizeof(buffer), NULL); in fgets_0100()
223 char buffer[1024]; in fread_0600() local
224 fread(buffer, sizeof(char), sizeof(buffer), NULL); in fread_0600()
246 char buffer[1024]; in fscanf_0100() local
247 fscanf(NULL, "%s", buffer); in fscanf_0100()
269 char buffer[1024]; in fseek_0100() local
448 char buffer[3 in wcsnrtombs_0100() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DTransformFeedback.cpp227 for (auto &buffer : mState.mIndexedBuffers) in onVerticesDrawn()
229 if (buffer.get() != nullptr) in onVerticesDrawn()
231 buffer->onDataChanged(); in onVerticesDrawn()
279 Buffer *buffer, in bindIndexedBuffer()
289 mState.mIndexedBuffers[index].set(context, buffer, offset, size); in bindIndexedBuffer()
290 if (isBound && buffer) in bindIndexedBuffer()
292 buffer->onTFBindingChanged(context, true, true); in bindIndexedBuffer()
311 for (auto &buffer : mState.mIndexedBuffers)
313 if (buffer.get() && buffer
277 bindIndexedBuffer(const Context *context, size_t index, Buffer *buffer, size_t offset, size_t size) bindIndexedBuffer() argument
[all...]
/third_party/skia/src/shaders/gradients/
H A DSkTwoPointConicalGradient.cpp129 sk_sp<SkFlattenable> SkTwoPointConicalGradient::CreateProc(SkReadBuffer& buffer) { in CreateProc() argument
131 if (!desc.unflatten(buffer)) { in CreateProc()
134 SkPoint c1 = buffer.readPoint(); in CreateProc()
135 SkPoint c2 = buffer.readPoint(); in CreateProc()
136 SkScalar r1 = buffer.readScalar(); in CreateProc()
137 SkScalar r2 = buffer.readScalar(); in CreateProc()
139 if (!buffer.isValid()) { in CreateProc()
148 void SkTwoPointConicalGradient::flatten(SkWriteBuffer& buffer) const { in flatten()
149 this->INHERITED::flatten(buffer); in flatten()
150 buffer in flatten()
[all...]
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeSha1.c204 void deSha1_render (const deSha1* hash, char* buffer) in deSha1_render() argument
214 buffer[charNdx] = (char)('0' + val8); in deSha1_render()
216 buffer[charNdx] = (char)('a' + val8 - 10); in deSha1_render()
220 deBool deSha1_parse (deSha1* hash, const char* buffer) in deSha1_parse() argument
230 if (buffer[charNdx] >= '0' && buffer[charNdx] <= '9') in deSha1_parse()
231 val4 = (deUint8)(buffer[charNdx] - '0'); in deSha1_parse()
232 else if (buffer[charNdx] >= 'a' && buffer[charNdx] <= 'f') in deSha1_parse()
233 val4 = (deUint8)(10 + (buffer[charNd in deSha1_parse()
[all...]
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsmove.c371 static void dump_runs(u8 *buffer, int len)
377 ntfs_log_info(" %02x", buffer[i]);
391 u8 *buffer; in find_unused() local
401 buffer = malloc(bufsize); in find_unused()
402 if (!buffer) { in find_unused()
403 ntfs_log_info("!buffer\n"); in find_unused()
416 bufsize, buffer); in find_unused()
422 bit = !!test_bit(j & 7, buffer[j>>3]); in find_unused()
447 free(buffer); in find_unused()
551 u8 *buffer; in data_copy() local
807 char *buffer; move_file() local
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_string.cpp60 // Checks whether there is enough space left in the buffer pointed to by
63 // is not enough space left in the buffer.
64 // 'bufferEnd' should point one element beyond the end of the buffer. For
65 // example, if the buffer is "T buffer[3];", then bufferEnd should point to
103 dng_memory_data &buffer) in Extract_SystemEncoding()
204 dng_memory_data &buffer, in Extract_Multibyte()
211 // - The computation of the argument to buffer.Allocate() may overflow; the in Extract_Multibyte()
263 buffer.Allocate ((uint32) (aOutput + 1)); in Extract_Multibyte()
265 memcpy (buffer in Extract_Multibyte()
102 Extract_SystemEncoding(const dng_string &dngString, dng_memory_data &buffer) Extract_SystemEncoding() argument
203 Extract_Multibyte(const dng_string &dngString, dng_memory_data &buffer, TextEncoding encoding) Extract_Multibyte() argument
305 Extract_SystemEncoding(const dng_string &dngString, dng_memory_data &buffer) Extract_SystemEncoding() argument
391 Extract_Multibyte(const dng_string &dngString, dng_memory_data &buffer, UINT encoding) Extract_Multibyte() argument
453 Extract_SystemEncoding(const dng_string &dngString, dng_memory_data &buffer) Extract_SystemEncoding() argument
867 dng_memory_data buffer; ValidSystemEncoding() local
1738 char *buffer = temp.Buffer_char (); Append() local
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream.h43 // buffer library in order to encode and decode protocol buffers. Clients
82 // coded_input->ReadRaw(buffer, size);
189 explicit CodedInputStream(const uint8* buffer, int size);
207 // underlying buffer, and *size to the size of that buffer, but does not
209 // a non-empty buffer or return false. If the caller consumes any of
216 // attempt to Refresh() if the buffer is currently empty.
220 // Read raw bytes, copying them into the given buffer.
221 bool ReadRaw(void* buffer, int size);
224 bool ReadString(std::string* buffer, in
1111 WriteRaw(const void* buffer, int size) WriteRaw() argument
1316 ReadLittleEndian32FromArray( const uint8* buffer, uint32* value) ReadLittleEndian32FromArray() argument
1330 ReadLittleEndian64FromArray( const uint8* buffer, uint64* value) ReadLittleEndian64FromArray() argument
1460 ExpectTagFromArray(const uint8* buffer, uint32 expected) ExpectTagFromArray() argument
[all...]
/third_party/bounds_checking_function/src/
H A Dvswscanf_s.c33 * The vsscanf_s function reads data from buffer into the location given by
41 * buffer Stored data
54 int vswscanf_s(const wchar_t *buffer, const wchar_t *format, va_list argList) in vswscanf_s() argument
61 if (buffer == NULL || format == NULL) { in vswscanf_s()
65 count = SecWcslen(buffer); in vswscanf_s()
67 SecClearDestBufW(buffer, format, argList); in vswscanf_s()
71 SECUREC_FILE_STREAM_FROM_STRING(&fStr, (const char *)buffer, count * sizeof(wchar_t)); in vswscanf_s()
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
H A DQRBitBuffer.js2 this.buffer = [];
10 return ( (this.buffer[bufIndex] >>> (7 - index % 8) ) & 1) == 1;
26 if (this.buffer.length <= bufIndex) {
27 this.buffer.push(0);
31 this.buffer[bufIndex] |= (0x80 >>> (this.length % 8) );
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_prctl_test.cpp24 char buffer[BUFSIZ]; in HWTEST_F() local
25 memset(buffer, 0, sizeof(buffer)); in HWTEST_F()
26 int getResult = prctl(PR_GET_NAME, static_cast<void*>(buffer)); in HWTEST_F()
28 EXPECT_STREQ(threadName, buffer); in HWTEST_F()
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/
H A DSystemInfo_x11.cpp38 char *buffer = nullptr; in GetNvidiaDriverVersionWithXNVCtrl() local
41 NV_CTRL_STRING_NVIDIA_DRIVER_VERSION, &buffer)) in GetNvidiaDriverVersionWithXNVCtrl()
43 ASSERT(buffer != nullptr); in GetNvidiaDriverVersionWithXNVCtrl()
44 *version = buffer; in GetNvidiaDriverVersionWithXNVCtrl()
45 XFree(buffer); in GetNvidiaDriverVersionWithXNVCtrl()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-aat-layout.hh56 hb_buffer_t *buffer);
59 hb_aat_layout_zero_width_deleted_glyphs (hb_buffer_t *buffer);
62 hb_aat_layout_remove_deleted_glyphs (hb_buffer_t *buffer);
67 hb_buffer_t *buffer);
72 hb_buffer_t *buffer);

Completed in 17 milliseconds

1...<<21222324252627282930>>...241