/third_party/node/deps/v8/src/codegen/ppc/ |
H A D | cpu-ppc.cc | 16 void CpuFeatures::FlushICache(void* buffer, size_t size) { in FlushICache() argument 24 : "r"(buffer) in FlushICache() 32 reinterpret_cast<byte*>(reinterpret_cast<intptr_t>(buffer) & ~mask); in FlushICache() 33 byte* end = static_cast<byte*>(buffer) + size; in FlushICache()
|
/third_party/node/deps/v8/src/base/ |
H A D | file-utils.cc | 24 auto buffer = std::make_unique<char[]>(basename_start + name_length + 1); in RelativePath() local 25 if (basename_start > 0) memcpy(buffer.get(), exec_path, basename_start); in RelativePath() 26 memcpy(buffer.get() + basename_start, name, name_length); in RelativePath() 27 return buffer; in RelativePath()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_buffer.h | 33 /// Pipe video buffer interface starts 37 * creates a video buffer 43 * destroy this video buffer 46 d3d12_video_buffer_destroy(struct pipe_video_buffer *buffer); 52 d3d12_video_buffer_get_sampler_view_planes(struct pipe_video_buffer *buffer); 58 d3d12_video_buffer_get_sampler_view_components(struct pipe_video_buffer *buffer); 64 d3d12_video_buffer_get_surfaces(struct pipe_video_buffer *buffer); 86 /// Pipe video buffer interface ends
|
/third_party/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_winsys.h | 62 i915_drm_buffer(struct i915_winsys_buffer *buffer) in i915_drm_buffer() argument 64 return (struct i915_drm_buffer *)buffer; in i915_drm_buffer() 68 intel_bo(struct i915_winsys_buffer *buffer) in intel_bo() argument 70 return i915_drm_buffer(buffer)->bo; in intel_bo()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | _flushlbf.c | 24 * @tc.desc : Verify that flushing the line buffer was successful. 29 char buffer[1024] = {0}; in flushlbf_0100() local 41 int32_t rsize = fread(buffer, 1, 10, fd); in flushlbf_0100() 47 fread(buffer, 1, 20, fp); in flushlbf_0100() 48 EXPECT_STREQ("flushlbf_0100", buffer, array); in flushlbf_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
H A D | unistd_Exit_test.cpp | 33 char buffer[BUF_SIZE]; in HWTEST_F() local 34 read(pipefd[0], buffer, sizeof(buffer)); in HWTEST_F() 36 EXPECT_STREQ("before exit", buffer); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/time/ |
H A D | strftime_l.c | 46 char buffer[gBufferSize]; in strftime_l_0100() local 48 strftime_l(buffer, sizeof(buffer) - 1, "%c", timeptr, m_locale); in strftime_l_0100() 49 EXPECT_STREQ("strftime_l_0100", buffer, test_asctime_data[i].result); in strftime_l_0100()
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | FrameBufferOzone.cpp | 21 buffer = sw::Surface::create(width, height, 1, format, nullptr, in FrameBufferOzone() 28 delete buffer; in ~FrameBufferOzone() 33 framebuffer = buffer->lockInternal(0, 0, 0, sw::LOCK_READWRITE, sw::PUBLIC); in lock() 40 buffer->unlockInternal(); in unlock()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | Buffer.cpp | 26 buffer = device.createBuffer(bufferInfo); in Buffer() 28 auto memRequirements = device.getBufferMemoryRequirements(buffer); in Buffer() 35 device.bindBufferMemory(buffer, bufferMemory, 0); in Buffer() 41 device.destroyBuffer(buffer); in ~Buffer()
|
/third_party/skia/src/utils/ |
H A D | SkJSONWriter.cpp | 35 char buffer[kBufferSize]; in appendf() local 39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp); in appendf() 41 int length = vsnprintf(buffer, kBufferSize, fmt, argp); in appendf() 45 this->write(buffer, length); in appendf()
|
H A D | SkFloatToDecimal.cpp | 141 unsigned char buffer[9]; // decimal value buffer. 144 buffer[bufferIndex++] = d % 10; 147 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0); 151 *output_ptr++ = '0' + buffer[bufferIndex]; 161 *output_ptr++ = '0' + buffer[bufferIndex]; 173 *output_ptr++ = '0' + buffer[bufferIndex];
|
/third_party/ltp/lib/ |
H A D | tlibio.c | 51 * int lio_write_buffer(int fd, int method, char *buffer, int size, 53 * int lio_read_buffer(int fd, int method, char *buffer, int size, 163 {"v", LIO_IO_SYNCV, "single buffer sync readv/writev"}, 175 {"syncv", LIO_IO_SYNCV, "single buffer sync readv/writev"}, 517 * in a internal static buffer. If errmsg is not NULL, it will 518 * be updated to point to the static buffer, allowing the caller 535 char *buffer, /* pointer to buffer */ in lio_write_buffer() 594 iov.iov_base = buffer; in lio_write_buffer() 605 aiocbp.aio_buf = buffer; in lio_write_buffer() 533 lio_write_buffer(int fd, int method, char *buffer, int size, int sig, char **errmsg, long wrd) lio_write_buffer() argument 1108 lio_read_buffer(int fd, int method, char *buffer, int size, int sig, char **errmsg, long wrd) lio_read_buffer() argument 2007 char buffer[4096]; global() local [all...] |
/third_party/backends/sanei/ |
H A D | sanei_auth.c | 85 char buffer[4]; in randombits() local 93 fread (buffer, 1, 4, dev_urandom); in randombits() 97 result = buffer[0]; in randombits() 99 result += buffer[1]; in randombits() 101 result += buffer[2]; in randombits() 103 result += buffer[3]; in randombits()
|
/third_party/libwebsockets/lib/core/ |
H A D | alloc.c | 48 TEE_Realloc(void *buffer, uint32_t newSize) in TEE_Realloc() argument 53 TEE_Free(void *buffer) in TEE_Free() argument 66 TEE_Realloc(void *buffer, uint32_t newSize) in TEE_Realloc() argument 68 return realloc(buffer, newSize); in TEE_Realloc() 71 TEE_Free(void *buffer) in TEE_Free() argument 73 free(buffer); in TEE_Free()
|
/third_party/jerryscript/jerry-core/api/ |
H A D | jerry-debugger.c | 192 jerry_debugger_send_output (const jerry_char_t *buffer, /**< buffer */ in jerry_debugger_send_output() argument 200 (const uint8_t *) buffer, in jerry_debugger_send_output() 204 JERRY_UNUSED (buffer); in jerry_debugger_send_output() 214 const jerry_char_t *buffer, /**< buffer */ in jerry_debugger_send_log() 222 (const uint8_t *) buffer, in jerry_debugger_send_log() 227 JERRY_UNUSED (buffer); in jerry_debugger_send_log() 213 jerry_debugger_send_log(jerry_log_level_t level, const jerry_char_t *buffer, jerry_size_t str_size) jerry_debugger_send_log() argument
|
/third_party/node/test/parallel/ |
H A D | test-assert-typedarray-deepequal.js | 52 [new Uint8Array([1, 2, 3]).buffer, new Uint8Array([4, 5, 6]).buffer], 54 new Uint8Array(new SharedArrayBuffer(3)).fill(1).buffer, 55 new Uint8Array(new SharedArrayBuffer(3)).fill(2).buffer, 61 new Uint8Array(new ArrayBuffer(3)).fill(1).buffer, 62 new Uint8Array(new SharedArrayBuffer(3)).fill(2).buffer,
|
/third_party/node/benchmark/net/ |
H A D | tcp-raw-pipe.js | 47 clientHandle.onread = function(buffer) { 50 if (!buffer) 55 err = clientHandle.writeBuffer(writeReq, Buffer.from(buffer)); 93 clientHandle.onread = function(buffer) { 94 if (!buffer) 97 bytes += buffer.byteLength;
|
/third_party/libdrm/tests/etnaviv/ |
H A D | write_bmp.c | 104 bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32() argument 116 write(fd, buffer, width * height * 4); in bmp_dump32() 120 bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32_noflip() argument 132 write(fd, buffer, width * height * 4); in bmp_dump32_noflip() 136 bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename) in bmp_dump32_ex() argument 148 write(fd, buffer, width * height * 4); in bmp_dump32_ex()
|
/third_party/ltp/testcases/kernel/watchqueue/ |
H A D | common.h | 127 unsigned char buffer[433], *p, *end; in wqueue_consumer() local 136 buf_len = SAFE_READ(0, fd, buffer, sizeof(buffer)); in wqueue_consumer() 138 p = buffer; in wqueue_consumer() 139 end = buffer + buf_len; in wqueue_consumer() 152 tst_res(TINFO, "NOTIFY[%03zx]: ty=%06x sy=%02x i=%08x", p - buffer, in wqueue_consumer()
|
/third_party/node/deps/undici/src/node_modules/@fastify/busboy/deps/dicer/lib/ |
H A D | HeaderParser.js | 23 this.buffer = '' 35 self.buffer += data.toString('binary', start, end) 49 this.buffer = '' 55 if (this.buffer) { this._parseHeader() } 59 this.buffer = '' 69 const lines = this.buffer.split(RE_CRLF)
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnBuffer.cpp | 24 SkASSERT(!"buffer type not supported by Dawn"); in GrGpuBufferTypeToDawnUsageBit() 73 // the buffer should always be mapped. in onMap() 107 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_read() local 108 buffer->setMapPtr(const_cast<void*>(buffer->get().GetConstMappedRange())); in callback_read() 112 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_write() local 113 buffer->setMapPtr(buffer->get().GetMappedRange()); in callback_write()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/ |
H A D | ByteArrayTests.java | 82 // buffer reads in readComparison() 85 byte[] buffer = new byte[bufferSize]; in readComparison() 86 b1 = readByteArrayWithBuffer(ba1, buffer); in readComparison() 87 b2 = readByteArrayWithBuffer(ba2, buffer); in readComparison() 102 ByteArray<? extends ByteArray<?>> ba, byte[] buffer) { in readByteArrayWithBuffer() 107 int bytesRead = ba.get(index, buffer); in readByteArrayWithBuffer() 108 System.arraycopy(buffer, 0, b, index, bytesRead); in readByteArrayWithBuffer() 101 readByteArrayWithBuffer( ByteArray<? extends ByteArray<?>> ba, byte[] buffer) readByteArrayWithBuffer() argument
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | TapLatencyAnalyser.java | 37 public TapLatencyEvent[] analyze(float[] buffer, int offset, int numSamples) { in analyze() argument 40 highPassFilter(buffer, offset, numSamples, mHighPassBuffer); in analyze() 50 private void highPassFilter(float[] buffer, int offset, int numSamples, float[] highPassBuffer) { in highPassFilter() argument 55 float xn = buffer[i + offset]; in highPassFilter() 88 private void fillPeakBuffer(float[] buffer, int offset, int numSamples, float[] peakBuffer) { in fillPeakBuffer() argument 93 float input = buffer[i + offset]; in fillPeakBuffer()
|
/third_party/skia/src/shaders/ |
H A D | SkColorFilterShader.cpp | 33 sk_sp<SkFlattenable> SkColorFilterShader::CreateProc(SkReadBuffer& buffer) { in CreateProc() argument 34 auto shader = buffer.readShader(); in CreateProc() 35 auto filter = buffer.readColorFilter(); in CreateProc() 46 void SkColorFilterShader::flatten(SkWriteBuffer& buffer) const { in flatten() 47 buffer.writeFlattenable(fShader.get()); in flatten() 49 buffer.writeFlattenable(fFilter.get()); in flatten()
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/integration/ |
H A D | BundleHelper.java | 43 byte[] buffer = new byte[65536]; in readStream() 45 while ((bytesRead = input.read(buffer)) != -1) { in readStream() 46 result.write(buffer, 0, bytesRead); in readStream() 96 byte[] buffer = new byte[65536]; in fingerprintStream() 99 int len = input.read(buffer); in fingerprintStream() 103 crc = updateCrc64(crc, buffer, 0, len); in fingerprintStream()
|