| /third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
| H A D | glx_api.c | 2031 int width = 0, height = 0; in glXCreatePbuffer() local 2101 GLuint width, height; in glXQueryDrawable() local 1440 glXCopySubBufferMESA(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height) glXCopySubBufferMESA() argument 2397 glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attribList) glXCreateGLXPbufferSGIX() argument [all...] |
| /third_party/mesa3d/src/gallium/include/pipe/ |
| H A D | p_state.h | 403 uint16_t width, height; member 465 uint16_t width; /**< logical width in pixels */ member 546 int width; member
|
| /third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
| H A D | spirv_builder.c | 1258 spirv_builder_type_int(struct spirv_builder *b, unsigned width) in spirv_builder_type_int() argument 1265 spirv_builder_type_uint(struct spirv_builder *b, unsigned width) in spirv_builder_type_uint() argument 1278 spirv_builder_type_float(struct spirv_builder *b, unsigned width) in spirv_builder_type_float() argument 1490 spirv_builder_const_int(struct spirv_builder *b, int width, int64_t val) spirv_builder_const_int() argument 1501 spirv_builder_const_uint(struct spirv_builder *b, int width, uint64_t val) spirv_builder_const_uint() argument 1518 spirv_builder_spec_const_uint(struct spirv_builder *b, int width) spirv_builder_spec_const_uint() argument 1525 spirv_builder_const_float(struct spirv_builder *b, int width, double val) spirv_builder_const_float() argument [all...] |
| /third_party/mesa3d/src/intel/blorp/ |
| H A D | blorp_blit.c | 2785 blorp_surf_convert_to_uncompressed(const struct isl_device *isl_dev, struct brw_blorp_surface_info *info, uint32_t *x, uint32_t *y, uint32_t *width, uint32_t *height) blorp_surf_convert_to_uncompressed() argument 3068 do_buffer_copy(struct blorp_batch *batch, struct blorp_address *src, struct blorp_address *dst, int width, int height, int block_size) do_buffer_copy() argument [all...] |
| /third_party/mesa3d/src/mesa/main/ |
| H A D | fbobject.c | 2691 _mesa_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei samples, GLsizei storageSamples) _mesa_renderbuffer_storage() argument 2759 renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei samples, GLsizei storageSamples, const char *func) renderbuffer_storage() argument 2824 renderbuffer_storage_named(GLuint renderbuffer, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei samples, GLsizei storageSamples, const char *func) renderbuffer_storage_named() argument 2861 renderbuffer_storage_target(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei samples, GLsizei storageSamples, const char *func) renderbuffer_storage_target() argument 2956 _mesa_RenderbufferStorage(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height) _mesa_RenderbufferStorage() argument 2969 _mesa_RenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height) _mesa_RenderbufferStorageMultisample() argument 2980 _mesa_RenderbufferStorageMultisampleAdvancedAMD( GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalFormat, GLsizei width, GLsizei height) _mesa_RenderbufferStorageMultisampleAdvancedAMD() argument 2991 _mesa_NamedRenderbufferStorage(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) _mesa_NamedRenderbufferStorage() argument 3003 _mesa_NamedRenderbufferStorageEXT(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) _mesa_NamedRenderbufferStorageEXT() argument 3020 _mesa_NamedRenderbufferStorageMultisample(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) _mesa_NamedRenderbufferStorageMultisample() argument 3031 _mesa_NamedRenderbufferStorageMultisampleEXT(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) _mesa_NamedRenderbufferStorageMultisampleEXT() argument 3050 _mesa_NamedRenderbufferStorageMultisampleAdvancedAMD( GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height) _mesa_NamedRenderbufferStorageMultisampleAdvancedAMD() argument 5159 invalidate_framebuffer_storage(struct gl_context *ctx, struct gl_framebuffer *fb, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height, const char *name) invalidate_framebuffer_storage() argument 5397 _mesa_InvalidateSubFramebuffer_no_error(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) _mesa_InvalidateSubFramebuffer_no_error() argument 5406 _mesa_InvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) _mesa_InvalidateSubFramebuffer() argument 5428 _mesa_InvalidateNamedFramebufferSubData(GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) _mesa_InvalidateNamedFramebufferSubData() argument [all...] |
| H A D | get.c | 1326 GLuint bits, width, height; in find_custom_value() local
|
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | dtptngen.cpp | 976 UDateTimePGDisplayWidth width; variable 993 U_ASSERT(i < 20); if (i < 10) { valueStr += (char16_t)(i+0x30); } else { valueStr += (char16_t)0x31; valueStr += (char16_t)(i-10 + 0x30); } valueStr.getTerminatedBuffer(); } for (int32_t j = 1; j < UDATPG_WIDTH_COUNT; j++) { UnicodeString& valueStr2 = dtpg.getMutableFieldDisplayName((UDateTimePatternField)i, (UDateTimePGDisplayWidth)j); if (valueStr2.isEmpty()) { valueStr2 = dtpg.getFieldDisplayName((UDateTimePatternField)i, (UDateTimePGDisplayWidth)(j-1)); } } } } }; struct DateTimePatternGenerator::AvailableFormatsSink : public ResourceSink { DateTimePatternGenerator& dtpg; UnicodeString conflictingPattern; AvailableFormatsSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} virtual ~AvailableFormatsSink(); virtual void put(const char *key, ResourceValue &value, UBool , UErrorCode &errorCode) override { const UnicodeString formatKey(key, -1, US_INV); if (!dtpg.isAvailableFormatSet(formatKey) ) { dtpg.setAvailableFormat(formatKey, errorCode); const UnicodeString& formatValue = value.getUnicodeString(errorCode); conflictingPattern.remove(); dtpg.addPatternWithSkeleton(formatValue, &formatKey, true, conflictingPattern, errorCode); } } }; DateTimePatternGenerator::AppendItemFormatsSink::~AppendItemFormatsSink() {} DateTimePatternGenerator::AppendItemNamesSink::~AppendItemNamesSink() {} DateTimePatternGenerator::AvailableFormatsSink::~AvailableFormatsSink() {} void DateTimePatternGenerator::addCLDRData(const Locale& locale, UErrorCode& errorCode) { if (U_FAILURE(errorCode)) { return; } UnicodeString rbPattern, value, field; CharString path; LocalUResourceBundlePointer rb(ures_open(nullptr, locale.getName(), &errorCode)); if (U_FAILURE(errorCode)) { return; } CharString calendarTypeToUse; getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); if (U_FAILURE(errorCode)) { return; } UErrorCode err = U_ZERO_ERROR; AppendItemFormatsSink appendItemFormatsSink(*this); path.clear() .append(DT_DateTimeCalendarTag, errorCode) .append(�, errorCode) .append(calendarTypeToUse, errorCode) .append(�, errorCode) .append(DT_DateTimeAppendItemsTag, errorCode); if (U_FAILURE(errorCode)) { return; } ures_getAllChildrenWithFallback(rb.getAlias(), path.data(), appendItemFormatsSink, err); appendItemFormatsSink.fillInMissing(); err = U_ZERO_ERROR; AppendItemNamesSink appendItemNamesSink(*this); ures_getAllChildrenWithFallback(rb.getAlias(), DT_DateTimeFieldsTag, appendItemNamesSink, err); appendItemNamesSink.fillInMissing(); err = U_ZERO_ERROR; initHashtable(errorCode); if (U_FAILURE(errorCode)) { return; } AvailableFormatsSink availableFormatsSink(*this); path.clear() .append(DT_DateTimeCalendarTag, errorCode) .append(�, errorCode) .append(calendarTypeToUse, errorCode) .append(�, errorCode) .append(DT_DateTimeAvailableFormatsTag, errorCode); if (U_FAILURE(errorCode)) { return; } ures_getAllChildrenWithFallback(rb.getAlias(), path.data(), availableFormatsSink, err); } void DateTimePatternGenerator::initHashtable(UErrorCode& err) { if (U_FAILURE(err)) { return; } if (fAvailableFormatKeyHash!=nullptr) { return; } LocalPointer<Hashtable> hash(new Hashtable(false, err), err); if (U_SUCCESS(err)) { fAvailableFormatKeyHash = hash.orphan(); } } void DateTimePatternGenerator::setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value) { appendItemFormats[field] = value; appendItemFormats[field].getTerminatedBuffer(); } const UnicodeString& DateTimePatternGenerator::getAppendItemFormat(UDateTimePatternField field) const { return appendItemFormats[field]; } void DateTimePatternGenerator::setAppendItemName(UDateTimePatternField field, const UnicodeString& value) { setFieldDisplayName(field, UDATPG_WIDTH_APPENDITEM, value); } const UnicodeString& DateTimePatternGenerator::getAppendItemName(UDateTimePatternField field) const { return fieldDisplayNames[field][UDATPG_WIDTH_APPENDITEM]; } void DateTimePatternGenerator::setFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width, const UnicodeString& value) { fieldDisplayNames[field][width] = value; fieldDisplayNames[field][width].getTerminatedBuffer(); } UnicodeString DateTimePatternGenerator::getFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width) const { return fieldDisplayNames[field][width]; } UnicodeString& DateTimePatternGenerator::getMutableFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width) { return fieldDisplayNames[field][width]; } void DateTimePatternGenerator::getAppendName(UDateTimePatternField field, UnicodeString& value) { value = SINGLE_QUOTE; value += fieldDisplayNames[field][UDATPG_WIDTH_APPENDITEM]; value += SINGLE_QUOTE; } UnicodeString DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UErrorCode& status) { return getBestPattern(patternForm, UDATPG_MATCH_NO_OPTIONS, status); } UnicodeString DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UDateTimePatternMatchOptions options, UErrorCode& status) { if (U_FAILURE(status)) { return UnicodeString(); } if (U_FAILURE(internalErrorCode)) { status = internalErrorCode; return UnicodeString(); } const UnicodeString *bestPattern = nullptr; UnicodeString dtFormat; UnicodeString resultPattern; int32_t flags = kDTPGNoFlags; int32_t dateMask=(1<<UDATPG_DAYPERIOD_FIELD) - 1; int32_t timeMask=(1<<UDATPG_FIELD_COUNT) - 1 - dateMask; UnicodeString patternFormMapped = mapSkeletonMetacharacters(patternForm, &flags, status); if (U_FAILURE(status)) { return UnicodeString(); } resultPattern.remove(); dtMatcher->set(patternFormMapped, fp); const PtnSkeleton* specifiedSkeleton = nullptr; bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, status, &specifiedSkeleton); if (U_FAILURE(status)) { return UnicodeString(); } if ( distanceInfo->missingFieldMask==0 && distanceInfo->extraFieldMask==0 ) { resultPattern = adjustFieldTypes(*bestPattern, specifiedSkeleton, flags, options); return resultPattern; } int32_t neededFields = dtMatcher->getFieldMask(); UnicodeString datePattern=getBestAppending(neededFields & dateMask, flags, status, options); UnicodeString timePattern=getBestAppending(neededFields & timeMask, flags, status, options); if (U_FAILURE(status)) { return UnicodeString(); } if (datePattern.length()==0) { if (timePattern.length()==0) { resultPattern.remove(); } else { return timePattern; } } if (timePattern.length()==0) { return datePattern; } resultPattern.remove(); status = U_ZERO_ERROR; PtnSkeleton* reqSkeleton = dtMatcher->getSkeletonPtr(); UDateFormatStyle style = UDAT_SHORT; int32_t monthFieldLen = reqSkeleton->baseOriginal.getFieldLength(UDATPG_MONTH_FIELD); if (monthFieldLen == 4) { if (reqSkeleton->baseOriginal.getFieldLength(UDATPG_WEEKDAY_FIELD) > 0) fillInMissing() argument [all...] |
| H A D | dtfmtsym.cpp | 890 setYearNames(const UnicodeString* yearNames, int32_t count, DtContextType context, DtWidthType width) setYearNames() argument 912 setZodiacNames(const UnicodeString* zodiacNames, int32_t count, DtContextType context, DtWidthType width) setZodiacNames() argument 998 setMonths(const UnicodeString* monthsArray, int32_t count, DtContextType context, DtWidthType width) setMonths() argument 1092 setWeekdays(const UnicodeString* weekdaysArray, int32_t count, DtContextType context, DtWidthType width) setWeekdays() argument 1173 setQuarters(const UnicodeString* quartersArray, int32_t count, DtContextType context, DtWidthType width) setQuarters() argument [all...] |
| /third_party/mesa3d/src/nouveau/codegen/ |
| H A D | nv50_ir_peephole.cpp | 694 int width = (b->data.u32 >> 8) & 0xff; in expr() local 818 int width = (b->data.u32 >> 8) & 0xff; in expr() local 2181 unsigned width, offset = 0; in handleCVT_EXTBF() local [all...] |
| /third_party/libinput/src/ |
| H A D | evdev.c | 391 evdev_device_transform_x(struct evdev_device *device, double x, uint32_t width) evdev_device_transform_x() argument 2711 evdev_device_get_size(const struct evdev_device *device, double *width, double *height) evdev_device_get_size() argument
|
| H A D | evdev-mt-touchpad.c | 3346 double width, height; in tp_init_palmdetect_edge() local
|
| /third_party/ltp/tools/sparse/sparse-src/ |
| H A D | evaluate.c | 157 int width = type->bit_size; in integer_promotion() local
|
| /third_party/node/deps/v8/src/compiler/backend/arm/ |
| H A D | instruction-selector-arm.cc | 986 uint32_t width = base::bits::CountPopulation(value); in VisitWord32And() local 98 VisitSimdShiftRRR(InstructionSelector* selector, ArchOpcode opcode, Node* node, int width) VisitSimdShiftRRR() argument 955 EmitUbfx(InstructionSelector* selector, Node* node, Node* left, uint32_t lsb, uint32_t width) EmitUbfx() argument 1165 uint32_t width = base::bits::CountPopulation(value); VisitWord32Shr() local [all...] |
| /third_party/node/deps/v8/src/compiler/backend/s390/ |
| H A D | instruction-selector-s390.cc | 2167 VisitAtomicExchange(InstructionSelector* selector, Node* node, ArchOpcode opcode, AtomicWidth width) VisitAtomicExchange() argument 2223 VisitAtomicCompareExchange(InstructionSelector* selector, Node* node, ArchOpcode opcode, AtomicWidth width) VisitAtomicCompareExchange() argument 2291 VisitAtomicBinop(InstructionSelector* selector, Node* node, ArchOpcode opcode, AtomicWidth width) VisitAtomicBinop() argument
|
| /third_party/mesa3d/src/gallium/auxiliary/draw/ |
| H A D | draw_llvm.h | 52 uint32_t width; member 95 uint32_t width; member
|
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_sample.c | 1560 LLVMValueRef width; in lp_build_unnormalized_coords() local [all...] |
| /third_party/mesa3d/src/gallium/auxiliary/util/ |
| H A D | u_blitter.c | 947 blitter_set_dst_dimensions(struct blitter_context_priv *ctx, unsigned width, unsigned height) blitter_set_dst_dimensions() argument 1510 util_blitter_common_clear_setup(struct blitter_context *blitter, unsigned width, unsigned height, unsigned clear_buffers, void *custom_blend, void *custom_dsa) util_blitter_common_clear_setup() argument 1548 util_blitter_clear_custom(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_layers, unsigned clear_buffers, const union pipe_color_union *color, double depth, unsigned stencil, void *custom_blend, void *custom_dsa, bool msaa) util_blitter_clear_custom() argument 1612 util_blitter_clear(struct blitter_context *blitter, unsigned width, unsigned height, unsigned num_layers, unsigned clear_buffers, const union pipe_color_union *color, double depth, unsigned stencil, bool msaa) util_blitter_clear() argument 1624 util_blitter_custom_clear_depth(struct blitter_context *blitter, unsigned width, unsigned height, double depth, void *custom_dsa) util_blitter_custom_clear_depth() argument 2379 util_blitter_clear_render_target(struct blitter_context *blitter, struct pipe_surface *dstsurf, const union pipe_color_union *color, unsigned dstx, unsigned dsty, unsigned width, unsigned height) util_blitter_clear_render_target() argument 2446 util_blitter_clear_depth_stencil(struct blitter_context *blitter, struct pipe_surface *dstsurf, unsigned clear_flags, double depth, unsigned stencil, unsigned dstx, unsigned dsty, unsigned width, unsigned height) util_blitter_clear_depth_stencil() argument [all...] |
| /third_party/mesa3d/src/gallium/drivers/r600/ |
| H A D | r600_state.c | 676 unsigned width, height, depth, offset_level, last_level; in r600_create_sampler_view_custom() local
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
| H A D | vktApiExternalMemoryTests.cpp | 4322 const deUint32 width = 64u; in testImageBindExportImportBind() local 4368 const deUint32 width = 64u; in testImageExportBindImportBind() local 4422 const deUint32 width = 64u; in testImageExportImportBindBind() local 4909 deUint32 width; testAndroidHardwareBufferImageFormat() member 5230 deUint32 width; testOHOSNativeBufferImageFormat() member [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
| H A D | vktBindingDescriptorUpdateASTests.cpp | 93 deUint32 width; member 385 const deUint32 width = m_testParams.width; in iterate() local 609 const deUint32 width = testParams.width; in verify() local 213 makeImageCreateInfo(VkFormat format, deUint32 width, deUint32 height, deUint32 depth, VkImageType imageType = VK_IMAGE_TYPE_3D, VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT) makeImageCreateInfo() argument 1071 const deUint32 width = m_testParams.width; initVertexBuffer() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
| H A D | vktDrawMultiExtTests.cpp | 165 TriangleMosaicGenerator (deUint32 width, deUint32 height) in TriangleMosaicGenerator() argument 208 TriangleOverlapGenerator (deUint32 width, deUint32 height) in TriangleOverlapGenerator() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
| H A D | vktAttachmentRateTests.cpp | 197 deUint32 width; member 429 void AttachmentRateInstance::buildShadingRateObjects (VkDevice device, const DeviceInterface& vk, vk::Allocator& allocator, deUint32 srIndex, deUint32 width, deUint32 height, VkImageUsageFlags srUsage, VkImageTiling srTiling) in buildShadingRateObjects() argument 359 buildImageWithMemory(VkDevice device, const DeviceInterface& vk, vk::Allocator& allocator, VkFormat format, deUint32 width, deUint32 height, VkImageUsageFlags usage, VkImageTiling tiling, std::vector<deUint32> queueFamilies) buildImageWithMemory() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
| H A D | vktImageHostImageCopyTests.cpp | 284 void HostImageCopyTestInstance::copyMemoryToImage (const std::vector<deUint8> testData, vk::VkImage image, deUint32 texelSize, const vk::VkImageSubresourceLayers subresourceLayers, deInt32 xOffset, deInt32 yOffset, deUint32 width, deUint32 height) in copyMemoryToImage() argument 699 deUint32 width = deMaxu32(randomGen.getUint32() % (mipImageSize.width / 2), 1u); iterate() local [all...] |
| H A D | vktImageLoadStoreTests.cpp | 2207 const deInt32 width = texture.size().x(); in ImageExtendOperandTestInstance() local 2346 void clearHighBits (const tcu::PixelBufferAccess& pixels, int width, int height) in clearHighBits() argument 2364 const deInt32 width = inputAccess.getWidth(); in verifyResult() local 2366 tcu::TextureLevel refImage (mapVkFormat(m_imageDstFormat), width, heigh in verifyResult() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
| H A D | vktMeshShaderMiscTests.cpp | 97 uint32_t width; member [all...] |