/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs_variant.c | 67 unsigned buffer, in vsvg_set_buffer() 75 buffer, in vsvg_set_buffer() 83 char *buffer, in find_viewport() 89 char *ptr = buffer + vertex_idx * stride; in find_viewport() 329 fetch.element[i].input_buffer = key->element[i].in.buffer; in draw_vs_create_variant_generic() 66 vsvg_set_buffer( struct draw_vs_variant *variant, unsigned buffer, const void *ptr, unsigned stride, unsigned max_index ) vsvg_set_buffer() argument 82 find_viewport(struct draw_context *draw, char *buffer, unsigned vertex_idx, unsigned stride) find_viewport() argument
|
H A D | draw_pt_so_emit.c | 125 float *buffer; in so_emit_prim() local 155 /* If a buffer is missing then that's equivalent to in so_emit_prim() 193 buffer = (float *)((char *)draw->so.targets[ob]->mapping + in so_emit_prim() 199 memcpy(buffer, &pre_clip_pos[start_comp], in so_emit_prim() 202 memcpy(buffer, &input[idx][start_comp], in so_emit_prim() 212 unsigned *ubuffer = (unsigned*)buffer; in so_emit_prim()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_bufmgr.cpp | 67 (unsigned)ptr->buffer->size, (unsigned)offset); in describe_suballoc_bo() 73 if (ptr->buffer) in d3d12_debug_describe_bo() 167 bo->buffer = buf; in d3d12_bo_wrap_buffer() 185 if (bo->buffer) in d3d12_bo_unreference() 186 pb_reference(&bo->buffer, NULL); in d3d12_bo_unreference() 324 // Align the buffer to D3D12_CONSTANT_BUFFER_DATA_PLACEMENT_ALIGNMENT in d3d12_bufmgr_create_buffer()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_cache.c | 35 * Actually destroy the buffer. 41 struct pb_buffer *buf = entry->buffer; in destroy_buffer_locked() 79 * Add a buffer to the cache. This is typically done when the buffer is 87 struct pb_buffer *buf = entry->buffer; in pb_cache_add_buffer() 98 /* Directly release any buffer that exceeds the limit. */ in pb_cache_add_buffer() 123 struct pb_buffer *buf = entry->buffer; in pb_cache_is_buffer_compat() 143 * Find a compatible buffer in the cache, return it, and remove it 177 /* This buffer (and all hereafter) are still hot in cache */ in pb_cache_reclaim_buffer() 180 /* the buffer i in pb_cache_reclaim_buffer() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | pbkdf2.c | 125 static int pbkdf2_set_membuf(unsigned char **buffer, size_t *buflen, in pbkdf2_set_membuf() argument 128 OPENSSL_clear_free(*buffer, *buflen); in pbkdf2_set_membuf() 129 *buffer = NULL; in pbkdf2_set_membuf() 133 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in pbkdf2_set_membuf() 138 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in pbkdf2_set_membuf()
|
H A D | pkcs12kdf.c | 181 static int pkcs12kdf_set_membuf(unsigned char **buffer, size_t *buflen, in pkcs12kdf_set_membuf() argument 184 OPENSSL_clear_free(*buffer, *buflen); in pkcs12kdf_set_membuf() 185 *buffer = NULL; in pkcs12kdf_set_membuf() 189 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in pkcs12kdf_set_membuf() 194 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in pkcs12kdf_set_membuf()
|
/third_party/node/deps/uv/src/win/ |
H A D | internal.h | 291 void uv__stdio_destroy(BYTE* buffer); 292 void uv__stdio_noinherit(BYTE* buffer); 293 int uv__stdio_verify(BYTE* buffer, WORD size); 294 WORD uv__stdio_size(BYTE* buffer); 295 HANDLE uv__stdio_handle(BYTE* buffer, int fd);
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2_substring.c | 51 * Copy named captured string to given buffer * 54 /* This function copies a single captured substring into a given buffer, 61 buffer where to put the substring 62 sizeptr the size of the buffer, updated to the size of the substring 74 PCRE2_UCHAR *buffer, PCRE2_SIZE *sizeptr) in pcre2_substring_copy_byname() 90 return pcre2_substring_copy_bynumber(match_data, n, buffer, sizeptr); in pcre2_substring_copy_byname() 100 * Copy numbered captured string to given buffer * 103 /* This function copies a single captured substring into a given buffer, 109 buffer where to put the substring 110 sizeptr the size of the buffer, update 73 pcre2_substring_copy_byname(pcre2_match_data *match_data, PCRE2_SPTR stringname, PCRE2_UCHAR *buffer, PCRE2_SIZE *sizeptr) pcre2_substring_copy_byname() argument 121 pcre2_substring_copy_bynumber(pcre2_match_data *match_data, uint32_t stringnumber, PCRE2_UCHAR *buffer, PCRE2_SIZE *sizeptr) pcre2_substring_copy_bynumber() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LineEditor/ |
H A D | LineEditor.cpp | 146 StringRef(LI->buffer, LI->lastchar - LI->buffer), in ElCompletionFn() 147 LI->cursor - LI->buffer); in ElCompletionFn() 183 << StringRef(LI->buffer, LI->lastchar - LI->buffer); in ElCompletionFn()
|
/third_party/openssl/providers/implementations/kdfs/ |
H A D | pbkdf2.c | 125 static int pbkdf2_set_membuf(unsigned char **buffer, size_t *buflen, in pbkdf2_set_membuf() argument 128 OPENSSL_clear_free(*buffer, *buflen); in pbkdf2_set_membuf() 129 *buffer = NULL; in pbkdf2_set_membuf() 133 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in pbkdf2_set_membuf() 138 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in pbkdf2_set_membuf()
|
H A D | pkcs12kdf.c | 181 static int pkcs12kdf_set_membuf(unsigned char **buffer, size_t *buflen, in pkcs12kdf_set_membuf() argument 184 OPENSSL_clear_free(*buffer, *buflen); in pkcs12kdf_set_membuf() 185 *buffer = NULL; in pkcs12kdf_set_membuf() 189 if ((*buffer = OPENSSL_malloc(1)) == NULL) { in pkcs12kdf_set_membuf() 194 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in pkcs12kdf_set_membuf()
|
/third_party/skia/tests/ |
H A D | Writer32Test.cpp | 79 char buffer[sizeof(data)]; in test1() local 80 REPORTER_ASSERT(reporter, sizeof(buffer) == writer->bytesWritten()); in test1() 81 writer->flatten(buffer); in test1() 82 REPORTER_ASSERT(reporter, !memcmp(data, buffer, sizeof(buffer))); in test1()
|
/third_party/openssl/test/ |
H A D | punycode_test.c | 150 unsigned int buffer[50]; in test_punycode() local 151 unsigned int bsize = OSSL_NELEM(buffer); in test_punycode() 155 buffer, &bsize))) in test_punycode() 160 if (!TEST_mem_eq(buffer, bsize * sizeof(*buffer), in test_punycode() 172 * Test that no buffer correctly returns the true length. in test_a2ulabel() 187 /* Test for an off by one on the buffer size works */ in test_a2ulabel() 208 TEST_error("CRITICAL: buffer overrun detected!"); in test_puny_overrun()
|
/third_party/skia/third_party/externals/freetype/src/lzw/ |
H A D | ftzopen.c | 262 FT_Byte* buffer, in FT_LOCAL_DEF() 310 if ( buffer ) in FT_LOCAL_DEF() 311 buffer[result] = (FT_Byte)old_char; in FT_LOCAL_DEF() 384 if ( buffer ) in FT_LOCAL_DEF() 385 buffer[result] = state->stack[state->stack_top]; in FT_LOCAL_DEF()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unistr_cnv.cpp | 283 char buffer[1024]; in doExtract() local 285 destLimit=buffer+sizeof(buffer); in doExtract() 287 dest=buffer; in doExtract() 290 length+=(int32_t)(dest-buffer); in doExtract() 374 // try to use the stack buffer in doCodepageCreate()
|
/third_party/vixl/test/aarch64/ |
H A D | test-assembler-aarch64.h | 276 CodeBuffer* buffer = masm.GetBuffer(); \ 277 Instruction* test_start = buffer->GetOffsetAddress<Instruction*>( \ 279 Instruction* test_end = buffer->GetOffsetAddress<Instruction*>( \ 283 Instruction* infra_start = buffer->GetStartAddress<Instruction*>(); \ 297 Instruction* infra_end = buffer->GetEndAddress<Instruction*>(); \
|
/third_party/skia/third_party/externals/freetype/builds/amiga/src/base/ |
H A D | ftsystem.c | 284 /* buffer :: The address of buffer to store the read data. */ 294 unsigned char* buffer, in ft_amiga_stream_io() 307 /* requested offset implies we need a buffer refill */ in ft_amiga_stream_io() 314 sysfile->iobuf_end = 0; /* trigger a buffer refill */ in ft_amiga_stream_io() 320 /* we have buffer and requested bytes are all inside our buffer */ in ft_amiga_stream_io() 321 CopyMem( &sysfile->iobuf[offset - sysfile->iobuf_start], buffer, count ); in ft_amiga_stream_io() 326 /* (re)fill buffer */ in ft_amiga_stream_io() 329 /* requested bytes is a subset of the buffer */ in ft_amiga_stream_io() 292 ft_amiga_stream_io( FT_Stream stream, unsigned long offset, unsigned char* buffer, unsigned long count ) ft_amiga_stream_io() argument [all...] |
/third_party/python/Lib/unittest/ |
H A D | runner.py | 170 failfast=False, buffer=False, resultclass=None, warnings=None, 183 self.buffer = buffer 197 result.buffer = self.buffer
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | pcg_engine.h | 207 sequence_result_type buffer[kBufferSize]; 208 seq.generate(std::begin(buffer), std::end(buffer)); 210 state_type tmp = buffer[0]; 213 tmp |= buffer[i];
|
/third_party/skia/experimental/ffmpeg/ |
H A D | SkVideoEncoder.cpp | 85 static int sk_write_packet(void* ctx, uint8_t* buffer, int size) { in sk_write_packet() argument 87 stream->write(buffer, size); in sk_write_packet() 154 uint8_t* buffer = (uint8_t*)av_malloc(bufferSize); in init() local 155 if (!buffer) { in init() 158 fStreamCtx = avio_alloc_context(buffer, bufferSize, AVIO_FLAG_WRITE, fWStream.get(), in init()
|
/third_party/skia/include/core/ |
H A D | SkString.h | 69 * The SkStrAppend... methods will write into the provided buffer, assuming it is large enough. 71 * value needed for that method's buffer. 77 * the methods return the ptr to the end of the written part of the buffer. This can be used 87 char* SkStrAppendU32(char buffer[], uint32_t); 89 char* SkStrAppendU64(char buffer[], uint64_t, int minDigits); 92 char* SkStrAppendS32(char buffer[], int32_t); 94 char* SkStrAppendS64(char buffer[], int64_t, int minDigits); 106 * Write the scalar in decimal format into buffer, and return a pointer to 108 * written into buffer, which must be at least kSkStrAppendScalar_MaxSize. 109 * Thus if the caller wants to add a 0 at the end, buffer mus [all...] |
/third_party/vk-gl-cts/framework/platform/ohos/rosen_context/ |
H A D | ohos_context_i.h | 89 virtual uint32_t OH_bindTexImage(void* dpy, void* surface, int32_t buffer) = 0; 95 virtual void* OH_createImage(void* dpy, void* ctx, uint32_t target, void* buffer, const int *attrib_list) = 0; 96 virtual void* OH_createImageKHR(void* dpy, void* ctx, uint32_t target, void* buffer, const int32_t *attrib_list) = 0; 97 virtual void* OH_createPbufferFromClientBuffer(void* dpy, uint32_t buftype, void* buffer, void* config, const int32_t *attrib_list) = 0; 132 virtual uint32_t OH_releaseTexImage(void* dpy, void* surface, int32_t buffer) = 0;
|
H A D | rosen_context_impl.h | 57 uint32_t OH_bindTexImage(void* dpy, void* surface, int32_t buffer) override; 63 void* OH_createImage(void* dpy, void* ctx, uint32_t target, void* buffer, const int *attrib_list) override; 64 void* OH_createImageKHR(void* dpy, void* ctx, uint32_t target, void* buffer, const int32_t *attrib_list) override; 65 void* OH_createPbufferFromClientBuffer(void* dpy, uint32_t buftype, void* buffer, void* config, const int32_t *attrib_list) override; 100 uint32_t OH_releaseTexImage(void* dpy, void* surface, int32_t buffer) override;
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/connector_mgr/ |
H A D | trigger_connector.cpp | 425 sptr<Ashmem> buffer = OHOS::Ashmem::CreateAshmem("ModelData", modelData.size()); in CreateAshmemFromModelData() local 426 if (buffer == nullptr) { in CreateAshmemFromModelData() 431 if (!buffer->MapReadAndWriteAshmem()) { in CreateAshmemFromModelData() 436 if (!buffer->WriteToAshmem(modelData.data(), modelData.size(), 0)) { in CreateAshmemFromModelData() 442 return buffer; in CreateAshmemFromModelData() 445 buffer->UnmapAshmem(); in CreateAshmemFromModelData() 446 buffer->CloseAshmem(); in CreateAshmemFromModelData()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/ |
H A D | mission_data_storage.cpp | 345 std::unique_ptr<uint8_t[]> buffer = std::make_unique<uint8_t[]>(bufferSize); in ReadFileToBuffer() local 346 if (buffer == nullptr) { in ReadFileToBuffer() 347 TAG_LOGE(AAFwkTag::ABILITYMGR, "buffer null"); in ReadFileToBuffer() 361 "buffer size:(%{public}zu) is smaller than file size:(%{public}zu)", bufferSize, in ReadFileToBuffer() 366 size_t retSize = std::fread(buffer.get(), 1, fileSize, fp); in ReadFileToBuffer() 374 return buffer; in ReadFileToBuffer() 388 std::unique_ptr<uint8_t[]> buffer = MissionDataStorage::ReadFileToBuffer(fileName, bufferSize); in GetPixelMap() local 389 if (buffer == nullptr) { in GetPixelMap() 390 TAG_LOGE(AAFwkTag::ABILITYMGR, "buffer null"); in GetPixelMap() 394 auto imageSource = Media::ImageSource::CreateImageSource(buffer in GetPixelMap() [all...] |