/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | plurrule.cpp | 1915 char buffer[20]; 1918 snprintf(buffer, sizeof(buffer), pattern, source, exponent); 1921 snprintf(buffer, sizeof(buffer), pattern, source); 1923 return UnicodeString(buffer, -1, US_INV);
|
H A D | usearch.cpp | 727 * @param patternceindex index of the ce within the pattern ce buffer which 850 UChar buffer[INITIAL_ARRAY_SIZE_]; in checkExtraMatchAccents() local 852 buffer, INITIAL_ARRAY_SIZE_, in checkExtraMatchAccents() 871 norm = buffer; in checkExtraMatchAccents() 890 if (norm != buffer) { in checkExtraMatchAccents() 946 // within normalization buffer, discontiguous handled here in hasAccentsBeforeMatch() 1175 // all characters till the first safe character into the buffer. in checkNextExactContractionMatch() 1190 // are in the normalization buffer, hasAccentsBeforeMatch would in checkNextExactContractionMatch() 1194 // have to skip the first ce in the expansion buffer. in checkNextExactContractionMatch() 1475 UChar buffer[INITIAL_ARRAY_SIZE in doNextCanonicalPrefixMatch() local 2177 UChar buffer[INITIAL_ARRAY_SIZE_]; doPreviousCanonicalSuffixMatch() local [all...] |
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_vulkan.cpp | 27 // 2021-03-22: Vulkan: Fix mapped memory validation error when buffer sizes are not multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize. 28 // 2021-02-18: Vulkan: Change blending equation to preserve alpha in output buffer. 40 // 2019-04-01: Vulkan: Support for 32-bit index buffer (#define ImDrawIdx unsigned int). 51 // 2017-05-15: Vulkan: Fix scissor offset being negative. Fix new Vulkan validation warnings. Set required depth member for buffer image copy. 54 // 2016-08-27: Vulkan: Fix Vulkan example for use when a depth buffer is active. 340 static void CreateOrResizeBuffer(VkBuffer& buffer, VkDeviceMemory& buffer_memory, VkDeviceSize& p_buffer_size, size_t new_size, VkBufferUsageFlagBits usage) in CreateOrResizeBuffer() argument 345 if (buffer != VK_NULL_HANDLE) in CreateOrResizeBuffer() 346 vkDestroyBuffer(v->Device, buffer, v->Allocator); in CreateOrResizeBuffer() 356 err = vkCreateBuffer(v->Device, &buffer_info, v->Allocator, &buffer); in CreateOrResizeBuffer() 360 vkGetBufferMemoryRequirements(v->Device, buffer, in CreateOrResizeBuffer() [all...] |
/third_party/toybox/toys/pending/ |
H A D | fdisk.c | 180 static int validate_part_buff(char *buffer) in validate_part_buff() argument 182 if ((buffer[510] != 0x55) || (buffer[511] != 0xAA)) return 0; in validate_part_buff() 1444 char *name = toybuf, *buffer = toybuf + ONE_K, *device = toybuf + 2048; in read_and_print_parts() local 1447 while (fgets(buffer, ONE_K, fp)) { in read_and_print_parts() 1451 if (sscanf(buffer, " %u %u %u %[^\n ]", &ma, &mi, &sz, name) != 4) in read_and_print_parts()
|
/third_party/python/Modules/_sre/ |
H A D | sre.c | 379 /* Unicode objects do not support the buffer API. So, get the data in getstring() 390 /* get pointer to byte string buffer */ in getstring() 430 state->buffer.buf = NULL; in state_init() 431 ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer); in state_init() 479 if (state->buffer.buf) in state_init() 480 PyBuffer_Release(&state->buffer); in state_init() 487 if (state->buffer.buf) in state_fini() 488 PyBuffer_Release(&state->buffer); in state_fini()
|
/third_party/skia/third_party/externals/angle2/include/EGL/ |
H A D | eglext.h | 189 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 192 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 518 typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) (const struct AHardwareBuffer *buffer); 520 EGLAPI EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer); 1397 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); 1401 EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureLevelStateQueryTests.cpp | 475 // whole buffer in generateColorTextureGenerationGroup() 484 texGen.description = glu::getTextureTargetStr(target).toString() + ", whole buffer"; in generateColorTextureGenerationGroup() 499 // partial buffer in generateColorTextureGenerationGroup() 508 texGen.description = glu::getTextureTargetStr(target).toString() + ", partial buffer"; in generateColorTextureGenerationGroup() 774 static const deUint8 buffer[64 * 8] = { 0 }; in applyTextureGenerationSpec() local 775 gl.glCompressedTexImage2D(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNdx].height, 0, sizeof(buffer), buffer); in applyTextureGenerationSpec() 784 static const deUint8 buffer[64 * 8 * 2] = { 0 }; in applyTextureGenerationSpec() local 785 gl.glCompressedTexImage3D(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNdx].height, spec.levels[levelNdx].depth, 0, sizeof(buffer), buffer); in applyTextureGenerationSpec() [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglWideColorTests.cpp | 172 // generate sources for vertex and fragment buffer 1041 deUint32 buffer[16]; in testPixels() local 1042 readPixels(m_gl, buffer); in testPixels() 1046 pixels[0] = buffer[0] & 0x3ff; in testPixels() 1047 pixels[1] = (buffer[0] >> 10) & 0x3ff; in testPixels() 1048 pixels[2] = (buffer[0] >> 20) & 0x3ff; in testPixels() 1049 pixels[3] = (buffer[0] >> 30) & 0x3; in testPixels() 1213 // reset buffer contents so that we know render below did something in doClearTest()
|
/third_party/node/deps/v8/src/execution/arm/ |
H A D | simulator-arm.cc | 199 // use a reasonably large buffer in Debug() 200 v8::base::EmbeddedVector<char, 256> buffer; in Debug() local 201 dasm.InstructionDecode(buffer, reinterpret_cast<byte*>(sim_->get_pc())); in Debug() 202 PrintF(" 0x%08x %s\n", sim_->get_pc(), buffer.begin()); in Debug() 372 // use a reasonably large buffer in ExecDebugCommand() 373 v8::base::EmbeddedVector<char, 256> buffer; in ExecDebugCommand() local 412 cur += dasm.InstructionDecode(buffer, cur); in ExecDebugCommand() 414 buffer.begin()); in ExecDebugCommand() 719 // some buffer below. in Simulator() 776 char buffer[ in get_double_from_register_pair() local 6132 v8::base::EmbeddedVector<char, 256> buffer; InstructionDecode() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtmpproto.c | 92 uint8_t* flv_data; ///< buffer with data for demuxer 93 int flv_size; ///< current buffer size 94 int flv_off; ///< number of bytes read from current buffer 119 int client_buffer_time; ///< client buffer time in ms 122 TrackedMethod*tracked_methods; ///< tracked methods buffer 124 int tracked_methods_size; ///< size of the tracked methods buffer 478 ret = ff_amf_get_field_value(gbc.buffer, in read_connect() 479 gbc.buffer + bytestream2_get_bytes_left(&gbc), in read_connect() 743 * Generate client buffer time and send it to the server. 1422 uint8_t buffer[RTMP_HANDSHAKE_PACKET_SIZ in rtmp_server_handshake() local [all...] |
H A D | oggparseogm.c | 124 ff_vorbis_stream_comment(s, st, p.buffer, bytestream2_get_bytes_left(&p) - 1); in ogm_header()
|
/third_party/cups-filters/cupsfilters/ |
H A D | ppdgenerator.c | 178 size_t size) /* I - Size of destination string buffer */ in strlcpy() 211 char *bufend, /* I - End of string buffer */ in _cupsStrFormatd() 215 char *bufptr, /* Pointer into buffer */ in _cupsStrFormatd() 368 buffer */ in get_url() 1538 ppdCreateFromIPP (char *buffer, /* I - Filename buffer */ in ppdCreateFromIPP() argument 1540 buffer */ in ppdCreateFromIPP() 1552 return ppdCreateFromIPP2(buffer, bufsize, response, make_model, pdl, in ppdCreateFromIPP() 1563 ppdCreateFromIPP2(char *buffer, /* I - Filename buffer */ in ppdCreateFromIPP2() argument [all...] |
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | doio.c | 75 #include <sys/ipc.h> /* for i/o buffer in shared memory */ 76 #include <sys/shm.h> /* for i/o buffer in shared memory */ 249 int M_opt = 0; /* data buffer allocation types */ 300 char *Memptr; /* ptr to core buffer space */ 320 char *format_rw(struct io_req *ioreq, int fd, void *buffer, 323 char *format_sds(struct io_req *ioreq, void *buffer, int sds char *pattern); 1281 char *format_rw(struct io_req *ioreq, int fd, void *buffer, int signo, in format_rw() argument 1300 fd, (unsigned long)buffer, readp->r_nbytes); in format_rw() 1312 fd, (unsigned long)buffer, writep->r_nbytes); in format_rw() 1327 fd, (unsigned long)buffer, reada in format_rw() 1368 format_sds(struct io_req *ioreq, void *buffer, int sds, char *pattern) format_sds() argument [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | creststn.c | 721 const UChar* buffer = ucbuf_getBuffer(ucbuf,&len,&status); in TestNewTypes() local 731 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes() 759 const UChar* buffer = ucbuf_getBuffer(ucbuf,&len,&status); in TestNewTypes() local 765 if(u_strncmp(str, buffer,strLen)!=0){ in TestNewTypes() 2230 char buffer[100]; in TestResourceLevelAliasing() local 2308 strcpy(buffer, "menu/file/open"); in TestResourceLevelAliasing() 2309 s = buffer; in TestResourceLevelAliasing() 2436 char buffer[100]; in TestDirectAccess() local 2484 strcpy(buffer, "Languages/hr"); in TestDirectAccess() 2485 s = buffer; in TestDirectAccess() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcViewportArrayTests.cpp | 55 Utils::buffer::buffer(deqp::Context& context) : m_id(0), m_context(context), m_target(0) in buffer() function in glcts::ViewportArray::Utils::buffer 62 Utils::buffer::~buffer() in ~buffer() 76 void Utils::buffer::bind() const in bind() 90 void Utils::buffer::bindRange(glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size) in bindRange() 100 * @param target Target that will be used by this buffer 102 void Utils::buffer::generate(glw::GLenum target) in generate() 112 /** Maps buffer content 118 void* Utils::buffer [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | loctest.cpp | 1319 // The currency keyword value is as long as the destination buffer. in TestEuroSupport() 4048 char buffer[256]; in TestKeywordVariantParsing() local 4051 *buffer = 0; in TestKeywordVariantParsing() 4053 resultLen = l.getKeywordValue(testCases[i].keyword, buffer, 256, status); in TestKeywordVariantParsing() 4055 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing() 4057 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); in TestKeywordVariantParsing() 4216 char buffer[256]; in TestSetKeywordValue() local 4226 *buffer = 0; in TestSetKeywordValue() 4227 resultLen = l.getKeywordValue(testCases[i].keyword, buffer, 256, status); in TestSetKeywordValue() 4229 if(uprv_strcmp(testCases[i].value, buffer) ! in TestSetKeywordValue() 5378 char buffer[50]; TestGetVariantWithKeywords() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkImageUtil.cpp | 3342 // \note There is no standard interleaved memory layout for DS formats; buffer-image copies 4282 //! Get a format that matches the layout in buffer memory used for a 4283 //! buffer<->image copy on a depth/stencil format. 4307 //! Get a format that matches the layout in buffer memory used for a 4308 //! buffer<->image copy on a depth/stencil format. 4368 const VkBuffer& buffer, 4380 // Barriers for copying buffer to image 4389 buffer, // VkBuffer buffer; 4434 // Copy buffer t [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
H A D | ReactorUnitTests.cpp | 3013 float buffer[16] = { 0 }; 3015 constexpr auto elemSize = sizeof(buffer[0]); 3029 entry(buffer, val, offsets); 3031 EXPECT_EQ(buffer[offsets[0] / sizeof(buffer[0])], 10); 3032 EXPECT_EQ(buffer[offsets[1] / sizeof(buffer[0])], 60); 3033 EXPECT_EQ(buffer[offsets[2] / sizeof(buffer[0])], 110); 3034 EXPECT_EQ(buffer[offset [all...] |
/test/xts/acts/graphic/graphicnapitest/ |
H A D | ProducerSurfaceTest.cpp | 54 static inline GSError OnBufferRelease(sptr<SurfaceBuffer> &buffer) in OnBufferRelease() argument
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/ |
H A D | common.h | 58 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/ |
H A D | test_display.h | 149 int32_t SaveYUV(char* type, unsigned char* buffer, int32_t size);
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/ |
H A D | common.h | 57 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
|
/third_party/ffmpeg/libavcodec/ |
H A D | nvdec_vp9.c | 31 static int nvdec_vp9_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) in nvdec_vp9_start_frame() argument
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | bswapdsp.asm | 2 ;* optimized bswap buffer functions
|
/third_party/ffmpeg/libavutil/ |
H A D | opt.h | 878 * @param[out] buffer Pointer to buffer that will be allocated with string containg serialized options. 885 int av_opt_serialize(void *obj, int opt_flags, int flags, char **buffer,
|