/foundation/window/window_manager/window_scene/session/container/src/zidl/ |
H A D | session_stage_proxy.cpp | 34 bool CopyBufferFromRawData(void *&buffer, size_t size, const void *data) in CopyBufferFromRawData() argument 46 buffer = malloc(size); in CopyBufferFromRawData() 47 if (buffer == nullptr) { in CopyBufferFromRawData() 48 TLOGE(WmsLogTag::WMS_UIEXT, "buffer malloc failed"); in CopyBufferFromRawData() 52 if (memcpy_s(buffer, size, data, size) != EOK) { in CopyBufferFromRawData() 53 free(buffer); in CopyBufferFromRawData() 1249 void *buffer = nullptr; in ReadBigStringVectorFromParcel() local 1250 if (!CopyBufferFromRawData(buffer, dataSize, reply.ReadRawData(dataSize))) { in ReadBigStringVectorFromParcel() 1256 if (!tempParcel.ParseFrom(reinterpret_cast<uintptr_t>(buffer), dataSize)) { in ReadBigStringVectorFromParcel() 1257 TLOGE(WmsLogTag::WMS_UIEXT, "Parse from buffer faile in ReadBigStringVectorFromParcel() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mpegenc.c | 443 "VBV buffer size not set, using default size of 230KB\n" in mpeg_mux_init() 445 "Like DVD, VCD or others, make sure you set the correct buffer size\n"); in mpeg_mux_init() 450 av_log(ctx, AV_LOG_WARNING, "buffer size %d, too large\n", stream->max_buffer_size); in mpeg_mux_init() 646 uint8_t buffer[128]; in flush_packet() local 658 buf_ptr = buffer; in flush_packet() 689 size = buf_ptr - buffer; in flush_packet() 690 avio_write(ctx->pb, buffer, size); in flush_packet() 702 memset(buffer, 0, 128); in flush_packet() 703 buf_ptr = buffer; in flush_packet() 725 size = buf_ptr - buffer; in flush_packet() [all...] |
H A D | avidec.c | 351 char month[4], time[9], buffer[64]; in avi_metadata_creation_time() local 358 snprintf(buffer, sizeof(buffer), "%.4d-%.2d-%.2d %s", in avi_metadata_creation_time() 360 av_dict_set(metadata, "creation_time", buffer, 0); in avi_metadata_creation_time() 381 char buffer[64] = { 0 }; in avi_read_nikon() local 384 size -= avio_read(s->pb, buffer, in avi_read_nikon() 385 FFMIN(size, sizeof(buffer) - 1)); in avi_read_nikon() 395 if (buffer[4] == ':' && buffer[7] == ':') in avi_read_nikon() 396 buffer[ in avi_read_nikon() [all...] |
/third_party/backends/backend/ |
H A D | niash.c | 261 _rgb2rgb (unsigned char __sane_unused__ *buffer, int __sane_unused__ pixels, int __sane_unused__ threshold) in _rgb2rgb() argument 269 _rgb2gray (unsigned char *buffer, int pixels, int __sane_unused__ threshold) in _rgb2gray() argument 283 acc += aWeight[x % BYTES_PER_PIXEL_COLOR] * buffer[x]; in _rgb2gray() 286 buffer[x / BYTES_PER_PIXEL_COLOR] = in _rgb2gray() 299 _rgb2lineart (unsigned char *buffer, int pixels, int threshold) in _rgb2lineart() argument 306 _rgb2gray (buffer, pixels, 0); in _rgb2lineart() 311 if (x < pixels && buffer[x] < thresh) in _rgb2lineart() 317 buffer[x / BITS_PER_BYTE] = (unsigned char) (acc); in _rgb2lineart() 397 int iCurrent = 0; /* buffer and time-holder swap flag */ in _WaitForLamp() 399 unsigned char CalWhite[2][3]; /* toggling buffer */ in _WaitForLamp() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cbiapts.c | 383 uint8_t buffer [CLONETEST_ITERATOR_COUNT] [U_BRK_SAFECLONE_BUFFERSIZE]; in TestBreakIteratorSafeClone() local 422 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, NULL)) in TestBreakIteratorSafeClone() 428 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) || status != U_MEMORY_ALLOCATION_ERROR) in TestBreakIteratorSafeClone() 434 /* Null buffer size pointer is ok */ in TestBreakIteratorSafeClone() 435 if (NULL == (brk = ubrk_safeClone(someIterators[i], buffer[i], NULL, &status)) || U_FAILURE(status)) in TestBreakIteratorSafeClone() 442 /* buffer size pointer is 0 - fill in pbufferSize with a size */ in TestBreakIteratorSafeClone() 444 if (NULL != ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status) || in TestBreakIteratorSafeClone() 452 log_err("FAIL: Pre-calculated buffer size is too small - %d but needed %d\n", U_BRK_SAFECLONE_BUFFERSIZE, bufferSize); in TestBreakIteratorSafeClone() 455 if (NULL == (brk = ubrk_safeClone(someIterators[i], buffer[i], &bufferSize, &status)) || U_FAILURE(status)) in TestBreakIteratorSafeClone() 467 log_err("FAIL: Cloned Iterator failed to deal correctly with too-small buffer siz in TestBreakIteratorSafeClone() [all...] |
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | rndis.c | 139 FAR struct usbdev_req_s *net_req; /* Pointer to request whose buffer is assigned to network */ 140 FAR struct usbdev_req_s *rx_req; /* Pointer request container that holds RX buffer */ 147 bool ctrlreq_has_encap_response; /* Indicates if ctrlreq buffer holds a response */ 485 * on the bulk OUT endpoint, it is copied to the reserved request buffer. 489 * The processing worker passes the buffer to the network. When the network is 490 * done processing the packet, the buffer might contain data to be sent. 506 * when the RX packet buffer is already in use. 676 * Allocates a request buffer to be used on the network. 717 * Submits the request buffer held by the network. 746 * Frees the request buffer hel [all...] |
/third_party/jerryscript/tests/unit-core/ |
H A D | test-api.cpp | 72 char buffer[32]; in handler() local 84 (jerry_char_t *) buffer, in handler() 87 TEST_ASSERT (!strncmp (buffer, "1", (size_t) sz)); in handler() 382 char buffer[32]; in HWTEST_F() local 455 sz = jerry_string_to_char_buffer (res, (jerry_char_t *) buffer, sz); in HWTEST_F() 458 TEST_ASSERT (!strncmp (buffer, "abcd", (size_t) sz)); in HWTEST_F() 548 sz = jerry_string_to_char_buffer (res, (jerry_char_t *) buffer, sz); in HWTEST_F() 551 TEST_ASSERT (!strncmp (buffer, "string from handler", (size_t) sz)); in HWTEST_F()
|
/third_party/lame/libmp3lame/ |
H A D | bitstream.c | 95 /* in freeformat the buffer is constant */ in get_max_frame_buffer_size_by_constraint() 117 /* All mp3 decoders should have enough buffer to handle this value: size of a 320kbps 32kHz frame */ in get_max_frame_buffer_size_by_constraint() 482 /* yikes! we are out of header buffer space */ in encodeSideInfo2() 787 currently in the buffer. This should be the same as the 789 only after all headers and data have been added to the buffer 793 size of mp3 buffer (including frame headers which may not 794 have yet been send to the mp3 buffer) + 797 total_bytes_output is the size of the mp3 output buffer if 845 /* if flushbits < 0, this would mean that the buffer looks like: in compute_flushbits() 856 ERRORF(gfc, "strange error flushing buffer in compute_flushbits() 988 do_gain_analysis(lame_internal_flags * gfc, unsigned char* buffer, int minimum) do_gain_analysis() argument 1056 do_copy_buffer(lame_internal_flags * gfc, unsigned char *buffer, int size) do_copy_buffer() argument 1079 copy_buffer(lame_internal_flags * gfc, unsigned char *buffer, int size, int mp3data) copy_buffer() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3dx_state.c | 114 /* The HW treats polygon offset units based on a Z24 buffer, so we in v3d_create_rasterizer_state() 1017 /* sRGB was stored in the tile buffer as linear and in create_texture_shader_state_bo() 1019 * buffer store. Note that this means we would need in create_texture_shader_state_bo() 1262 pipe_resource_reference(&target->base.buffer, prsc); in v3d_create_stream_output_target() 1275 pipe_resource_reference(&target->buffer, NULL); in v3d_stream_output_target_destroy() 1334 if ((buf->buffer == buffers[i].buffer) && in v3d_set_shader_buffers() 1343 pipe_resource_reference(&buf->buffer, buffers[i].buffer); in v3d_set_shader_buffers() 1345 if (buf->buffer) in v3d_set_shader_buffers() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | uloc.cpp | 540 * @param buf buffer of size [ULOC_KEYWORD_BUFFER_LEN] 557 /* keyword name too long for internal buffer */ in locale_canonKeywordName() 626 /* keyword name too long for internal buffer */ in ulocimp_getKeywords() 709 char* buffer, int32_t bufferCapacity, in uloc_getKeywordValue() 716 CheckedArrayByteSink sink(buffer, bufferCapacity); in uloc_getKeywordValue() 728 u_terminateChars(buffer, bufferCapacity, reslen, status); in uloc_getKeywordValue() 807 /* keyword name too long for internal buffer */ in ulocimp_getKeywordValue() 849 char* buffer, int32_t bufferCapacity, in uloc_setKeywordValue() 879 bufLen = (int32_t)uprv_strlen(buffer); in uloc_setKeywordValue() 901 /* keywordValue too long for internal buffer */ in uloc_setKeywordValue() 707 uloc_getKeywordValue(const char* localeID, const char* keywordName, char* buffer, int32_t bufferCapacity, UErrorCode* status) uloc_getKeywordValue() argument 847 uloc_setKeywordValue(const char* keywordName, const char* keywordValue, char* buffer, int32_t bufferCapacity, UErrorCode* status) uloc_setKeywordValue() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_vbo.c | 146 const void *data = (const uint8_t *)vb->buffer.user + ve->src_offset; in nv50_emit_vtxattr() 223 addrs[b] = nouveau_scratch_data(&nv50->base, vb->buffer.user, base, size, in nv50_upload_user_buffers() 262 address[b] = nouveau_scratch_data(&nv50->base, vb->buffer.user, in nv50_update_user_vbufs() 310 /* if vertex buffer was written by GPU - flush VBO cache */ in nv50_vertex_arrays_validate() 313 struct nv04_resource *buf = nv04_resource(nv50->vtxbuf[i].buffer.resource); in nv50_vertex_arrays_validate() 383 if (!vb->buffer.resource) { in nv50_vertex_arrays_validate() 388 struct nv04_resource *buf = nv04_resource(vb->buffer.resource); in nv50_vertex_arrays_validate() 621 /* This shouldn't have to be here. The going theory is that the buffer in nv50_draw_elements() 710 struct nv04_resource *res = nv04_resource(so->pipe.buffer); in nva0_draw_stream_output() 777 if (indirect && indirect->buffer) { in nv50_draw_vbo() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferOperations.cpp | 78 /* Check if texture buffer extension is supported */ in initTest() 90 /* Create buffer object*/ in initTest() 92 GLU_EXPECT_NO_ERROR(gl.getError(), "Error generating buffer object!"); in initTest() 95 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding buffer object !"); in initTest() 99 GLU_EXPECT_NO_ERROR(gl.getError(), "Error allocating data store for buffer object!"); in initTest() 101 /* Create texture buffer */ in initTest() 112 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding buffer object to texture buffer!"); in initTest() 114 /* Initialize texture buffer object */ in initTest() 146 GLU_EXPECT_NO_ERROR(gl.getError(), "Error generating buffer objec in initFirstPhase() 571 fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) fillBufferWithData() argument 1050 fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) fillBufferWithData() argument 1431 fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) fillBufferWithData() argument 1553 fillBufferWithData(glw::GLint* buffer, glw::GLuint bufferLength) fillBufferWithData() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkMaskBlurFilter.cpp | 168 // Starting from the right, fill in the rest of the buffer. in blur() 215 Scan makeBlurScan(int width, uint32_t* buffer) const { 217 buffer0 = buffer; 240 // NB 135 is the largest sigma that will not cause a buffer full of 255 mask values to overflow 322 uint8_t buffer[8]; 323 b.store(buffer); 325 to[i] = buffer[i]; 555 // Clear the buffer to handle summing wider than source. 989 auto buffer = alloc.makeArrayDefault<uint32_t>(bufferSize); 995 // Make sure not to overflow the multiply for the tmp buffer siz [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | entry_points.h | 28 void GL_APIENTRY BindBuffer(GLenum target, GLuint buffer); 126 GLboolean GL_APIENTRY IsBuffer(GLuint buffer); 263 void GL_APIENTRY BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 264 void GL_APIENTRY BindBufferBase(GLenum target, GLuint index, GLuint buffer); 284 void GL_APIENTRY ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); 285 void GL_APIENTRY ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); 286 void GL_APIENTRY ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); 287 void GL_APIENTRY ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
/third_party/python/Python/ |
H A D | codecs.c | 972 char buffer[256]; /* NAME_MAXLEN */ in PyCodec_NameReplaceErrors() local 990 if (ucnhash_capi->getname(c, buffer, sizeof(buffer), 1)) { in PyCodec_NameReplaceErrors() 991 replsize = 1+1+1+(int)strlen(buffer)+1; in PyCodec_NameReplaceErrors() 1013 if (ucnhash_capi->getname(c, buffer, sizeof(buffer), 1)) { in PyCodec_NameReplaceErrors() 1016 strcpy((char *)outp, buffer); in PyCodec_NameReplaceErrors() 1017 outp += strlen(buffer); in PyCodec_NameReplaceErrors()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fNegativeStateApiTests.cpp | 803 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target."); in init() 827 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target."); in init() 849 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target."); in init() 1079 GLuint buffer = 0; in init() 1082 m_log << TestLog::Section("", "A name returned by glGenBuffers, but not yet associated with a buffer object by calling glBindBuffer, is not the name of a buffer object."); in init() 1083 isBuffer = glIsBuffer(buffer); in init() 1086 glGenBuffers (1, &buffer); in init() 1087 isBuffer = glIsBuffer(buffer); in init() 1090 glBindBuffer (GL_ARRAY_BUFFER, buffer); in init() [all...] |
/third_party/curl/lib/ |
H A D | ftp.c | 391 /* there is pending control data still in the buffer to read */ in ReceivedServerConnect() 707 } /* while there's buffer left and loop is requested */ in Curl_GetFTPResponse() 933 char buffer[STRERROR_LEN]; in ftp_state_use_port() local 1043 Curl_strerror(SOCKERRNO, buffer, sizeof(buffer))); in ftp_state_use_port() 1094 Curl_strerror(error, buffer, sizeof(buffer))); in ftp_state_use_port() 1120 Curl_strerror(error, buffer, sizeof(buffer))); in ftp_state_use_port() 1125 Curl_strerror(SOCKERRNO, buffer, sizeo in ftp_state_use_port() 2133 struct tm buffer; ftp_state_mdtm_resp() local 2394 char buffer[24]= { "Accept-ranges: bytes\\r\\n" }; ftp_state_rest_resp() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ComputeShaderTest.cpp | 397 // Binds a storage buffer to slot 0, then binds a storage image to slot 0, then buffer again. 465 // Test that the buffer written to by imageStore() in the CS does not race with writing to the 466 // buffer when it's mapped. 531 // Force the CS imageStore() writes to the buffer to complete. in TEST_P() 547 // Test that binds UAV with type image to slot 0, then binds UAV with type buffer to slot 0. 620 // Test that binds UAV with type image to slot 0, then binds UAV with type buffer to slot 0. 658 layout(std140, binding = 0) buffer blockOut { in TEST_P() 661 layout(std140, binding = 1) buffer blockIn { in TEST_P() 723 GLBuffer buffer; in TEST_P() local 775 GLBuffer buffer; TEST_P() local 2638 GLBuffer buffer; TEST_P() local 3561 GLuint buffer; TEST_P() local 3663 GLuint buffer; TEST_P() local 3737 GLuint buffer; TEST_P() local 3817 GLuint buffer; TEST_P() local [all...] |
/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_device_pipe_mock_test.cpp | 952 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 977 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1003 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1031 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1059 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1085 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1111 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1136 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1164 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_t &length, int32_t 1192 * @tc.desc: Test functions to BulkTransfer(const USBEndpoint &endpoint, uint8_t *buffer, uint32_ 1474 std::vector<uint8_t> buffer; HWTEST_F() local 1488 std::vector<uint8_t> buffer; HWTEST_F() local 1505 std::vector<uint8_t> buffer; HWTEST_F() local 1522 std::vector<uint8_t> buffer; HWTEST_F() local 1541 std::vector<uint8_t> buffer; HWTEST_F() local 1563 std::vector<uint8_t> buffer; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
H A D | js_canvas_renderer.cpp | 640 auto* buffer = static_cast<uint32_t*>(arrayBuffer->GetBuffer()); in JsCreateImageData() local 642 if (!buffer || (finalHeight > 0 && finalWidth > (UINT32_MAX / finalHeight))) { in JsCreateImageData() 652 buffer[idx] = 0xffffffff; in JsCreateImageData() 693 auto* buffer = static_cast<uint8_t*>(arrayBuffer->GetBuffer()); in JsPutImageData() 694 CHECK_NULL_VOID(buffer); in JsPutImageData() 701 uint8_t alpha = buffer[idx + 3]; // idx + 3: The 4th byte format: alpha in JsPutImageData() 702 uint8_t red = buffer[idx]; // idx: the 1st byte format: red in JsPutImageData() 703 uint8_t green = buffer[idx + 1]; // idx + 1: The 2nd byte format: green in JsPutImageData() 704 uint8_t blue = buffer[idx + 2]; // idx + 2: The 3rd byte format: blue in JsPutImageData() 782 auto* buffer in JsGetImageData() local [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_gzip/ |
H A D | gzip_n_exporter.cpp | 373 void *buffer = nullptr; in GZRead() local 374 tie(succ, buffer, arg->bufLen) = CommonFunc::GetGZReadArg(env, funcArg); in GZRead() 379 auto cbExec = [arg, gzipEntity, buffer](napi_env env) -> NapiBusinessError { in GZRead() 384 gzread(gzipEntity->gzs.get(), reinterpret_cast<void *>(buffer), static_cast<unsigned int>(arg->bufLen)); in GZRead() 425 void *buffer = nullptr; in GZFRead() local 426 tie(succ, buffer, arg->size, arg->nitems) = CommonFunc::GetGZFReadArg(env, funcArg); in GZFRead() 431 auto cbExec = [arg, gzipEntity, buffer](napi_env env) -> NapiBusinessError { in GZFRead() 435 arg->readLen = static_cast<int64_t>(gzfread(reinterpret_cast<void *>(buffer), in GZFRead() 912 void *buffer = nullptr; in GZGetS() local 913 tie(succ, buffer, ar in GZGetS() [all...] |
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | parse.cpp | 120 UCHARBUF *buffer; member 137 /* The nature of the lookahead buffer: 138 There are MAX_LOOKAHEAD + 1 slots, used as a circular buffer. This provides 162 state->buffer = buf; in initLookahead() 168 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in initLookahead() 217 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in getToken() 387 /* read the rules into the buffer */ in parseUCARules() 798 escape(const UChar *s, char *buffer) { in escape() argument 805 *buffer = 0; in escape() 809 *buffer in escape() 1328 icu::LocalMemory<uint8_t> buffer; addCollation() local [all...] |
/third_party/mesa3d/src/intel/common/ |
H A D | intel_batch_decoder.c | 514 fprintf(ctx->fp, "vertex buffer %d, size %d\n", index, vb_size); in handle_3dstate_vertex_buffers() 517 fprintf(ctx->fp, " buffer contents unavailable\n"); in handle_3dstate_vertex_buffers() 558 fprintf(ctx->fp, " buffer contents unavailable\n"); in handle_3dstate_index_buffer() 730 struct intel_batch_decode_bo buffer[4]; in decode_3dstate_constant_all() local 731 memset(buffer, 0, sizeof(buffer)); in decode_3dstate_constant_all() 745 buffer[idx] = ctx_get_bo(ctx, true, iter.raw_value); in decode_3dstate_constant_all() 754 if (read_length[i] == 0 || buffer[i].map == NULL) in decode_3dstate_constant_all() 758 fprintf(ctx->fp, "constant buffer %d, size %u\n", i, size); in decode_3dstate_constant_all() 760 ctx_print_buffer(ctx, buffer[ in decode_3dstate_constant_all() 797 struct intel_batch_decode_bo buffer = ctx_get_bo(ctx, true, read_addr[i]); decode_3dstate_constant() local 832 struct intel_batch_decode_bo buffer = ctx_get_bo(ctx, true, read_addr); decode_gfx4_constant_buffer() local [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.c | 598 ringbuf->buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_init() 599 if (ringbuf->buffer == NULL) { in hd_ringbuf_init() 611 return ringbuf->buffer[(ringbuf->first + idx) & ringbuf->mask]; in hd_ringbuf_get() 618 nghttp2_hd_entry **buffer; in hd_ringbuf_reserve() local 625 buffer = nghttp2_mem_malloc(mem, sizeof(nghttp2_hd_entry *) * size); in hd_ringbuf_reserve() 626 if (buffer == NULL) { in hd_ringbuf_reserve() 630 buffer[i] = hd_ringbuf_get(ringbuf, i); in hd_ringbuf_reserve() 632 nghttp2_mem_free(mem, ringbuf->buffer); in hd_ringbuf_reserve() 633 ringbuf->buffer = buffer; in hd_ringbuf_reserve() [all...] |
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | parse.cpp | 120 UCHARBUF *buffer; member 137 /* The nature of the lookahead buffer: 138 There are MAX_LOOKAHEAD + 1 slots, used as a circular buffer. This provides 162 state->buffer = buf; in initLookahead() 168 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in initLookahead() 217 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status); in getToken() 387 /* read the rules into the buffer */ in parseUCARules() 798 escape(const char16_t *s, char *buffer, size_t n) { in escape() argument 805 *buffer = 0; in escape() 809 *buffer in escape() 1328 icu::LocalMemory<uint8_t> buffer; addCollation() local [all...] |