Home
last modified time | relevance | path

Searched refs:buffer (Results 8776 - 8800 of 10762) sorted by relevance

1...<<351352353354355356357358359360>>...431

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp558 vk::VkBuffer buffer, in bindBufferMemory()
561 const vk::VkMemoryRequirements memoryRequirements = vk::getBufferMemoryRequirements(vkd, device, buffer); in bindBufferMemory()
581 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0)); in bindBufferMemory()
601 TCU_FAIL("Failed to allocate memory for buffer"); in bindBufferMemory()
796 const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, memorySize, usage, sharingMode, queueFamilies));
797 const vk::VkMemoryRequirements requirements (vk::getBufferMemoryRequirements(vkd, device, *buffer));
805 const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, currentSize, usage, sharingMode, queueFamilies));
806 const vk::VkMemoryRequirements requirements (vk::getBufferMemoryRequirements(vkd, device, *buffer));
1018 void setBuffer (vk::Move<vk::VkBuffer> buffer,
1024 m_currentBuffer = buffer;
554 bindBufferMemory(const vk::InstanceInterface& vki, const vk::DeviceInterface& vkd, vk::VkPhysicalDevice physicalDevice, vk::VkDevice device, vk::VkBuffer buffer, vk::VkMemoryPropertyFlags properties) bindBufferMemory() argument
[all...]
/foundation/multimedia/media_library/frameworks/js/src/
H A Dfile_asset_napi.cpp628 char buffer[FILENAME_MAX]; in JSSetFileDisplayName() local
644 status = napi_get_value_string_utf8(env, argv[PARAM0], buffer, FILENAME_MAX, &res); in JSSetFileDisplayName()
646 string displayName = string(buffer); in JSSetFileDisplayName()
735 char buffer[FILENAME_MAX]; in JSSetTitle() local
748 status = napi_get_value_string_utf8(env, argv[PARAM0], buffer, FILENAME_MAX, &res); in JSSetTitle()
750 string title = string(buffer); in JSSetTitle()
1062 char buffer[ARG_BUF_SIZE]; in JSSetRelativePath() local
1075 status = napi_get_value_string_utf8(env, argv[PARAM0], buffer, ARG_BUF_SIZE, &res); in JSSetRelativePath()
1077 obj->fileAssetPtr->SetRelativePath(string(buffer)); in JSSetRelativePath()
1495 char buffer[ARG_BUF_SIZ in GetJSArgsForOpen() local
[all...]
/third_party/node/deps/v8/src/objects/
H A Delements.cc20 #include "src/objects/js-array-buffer-inl.h"
863 // No change is needed to the elements() buffer, the transition in TransitionElementsKindImpl()
3091 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in SetImpl()
3150 auto is_shared = typed_array->buffer().is_shared() ? kShared : kUnshared; in GetInternalImpl()
3309 if (typed_array->buffer().is_shared()) { in FillImpl()
3359 auto is_shared = typed_array.buffer().is_shared() ? kShared : kUnshared; in IncludesValueImpl()
3459 auto is_shared = typed_array.buffer().is_shared() ? kShared : kUnshared; in IndexOfValueImpl()
3515 auto is_shared = typed_array.buffer().is_shared() ? kShared : kUnshared; in LastIndexOfValueImpl()
3533 if (typed_array.buffer().is_shared()) { in ReverseImpl()
3580 source.buffer() in CopyTypedArrayElementsSliceImpl()
[all...]
H A Dmap.cc1865 std::unique_ptr<base::ScopedVector<char>> buffer; in TransitionToDataProperty() local
1869 buffer.reset(new base::ScopedVector<char>(128)); in TransitionToDataProperty()
1870 SNPrintF(*buffer, "TooManyFastProperties %s", name_buffer.begin()); in TransitionToDataProperty()
1871 reason = buffer->begin(); in TransitionToDataProperty()
/third_party/skia/third_party/externals/swiftshader/include/GLES2/
H A Dgl2ext.h640 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
641 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
643 GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
644 GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1379 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1382 GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1493 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1511 GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
2044 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
2045 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintpt
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DSubzeroReactor.cpp752 buffer.reserve(0x1000);
761 if(position == (uint64_t)buffer.size())
763 buffer.push_back(Value);
766 else if(position < (uint64_t)buffer.size())
768 buffer[position] = Value;
777 std::size_t oldSize = buffer.size();
778 buffer.resize(oldSize + Bytes.size());
779 memcpy(&buffer[oldSize], Bytes.begin(), Bytes.size());
789 auto entryPoints = loadImage(&buffer[0], functionNames);
807 protectMemoryPages(&buffer[
[all...]
/third_party/skia/third_party/externals/opengl-registry/api/GLES2/
H A Dgl2ext.h640 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
641 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
643 GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
644 GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1379 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1382 GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1493 typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1511 GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
2044 typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
2045 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintpt
[all...]
/third_party/rust/crates/libc/src/unix/bsd/apple/
H A Dmod.rs5679 buffer: *mut ::c_void, in proc_listpids()
5682 pub fn proc_listallpids(buffer: *mut ::c_void, buffersize: ::c_int) -> ::c_int; in proc_listallpids()
5685 buffer: *mut ::c_void, in proc_listpgrppids()
5688 pub fn proc_listchildpids(ppid: ::pid_t, buffer: *mut ::c_void, buffersize: ::c_int) in proc_listchildpids()
5694 buffer: *mut ::c_void, in proc_pidinfo()
5701 buffer: *mut ::c_void, in proc_pidfdinfo()
5708 buffer: *mut ::c_void, in proc_pidfileportinfo()
5711 pub fn proc_pidpath(pid: ::c_int, buffer: *mut ::c_void, buffersize: u32) -> ::c_int; in proc_pidpath()
5712 pub fn proc_name(pid: ::c_int, buffer: *mut ::c_void, buffersize: u32) -> ::c_int; in proc_name()
5716 buffer in proc_regionfilename()
[all...]
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_publish_test.cpp679 void *buffer = malloc(bufferSize); in HWTEST_F() local
680 if (buffer != nullptr) { in HWTEST_F()
681 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, Media::AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F()
683 EXPECT_NE(buffer, nullptr); in HWTEST_F()
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp1728 char buffer[10] = {0};
1729 uint32_t buffSize = sizeof(buffer);
1731 if (SystemGetParameter("const.sandbox.pidns.support", buffer, &buffSize) != 0) {
1734 if (!strcmp(buffer, "false")) {
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Dfrontend_delegate_impl.cpp236 auto buffer = jsAsset->GetData(); in GetAssetFromI18n() local
237 if ((buffer == nullptr) || (bufLen <= 0)) { in GetAssetFromI18n()
241 content.assign(buffer, buffer + bufLen); in GetAssetFromI18n()
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/
H A Dnapi_audio_renderer.cpp524 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get buffer failed", in Write()
553 auto buffer = std::make_unique<uint8_t[]>(bufferLen); in WriteArrayBufferToNative() local
554 CHECK_AND_RETURN_RET_LOG(buffer != nullptr, napi_generic_failure, "Renderer write buffer allocation failed"); in WriteArrayBufferToNative()
555 if (memcpy_s(buffer.get(), bufferLen, context->data, bufferLen)) { in WriteArrayBufferToNative()
563 bytesWritten = napiAudioRenderer->audioRenderer_->Write(buffer.get() + totalBytesWritten, in WriteArrayBufferToNative()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp601 Drawing::Matrix::Buffer buffer; in Marshalling() local
602 val.GetAll(buffer); in Marshalling()
603 uint32_t size = buffer.size() * sizeof(Drawing::scalar); in Marshalling()
605 ret &= RSMarshallingHelper::WriteToParcel(parcel, buffer.data(), size); in Marshalling()
/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_stub.cpp1801 MMI_HILOGE("Append extra data failed, buffer is oversize:%{public}d", size); in StubAppendExtraData()
1804 uint8_t buffer = 0; in StubAppendExtraData() local
1806 READUINT8(data, buffer, IPC_PROXY_DEAD_OBJECT_ERR); in StubAppendExtraData()
1807 extraData.buffer.push_back(buffer); in StubAppendExtraData()
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Dudmf_test.cpp1404 OH_UdsArrayBuffer buffer; in HWTEST_F() local
1405 int buildRes4 = OH_UdmfRecord_AddArrayBuffer(record2, nullptr, &buffer); in HWTEST_F()
1442 OH_UdsArrayBuffer buffer; in HWTEST_F() local
1443 int buildRes4 = OH_UdmfRecord_GetArrayBuffer(record2, nullptr, &buffer); in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Ddca_core.c632 av_log(s->avctx, AV_LOG_ERROR, "Subband sample buffer overflow\n"); in parse_subframe_audio()
781 // Reallocate subband sample buffer in alloc_sample_buffer()
948 av_log(s->avctx, AV_LOG_ERROR, "Subband sample buffer overflow\n"); in parse_xbr_subframe()
1168 av_log(s->avctx, AV_LOG_ERROR, "Subband sample buffer overflow\n"); in parse_x96_subframe_audio()
1289 // Reallocate subband sample buffer in alloc_x96_sample_buffer()
1725 w1 = AV_RB32(s->gb.buffer + sync_pos * 4); in parse_optional_info()
1750 w1 = AV_RB32(s->gb.buffer + sync_pos * 4); in parse_optional_info()
1775 w1 = AV_RB32(s->gb.buffer + sync_pos * 4); in parse_optional_info()
1780 !av_crc(dca->crctab, 0xffff, s->gb.buffer + in parse_optional_info()
1981 // Reallocate PCM output buffer in ff_dca_core_filter_fixed()
[all...]
/third_party/ffmpeg/libavutil/
H A Dopt.c2193 int av_opt_serialize(void *obj, int opt_flags, int flags, char **buffer, in av_opt_serialize() argument
2208 if (!obj || !buffer) in av_opt_serialize()
2211 *buffer = NULL; in av_opt_serialize()
2236 ret = av_bprint_finalize(&bprint, buffer); in av_opt_serialize()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DULocale.java2981 * @param buffer The output buffer.
2983 private static void appendTag(String tag, StringBuilder buffer) { in appendTag() argument
2984 if (buffer.length() != 0) { in appendTag()
2985 buffer.append(UNDERSCORE); in appendTag()
2988 buffer.append(tag); in appendTag()
3138 * default value for an unknown language is written to the output buffer.
/third_party/icu/icu4c/source/common/
H A Dutext.cpp846 // utext.p pointer to the current buffer
847 // utext.q pointer to the other buffer.
862 // Each contains the UChar chunk buffer, the to and from native maps, and
885 UChar buf[UTF8_TEXT_CHUNK_SIZE+4]; // The UChar buffer. Requires one extra position beyond the
895 // and one for an entry for the buffer limit position.
988 // current buffer position. in utf8TextAccess()
992 // End of current buffer. in utf8TextAccess()
993 // check whether other buffer already has what we need. in utf8TextAccess()
1003 // being in the other buffer. This will be the case for uses that in utf8TextAccess()
1006 u8b = (UTF8Buf *)ut->q; // the alternate buffer in utf8TextAccess()
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dmodule-decoder.cc2024 ValueType* buffer = zone->NewArray<ValueType>(param_count + return_count); in consume_sig()
2026 for (uint32_t i = 0; i < return_count; ++i) buffer[b++] = returns[i]; in consume_sig()
2027 for (uint32_t i = 0; i < param_count; ++i) buffer[b++] = params[i]; in consume_sig()
2029 return zone->New<FunctionSig>(return_count, param_count, buffer); in consume_sig()
H A Dwasm-code-manager.cc1218 desc.buffer + desc.buffer_size - desc.reloc_size, in AddCodeWithCodeSpace()
1232 memcpy(dst_code_bytes.begin(), desc.buffer, in AddCodeWithCodeSpace()
1236 intptr_t delta = dst_code_bytes.begin() - desc.buffer; in AddCodeWithCodeSpace()
2332 DCHECK_EQ(result.code_desc.buffer, result.instr_buffer->start()); in AddCompiledCode()
/third_party/node/deps/icu-small/source/common/
H A Dutext.cpp849 // utext.p pointer to the current buffer
850 // utext.q pointer to the other buffer.
865 // Each contains the char16_t chunk buffer, the to and from native maps, and
888 char16_t buf[UTF8_TEXT_CHUNK_SIZE+4]; // The char16_t buffer. Requires one extra position beyond the
898 // and one for an entry for the buffer limit position.
991 // current buffer position. in utf8TextAccess()
995 // End of current buffer. in utf8TextAccess()
996 // check whether other buffer already has what we need. in utf8TextAccess()
1006 // being in the other buffer. This will be the case for uses that in utf8TextAccess()
1009 u8b = (UTF8Buf *)ut->q; // the alternate buffer in utf8TextAccess()
[all...]
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapps.c1324 int len, unsigned char *buffer) in print_bignum_var()
1332 l = BN_bn2bin(in, buffer); in print_bignum_var()
1336 BIO_printf(out, "0x%02X,", buffer[i]); in print_bignum_var()
1338 BIO_printf(out, "0x%02X", buffer[i]); in print_bignum_var()
1988 * Read whole contents of a BIO into an allocated memory buffer and return
2084 * outlen: (output) set to the length of the resulting buffer on success.
2088 * returns: a malloc'd buffer or NULL on failure.
2101 out = app_malloc(len + 1, "NPN buffer"); in next_protos_parse()
2109 * Every comma we skip in this way puts the input buffer another in next_protos_parse()
2110 * byte ahead of the output buffer, s in next_protos_parse()
1323 print_bignum_var(BIO *out, const BIGNUM *in, const char *var, int len, unsigned char *buffer) print_bignum_var() argument
[all...]
/third_party/openssl/apps/lib/
H A Dapps.c1322 int len, unsigned char *buffer) in print_bignum_var()
1330 l = BN_bn2bin(in, buffer); in print_bignum_var()
1334 BIO_printf(out, "0x%02X,", buffer[i]); in print_bignum_var()
1336 BIO_printf(out, "0x%02X", buffer[i]); in print_bignum_var()
1982 * Read whole contents of a BIO into an allocated memory buffer and return
2077 * outlen: (output) set to the length of the resulting buffer on success.
2081 * returns: a malloc'd buffer or NULL on failure.
2094 out = app_malloc(len + 1, "NPN buffer"); in next_protos_parse()
2102 * Every comma we skip in this way puts the input buffer another in next_protos_parse()
2103 * byte ahead of the output buffer, s in next_protos_parse()
1321 print_bignum_var(BIO *out, const BIGNUM *in, const char *var, int len, unsigned char *buffer) print_bignum_var() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_barycentric/
H A DvktFragmentShadingBarycentricTests.cpp1140 const BufferWithMemory* buffer = (ndx == 0) ? resultBuffer.get() : referenceBuffer.get(); in iterate() local
1167 copyImageToBuffer(vkd, *commandBuffer, image->get(), buffer->get(), tcu::IVec2(width, height)); in iterate()
1172 invalidateMappedMemoryRange(vkd, device, buffer->getAllocation().getMemory(), buffer->getAllocation().getOffset(), VK_WHOLE_SIZE); in iterate()

Completed in 108 milliseconds

1...<<351352353354355356357358359360>>...431