| /third_party/node/deps/v8/src/builtins/ |
| H A D | setup-builtins-internal.cc | 64 byte buffer[kBufferSize]; in BuildPlaceholder() local 66 ExternalAssemblerBuffer(buffer, kBufferSize)); in BuildPlaceholder() 91 byte buffer[kBufferSize]; in BuildWithMacroAssembler() local 95 ExternalAssemblerBuffer(buffer, kBufferSize)); in BuildWithMacroAssembler() 133 byte buffer[kBufferSize]; in BuildAdaptor() local 136 ExternalAssemblerBuffer(buffer, kBufferSize)); in BuildAdaptor()
|
| /third_party/node/deps/v8/src/inspector/ |
| H A D | v8-debugger-script.cc | 39 std::unique_ptr<UChar[]> buffer(new UChar[source->Length()]); in calculateHash() 41 isolate, reinterpret_cast<uint16_t*>(buffer.get()), 0, source->Length()); in calculateHash() 45 data = reinterpret_cast<const uint32_t*>(buffer.get()); in calculateHash() 116 std::unique_ptr<UChar[]> buffer(new UChar[substringLength]); 117 v8Source->Write(m_isolate, reinterpret_cast<uint16_t*>(buffer.get()), 119 return String16(buffer.get(), substringLength);
|
| /third_party/mesa3d/src/gallium/frontends/wgl/ |
| H A D | stw_nopfuncs.c | 107 nop_glGetNamedBufferParameterivEXT(GLuint buffer, GLenum pname, GLint *params) in nop_glGetNamedBufferParameterivEXT() argument 113 nop_glGetNamedBufferSubDataEXT(GLuint buffer, GLintptr offset, GLsizeiptr size, void *data) in nop_glGetNamedBufferSubDataEXT() argument 119 nop_glMapNamedBufferEXT(GLuint buffer, GLenum access) in nop_glMapNamedBufferEXT() argument 222 nop_glNamedBufferDataEXT(GLuint buffer, GLsizeiptr size, const void *data, GLenum usage) in nop_glNamedBufferDataEXT() argument 228 nop_glNamedBufferSubDataEXT(GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data) in nop_glNamedBufferSubDataEXT() argument 348 nop_glUnmapNamedBufferEXT(GLuint buffer) in nop_glUnmapNamedBufferEXT() argument
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
| H A D | FunctionsEGL.cpp | 410 EGLBoolean FunctionsEGL::bindTexImage(EGLSurface surface, EGLint buffer) const in bindTexImage() 412 return mFnPtrs->bindTexImagePtr(mEGLDisplay, surface, buffer); in bindTexImage() 415 EGLBoolean FunctionsEGL::releaseTexImage(EGLSurface surface, EGLint buffer) const in releaseTexImage() 417 return mFnPtrs->releaseTexImagePtr(mEGLDisplay, surface, buffer); in releaseTexImage() 437 EGLClientBuffer buffer, in createImageKHR() 440 return mFnPtrs->createImageKHRPtr(mEGLDisplay, context, target, buffer, attrib_list); in createImageKHR() 435 createImageKHR(EGLContext context, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) const createImageKHR() argument
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
| H A D | CLContextCL.cpp | 109 CLMemoryImpl::Ptr CLContextCL::createBuffer(const cl::Buffer &buffer, in createBuffer() argument 115 if (buffer.getProperties().empty()) in createBuffer() 117 nativeBuffer = mNative->getDispatch().clCreateBuffer(mNative, buffer.getFlags().get(), size, in createBuffer() 123 mNative, buffer.getProperties().data(), buffer.getFlags().get(), size, hostPtr, in createBuffer() 126 return CLMemoryImpl::Ptr(nativeBuffer != nullptr ? new CLMemoryCL(buffer, nativeBuffer) in createBuffer()
|
| /third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
| H A D | esextcGeometryShaderLayeredRenderingBoundaryCondition.cpp | 109 * @param textureData buffer with data read from texture 323 unsigned char buffer[m_width * m_height * m_max_depth * m_texture_components]; in iterate() local 325 memset(buffer, 0, sizeof(buffer)); in iterate() 333 GL_RGBA, GL_UNSIGNED_BYTE, buffer); in iterate() 445 buffer); in iterate() 455 if (!comparePixels(m_width, m_height, m_texture_components, buffer, expectedData, nTexture, nLayer)) in iterate() 631 * @param colorBuffer will be used to store the requested data(buffer size should be greater than or equal colorBufferSize) 743 * @param colorBuffer will be used to store the requested data(buffer size should be greater than or equal colorBufferSize) 832 * @param colorBuffer will be used to store the requested data(buffer siz [all...] |
| /third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
| H A D | vkMemUtil.cpp | 303 const VkBuffer buffer, in allocateDedicated() 306 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateDedicated() 312 buffer // VkBuffer buffer in allocateDedicated() 331 DE_NULL // VkBuffer buffer in allocateDedicated() 476 const VkBuffer buffer, in bindBuffer() 479 MovePtr<Allocation> alloc(allocator.allocate(getBufferMemoryRequirements(vk, device, buffer), requirement)); in bindBuffer() 480 VK_CHECK(vk.bindBufferMemory(device, buffer, alloc->getMemory(), alloc->getOffset())); in bindBuffer() 299 allocateDedicated(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer buffer, MemoryRequirement requirement) allocateDedicated() argument 473 bindBuffer(const DeviceInterface& vk, const VkDevice device, Allocator& allocator, const VkBuffer buffer, const MemoryRequirement requirement) bindBuffer() argument
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | validationEGL_autogen.h | 101 EGLint buffer); 105 EGLint buffer); 120 EGLClientBuffer buffer, 140 EGLClientBuffer buffer, 215 const struct AHardwareBuffer *buffer); 386 EGLClientBuffer buffer,
|
| H A D | Framebuffer.h | 276 void setReadBuffer(GLenum buffer); 342 GLenum buffer, 346 GLenum buffer, 350 GLenum buffer, 354 GLenum buffer, 427 GLenum buffer, 431 // Conservatively initializes both read color and depth. Blit can access the depth buffer.
|
| /third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
| H A D | BPTCCompressedTextureTest.cpp | 284 GLBuffer buffer; in TEST_P() local 285 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P() 335 GLBuffer buffer; in TEST_P() local 336 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P() 390 GLBuffer buffer; in TEST_P() local 391 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P()
|
| /third_party/skia/src/codec/ |
| H A D | SkHeifCodec.cpp | 27 bool SkHeifCodec::IsSupported(const void* buffer, size_t bytesRead, in IsSupported() argument 35 uint32_t* ptr = (uint32_t*)buffer; in IsSupported() 50 auto* chunkSizePtr = SkTAddOffset<const uint64_t>(buffer, offset); in IsSupported() 80 auto* brandPtr = SkTAddOffset<const uint32_t>(buffer, offset + 4 * i); in IsSupported() 123 size_t read(void* buffer, size_t size) override { 124 return fStream->read(buffer, size); 255 // we will always decode into fSwizzlerSrcRow before swizzling into the next buffer. in readRows()
|
| /third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
| H A D | IndexDataManager.cpp | 40 ERR("Failed to allocate the streaming index buffer."); in IndexDataManager() 273 GLenum IndexDataManager::prepareIndexData(GLenum mode, GLenum type, GLuint start, GLuint end, GLsizei count, Buffer *buffer, const void *indices, TranslatedIndexData *translated, bool primitiveRestart) in prepareIndexData() argument 282 if(buffer != NULL) in prepareIndexData() 284 if(typeSize(type) * count + offset > static_cast<std::size_t>(buffer->size())) in prepareIndexData() 289 indices = static_cast<const GLubyte*>(buffer->data()) + offset; in prepareIndexData() 297 sw::Resource *staticBuffer = buffer ? buffer->getResource() : NULL; in prepareIndexData() 317 ERR("Failed to map index buffer."); in prepareIndexData() 343 ERR("Failed to map index buffer."); in prepareIndexData() 381 ERR("Out of memory allocating an index buffer o in StreamingIndexBuffer() [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
| H A D | PixelProgram.cpp | 301 Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[index])); in blendColor() local 303 Vector4f colorf = alphaBlend(index, buffer, c[index], x); in blendColor() 310 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in blendColor() 347 Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[index])); in blendColor() local 349 Vector4f color = alphaBlend(index, buffer, c[index], x); in blendColor() 350 writeColor(index, buffer, x, color, sMask[q], zMask[q], cMask[q]); in blendColor()
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | collationdatawriter.cpp | 37 LocalMemory<uint8_t> buffer((uint8_t *)uprv_malloc(20000)); in cloneRuleData() 38 if(buffer.isNull()) { in cloneRuleData() 42 length = cloneBinary(buffer.getAlias(), 20000, errorCode); in cloneRuleData() 44 if(buffer.allocateInsteadAndCopy(length, 0) == NULL) { in cloneRuleData() 49 length = cloneBinary(buffer.getAlias(), length, errorCode); in cloneRuleData() 52 return buffer.orphan(); in cloneRuleData() 327 // The trie has already been serialized into the dest buffer. in write() 332 // The unsafeBackwardSet has already been serialized into the dest buffer. in write()
|
| /third_party/skia/third_party/externals/brotli/python/ |
| H A D | _brotli.cc | 109 const uint8_t* buffer = BrotliEncoderTakeOutput(enc, &buffer_length); in compress_stream() local 111 (*output).insert((*output).end(), buffer, buffer + buffer_length); in compress_stream() 412 const uint8_t* buffer = BrotliDecoderTakeOutput(dec, &buffer_length); in decompress_stream() local 414 (*output).insert((*output).end(), buffer, buffer + buffer_length); in decompress_stream()
|
| /third_party/skia/third_party/externals/dawn/src/dawn_native/ |
| H A D | Buffer.cpp | 35 MapRequestTask(Ref<BufferBase> buffer, MapRequestID id) in MapRequestTask() 36 : buffer(std::move(buffer)), id(id) { in MapRequestTask() 39 buffer->OnMapRequestCompleted(id, WGPUBufferMapAsyncStatus_Success); 42 buffer->OnMapRequestCompleted(id, WGPUBufferMapAsyncStatus_DeviceLost); 47 Ref<BufferBase> buffer; member 109 "Buffer usages (%s) is invalid. If a buffer usage contains %s the only other allowed " in ValidateBufferDescriptor() 117 "Buffer usages (%s) is invalid. If a buffer usage contains %s the only other allowed " in ValidateBufferDescriptor() 135 // Add readonly storage usage if the buffer has a storage usage. The validation rules in in BufferBase() 141 // The query resolve buffer nee in BufferBase() [all...] |
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | normalizer2.cpp | 344 // length==0: Nothing to do, and n2wi->normalize(NULL, NULL, buffer, ...) would crash. in unorm2_normalize() 350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize() 351 if(buffer.init(length, *pErrorCode)) { in unorm2_normalize() 352 n2wi->normalize(src, length>=0 ? src+length : NULL, buffer, *pErrorCode); in unorm2_normalize() 381 // secondLength==0: Nothing to do, and n2wi->normalizeAndAppend(NULL, NULL, buffer, ...) would crash. in normalizeSecondAndAppend() 389 ReorderingBuffer buffer(n2wi->impl, firstString); in normalizeSecondAndAppend() 390 if(buffer.init(firstLength+secondLength+1, *pErrorCode)) { // destCapacity>=-1 in normalizeSecondAndAppend() 392 doNormalize, safeMiddle, buffer, *pErrorCode); in normalizeSecondAndAppend()
|
| /third_party/toybox/toys/lsb/ |
| H A D | md5sum.c | 103 } buffer; 128 unsigned x[4], *b = (unsigned *)TT.buffer.c; in md5_transform() 174 unsigned *block = TT.buffer.i; in sha1_transform() 214 // Fill the 64-byte working buffer and call transform() when full. 227 memcpy(TT.buffer.c+j, data, i); in hash_update() 232 for (j=0; j<16; j++) TT.buffer.i[j] = SWAP_LE32(TT.buffer.i[j]); in hash_update()
|
| /third_party/vk-gl-cts/modules/gles31/functional/ |
| H A D | es31fDrawTests.cpp | 1133 // Gen command buffer 1136 m_testCtx.getLog() << tcu::TestLog::Message << "Uploading draw command buffer." << tcu::TestLog::EndMessage; 1140 // Gen data buffer 1143 m_testCtx.getLog() << tcu::TestLog::Message << "Uploading draw data buffer." << tcu::TestLog::EndMessage; 1147 // Gen index buffer 1150 m_testCtx.getLog() << tcu::TestLog::Message << "Uploading draw index buffer." << tcu::TestLog::EndMessage; 1158 << ((m_computeCmd) ? ("\tcommand buffer\n") : ("")) 1159 << ((m_computeData) ? ("\tdata buffer\n") : ("")) 1160 << ((m_computeIndices) ? ("\tindex buffer\n") : ("")) 1227 << "layout(std430) buffer;\ [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
| H A D | Surface.cpp | 51 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB; in write() 65 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB; in write() 410 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB; in read() 420 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB; in read() 1146 if(buffer) in lockRect() 1162 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 1167 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 1171 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect() 1173 return (unsigned char*)buffer + x * bytes + y * pitchB + z * samples * sliceB; in lockRect() 1222 external.buffer in Surface() 3042 memfill4(void *buffer, int pattern, int bytes) memfill4() argument 3180 float *buffer = (float*)lockInternal(0, 0, 0, lock, PUBLIC); clearDepth() local 3294 char *buffer = (char*)lockStencil(0, 0, 0, PUBLIC); clearStencil() local 3340 Buffer *buffer; fill() local [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | mfenc.c | 239 IMFMediaBuffer *buffer; in mf_sample_to_avpacket() local 251 IMFSample_ConvertToContiguousBuffer(sample, &buffer); in mf_sample_to_avpacket() 255 hr = IMFMediaBuffer_Lock(buffer, &data, NULL, NULL); in mf_sample_to_avpacket() 257 IMFMediaBuffer_Release(buffer); in mf_sample_to_avpacket() 263 IMFMediaBuffer_Unlock(buffer); in mf_sample_to_avpacket() 264 IMFMediaBuffer_Release(buffer); in mf_sample_to_avpacket() 309 IMFMediaBuffer *buffer; in mf_v_avframe_to_sample() local 324 hr = IMFSample_GetBufferByIndex(sample, 0, &buffer); in mf_v_avframe_to_sample() 330 hr = IMFMediaBuffer_Lock(buffer, &data, NULL, NULL); in mf_v_avframe_to_sample() 332 IMFMediaBuffer_Release(buffer); in mf_v_avframe_to_sample() [all...] |
| /third_party/curl/lib/ |
| H A D | ws.c | 59 /* buffer dimensioning */ 444 infof(data, "WS: error adding data to buffer %d", result); in ws_cw_write() 743 * 'nread' is number of bytes of websocket data already in the buffer at 837 void *buffer; member 889 memcpy(ctx->buffer, buf, nwritten); in ws_client_collect() 908 CURL_EXTERN CURLcode curl_ws_recv(struct Curl_easy *data, void *buffer, in curl_ws_recv() argument 914 bool done = FALSE; /* not filled passed buffer yet */ in curl_ws_recv() 939 /* get a download buffer */ in curl_ws_recv() 946 ctx.buffer = buffer; in curl_ws_recv() 1038 curl_ws_send(CURL *data, const void *buffer, size_t buflen, size_t *sent, curl_off_t fragsize, unsigned int flags) curl_ws_send() argument 1229 curl_ws_recv(CURL *curl, void *buffer, size_t buflen, size_t *nread, const struct curl_ws_frame **metap) curl_ws_recv() argument 1241 curl_ws_send(CURL *curl, const void *buffer, size_t buflen, size_t *sent, curl_off_t fragsize, unsigned int flags) curl_ws_send() argument [all...] |
| /third_party/icu/icu4c/source/test/cintltst/ |
| H A D | cnmdptst.c | 653 UChar buffer[512]; in TestSecondaryGrouping() local 657 u_uastrcpy(buffer, "#,##,###"); in TestSecondaryGrouping() 658 f = unum_open(UNUM_IGNORE,buffer, -1, "en_US",NULL, &status); in TestSecondaryGrouping() 666 u_uastrcpy(buffer, "12,34,56,789"); in TestSecondaryGrouping() 667 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping() 676 u_uastrcpy(buffer, "#,##,##0"); in TestSecondaryGrouping() 677 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping() 682 u_uastrcpy(buffer, "#,###"); in TestSecondaryGrouping() 683 unum_applyPattern(f, false, buffer, -1,NULL,NULL); in TestSecondaryGrouping() 690 u_uastrcpy(buffer, "1 in TestSecondaryGrouping() [all...] |
| /third_party/icu/tools/unicode/c/genuca/ |
| H A D | genuca.cpp | 518 CollationBaseDataBuilder &builder, char *buffer, UErrorCode *status) { in readAnOption() 521 if(uprv_strncmp(buffer, vt[cnt].name, vtLen) == 0) { in readAnOption() 523 char *pointer = skipWhiteSpace(buffer + vtLen); in readAnOption() 532 fprintf(stderr, "Syntax error: unable to parse the CE from line '%s'\n", buffer); in readAnOption() 538 fprintf(stderr, "Value of \"%s\" is not a primary weight\n", buffer); in readAnOption() 544 fprintf(stderr, "Value of \"%s\" is not a valid byte\n", buffer); in readAnOption() 570 fprintf(stderr, "Syntax error: unable to parse one of the ranges from line '%s'\n", buffer); in readAnOption() 674 fprintf(stderr, "Warning: unrecognized option: %s\n", buffer); in readAnOption() 834 char buffer[30000]; in parseFractionalUCA() local 850 char *line = fgets(buffer, sizeo in parseFractionalUCA() 517 readAnOption( CollationBaseDataBuilder &builder, char *buffer, UErrorCode *status) readAnOption() argument 1125 LocalMemory<uint8_t> buffer; buildAndWriteBaseData() local [all...] |
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
| H A D | DateTimeGeneratorTest.java | 241 StringBuffer buffer = new StringBuffer(); in TestPatternParser() 250 CheckPattern(buffer, pp, patternTest); in TestPatternParser() 255 CheckPattern(buffer, pp, patternTest); in TestPatternParser() 261 CheckPattern(buffer, pp, patternTest); in TestPatternParser() 265 CheckPattern(buffer, pp, patternTest); in TestPatternParser() 282 private void CheckPattern(StringBuffer buffer, PatternTokenizer pp, String patternTest) { in CheckPattern() argument 285 showItems(buffer, pp, patternTest); in CheckPattern() 297 showItems(buffer, pp, normalized); in CheckPattern() 303 private void showItems(StringBuffer buffer, PatternTokenizer pp, String patternTest) { in showItems() argument 306 buffer in showItems() [all...] |