Home
last modified time | relevance | path

Searched refs:buffer (Results 4776 - 4800 of 7438) sorted by relevance

1...<<191192193194195196197198199200>>...298

/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_resource.c102 VKSCR(DestroyBuffer)(screen->dev, obj->buffer, NULL); in zink_destroy_resource_object()
618 if (VKSCR(CreateBuffer)(screen->dev, &bci, NULL, &obj->buffer) != VK_SUCCESS) { in resource_object_create()
631 VKSCR(GetBufferMemoryRequirements)(screen->dev, obj->buffer, &reqs); in resource_object_create()
938 .buffer = VK_NULL_HANDLE, in resource_object_create()
1034 if (VKSCR(BindBufferMemory)(screen->dev, obj->buffer, zink_bo_get_mem(obj->bo), obj->offset) != VK_SUCCESS) { in resource_object_create()
1078 VKSCR(DestroyBuffer)(screen->dev, obj->buffer, NULL); in resource_object_create()
1135 * because they might never be moved back again. If a buffer is large enough, in resource_create()
1136 * upload data by copying from a temporary GTT buffer. 8K might not seem much, in resource_create()
1584 /* force counter buffer reset */ in invalidate_buffer()
1742 /* See if the buffer rang in zink_buffer_map()
2123 zink_buffer_subdata(struct pipe_context *ctx, struct pipe_resource *buffer, unsigned usage, unsigned offset, unsigned size, const void *data) zink_buffer_subdata() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DRobustResourceInitTest.cpp374 GLBuffer buffer; in TEST_P() local
375 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
398 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
414 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
419 // Regression test for passing a zero size init buffer with the extension.
424 GLBuffer buffer; in TEST_P() local
425 glBindBuffer(GL_ARRAY_BUFFER, buffer); in TEST_P()
939 GLBuffer buffer; in TEST_P() local
940 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P()
1043 // Test drawing with the resolved depth buffer in TEST_P()
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dvp8l_enc.c1427 // Allocates the memory for argb (W x H) buffer, 2 rows of context for
1559 // using 'row' as a temporary buffer of size 'width'.
1566 // TODO(skal): this tmp buffer is not needed if VP8LBundleColorMap() can be in ApplyPalette()
1577 uint16_t buffer[PALETTE_INV_SIZE]; in ApplyPalette() local
1587 // Set each element in buffer to max uint16_t. in ApplyPalette()
1588 memset(buffer, 0xff, sizeof(buffer)); in ApplyPalette()
1591 if (buffer[ind] != 0xffffu) { in ApplyPalette()
1595 buffer[ind] = j; in ApplyPalette()
1602 APPLY_PALETTE_FOR(buffer[ApplyPaletteHash in ApplyPalette()
[all...]
/third_party/selinux/libsepol/cil/src/
H A Dcil.c515 char *buffer = NULL; in cil_add_file() local
520 buffer = cil_malloc(size + 2); in cil_add_file()
521 memcpy(buffer, data, size); in cil_add_file()
522 memset(buffer + size, 0, 2); in cil_add_file()
524 rc = cil_parser(name, buffer, size + 2, &db->parse); in cil_add_file()
530 free(buffer); in cil_add_file()
531 buffer = NULL; in cil_add_file()
536 free(buffer); in cil_add_file()
/test/xts/acts/distributeddatamgr/relationalStoretest/rdbnapitest/entry/src/main/cpp/napi/
H A Drdb_store_backup_test.cpp64 char *buffer = (char*)malloc((bufferSize) + 1); in RdbFilePath() local
65 napi_get_value_string_utf8(env, args[0], buffer, bufferSize+1, &bufferSize); in RdbFilePath()
68 sprintf(RDB_TEST_PATH, "%s/", buffer); in RdbFilePath()
/test/xts/acts/graphic/graphicnapidrawingtest/
H A DNativeDrawingMatrixTest.cpp749 * @tc.desc: test for Copies nine scalar values contained by Matrix into buffer.
757 float buffer[9]; in HWTEST_F() local
760 EXPECT_EQ(OH_Drawing_MatrixGetAll(matrix, buffer), OH_DRAWING_SUCCESS); in HWTEST_F()
762 EXPECT_TRUE(IsScalarAlmostEqual(buffer[i], emptyBuffer[i])); in HWTEST_F()
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/
H A Dhdi_model_prepare_test.cpp681 // map memory to get output buffer in HWTEST_F()
685 auto buffer = (float*)memAddress; in HWTEST_F() local
687 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Dh263dec.c219 const uint8_t *start = s->gb.buffer + get_bits_count(&s->gb) / 8; in decode_slice()
624 ret = avctx->hwaccel->start_frame(avctx, s->gb.buffer, in ff_h263_decode_frame()
625 s->gb.buffer_end - s->gb.buffer); in ff_h263_decode_frame()
H A Dshorten.c172 static void fix_bitshift(ShortenContext *s, int32_t *buffer) in fix_bitshift() argument
178 buffer[i] = 0; in fix_bitshift()
181 buffer[i] *= 1U << s->bitshift; in fix_bitshift()
534 /* allocate internal bitstream buffer */ in shorten_decode_frame()
542 av_log(avctx, AV_LOG_ERROR, "error allocating bitstream buffer\n"); in shorten_decode_frame()
549 /* append current packet data to bitstream buffer */ in shorten_decode_frame()
567 /* do not decode until buffer has at least max_framesize bytes or in shorten_decode_frame()
592 av_log(avctx, AV_LOG_ERROR, "error allocating bitstream buffer\n"); in shorten_decode_frame()
741 /* get output buffer */ in shorten_decode_frame()
H A Dvaapi_hevc.c118 av_unused const uint8_t *buffer, in vaapi_hevc_start_frame()
408 const uint8_t *buffer, in vaapi_hevc_decode_slice()
509 pic->last_buffer = buffer; in vaapi_hevc_decode_slice()
117 vaapi_hevc_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) vaapi_hevc_start_frame() argument
407 vaapi_hevc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) vaapi_hevc_decode_slice() argument
/third_party/ffmpeg/libavfilter/
H A Daf_afir.c203 seg->buffer = ff_get_audio_buffer(ctx->inputs[0], seg->part_size); in init_segment()
207 if (!seg->buffer || !seg->sumin || !seg->sumout || !seg->blockin || !seg->blockout || !seg->coeff || !seg->input || !seg->output) in init_segment()
238 av_frame_free(&seg->buffer); in uninit_segment()
/third_party/curl/lib/vtls/
H A Dwolfssl.c1130 static size_t wolfssl_version(char *buffer, size_t size) in wolfssl_version() argument
1133 return msnprintf(buffer, size, "wolfSSL/%s", wolfSSL_lib_version()); in wolfssl_version()
1135 return msnprintf(buffer, size, "wolfSSL/%s", WOLFSSL_VERSION); in wolfssl_version()
/third_party/backends/backend/
H A Dcardscan.c614 DBG(5, "load_calibration: not enough mem for buffer: %ld\n",(long)bytes); in load_calibration()
1037 DBG(5, "heat_lamp_gray: not enough mem for buffer: %lu\n", in heat_lamp_gray()
1099 DBG(5, "heat_lamp_color: not enough mem for buffer: %lu\n", in heat_lamp_color()
1179 /* have sent all of current buffer */ in sane_read()
1206 /* data in current buffer, send some of it */ in sane_read()
1212 memcpy(buf,s->buffer+s->bytes_tx,*len); in sane_read()
1237 DBG(5, "read_from_scanner_gray: not enough mem for buffer: %lu\n", in read_from_scanner_gray()
1259 /*memcpy(s->buffer,buf+HEADER_SIZE,s->gray_block_size);*/ in read_from_scanner_gray()
1261 /* reorder the gray data into the struct's buffer */ in read_from_scanner_gray()
1271 s->buffer[ in read_from_scanner_gray()
[all...]
H A Dcanon_pp-dev.c176 /* Read 6 byte buffer status block */
273 /* Buffer for buffer info block */ in sanei_canon_pp_init_scan()
296 /* Ask the scanner about the buffer */ in sanei_canon_pp_init_scan()
300 /* Read buffer information block */ in sanei_canon_pp_init_scan()
304 DBG(1, "init_scan: ** Warning: Checksum error reading buffer " in sanei_canon_pp_init_scan()
475 char buffer[10]; in sanei_canon_pp_load_weights() local
483 ret = safe_read(fd, buffer, strlen(header) + 1); in sanei_canon_pp_load_weights()
484 if ((ret < 0) || strcmp(buffer, header) != 0) in sanei_canon_pp_load_weights()
623 "input buffer\n"); in sanei_canon_pp_read_segment()
627 /* Allocate memory for input buffer */ in sanei_canon_pp_read_segment()
[all...]
/third_party/curl/lib/
H A Dftplistparser.c364 size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb, in Curl_ftp_parselist() argument
387 parser->os_type = ISDIGIT(buffer[0]) ? OS_TYPE_WIN_NT : OS_TYPE_UNIX; in Curl_ftp_parselist()
393 char c = buffer[i]; in Curl_ftp_parselist()
/third_party/FreeBSD/sys/dev/usb/input/
H A Duhid.c57 #define UHID_BSIZE 1024 /* bytes, buffer size */
175 void mouse_report_events(InputDevice *input_dev, void *buffer, int len) in mouse_report_events() argument
182 const char *buf = buffer; in mouse_report_events()
207 mouse_report_events(sc->input_dev, pc->buffer, actlen); in uhid_intr_read_callback()
459 /* dummy buffer */ in uhid_get_report()
/third_party/icu/tools/unicode/c/genprops/
H A Dnamespropsbuilder.cpp315 CharString buffer; in setProps() local
326 buffer.append(corr, limit-corr, errorCode); in setProps()
327 names[3]=buffer.data(); in setProps()
/third_party/icu/icu4c/source/common/
H A Duprops.cpp275 // needs to release dest's buffer before we look at its contents. in changesWhenNFKC_Casefolded()
276 ReorderingBuffer buffer(*kcf, dest); in changesWhenNFKC_Casefolded()
278 if(buffer.init(5, errorCode)) { in changesWhenNFKC_Casefolded()
281 true, buffer, errorCode); in changesWhenNFKC_Casefolded()
/third_party/libuv/src/unix/
H A Dos390.c148 * We could use a static buffer for the path manipulations that we need outside
155 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument
160 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath()
167 return uv__search_path(args, buffer, size); in uv_exepath()
293 /* Assume maximum buffer size allowable */ in uv__interface_addresses_v6()
426 /* Assume maximum buffer size allowable */ in uv_interface_addresses()
/third_party/libuv/src/
H A Duv-common.c645 int uv_fs_event_getpath(uv_fs_event_t* handle, char* buffer, size_t* size) { in uv_fs_event_getpath() argument
659 memcpy(buffer, handle->path, required_len); in uv_fs_event_getpath()
661 buffer[required_len] = '\0'; in uv_fs_event_getpath()
/third_party/mbedtls/library/
H A Dsha3.c300 * SHA-3 process buffer
377 * output = SHA-3( input buffer )
593 unsigned char buffer[1000]; in mbedtls_sha3_long_kat_test() local
597 memset(buffer, 'a', 1000); in mbedtls_sha3_long_kat_test()
614 result = mbedtls_sha3_update(&ctx, buffer, 1000); in mbedtls_sha3_long_kat_test()
H A Dripemd160.c264 * RIPEMD-160 process buffer
289 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_ripemd160_update()
291 if ((ret = mbedtls_internal_ripemd160_process(ctx, ctx->buffer)) != 0) { in mbedtls_ripemd160_update()
310 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_ripemd160_update()
371 * output = RIPEMD-160( input buffer )
/third_party/node/src/
H A Dnode_builtins.cc524 uint8_t* buffer = new uint8_t[length]; in RefreshCodeCache() local
525 memcpy(buffer, item.data.data(), length); in RefreshCodeCache()
527 buffer, length, v8::ScriptCompiler::CachedData::BufferOwned); in RefreshCodeCache()
/third_party/node/deps/icu-small/source/common/
H A Duprops.cpp275 // needs to release dest's buffer before we look at its contents. in changesWhenNFKC_Casefolded()
276 ReorderingBuffer buffer(*kcf, dest); in changesWhenNFKC_Casefolded()
278 if(buffer.init(5, errorCode)) { in changesWhenNFKC_Casefolded()
281 true, buffer, errorCode); in changesWhenNFKC_Casefolded()
/third_party/node/deps/v8/src/objects/
H A Dcall-site-info.cc784 char buffer[16]; in SerializeWasmStackFrame() local
785 SNPrintF(base::ArrayVector(buffer), "0x%x", in SerializeWasmStackFrame()
787 builder->AppendCString(buffer); in SerializeWasmStackFrame()

Completed in 47 milliseconds

1...<<191192193194195196197198199200>>...298