Home
last modified time | relevance | path

Searched defs:width (Results 3326 - 3350 of 3655) sorted by relevance

1...<<131132133134135136137138139140>>...147

/third_party/backends/backend/
H A Dhs2p-scsi.h421 SANE_Byte width[4]; /* in pixels based on basic resolution. Set to 4787 (12B3H) */ member
827 SANE_Byte width[4]; member
870 SANE_Byte width[4]; /* 14-17: Window Width */ member
H A Dmustek.c1971 SANE_Int tlx, tly, width, height; in set_window_se() local
6152 double width, height, dpi; in sane_get_parameters() local
[all...]
H A Dpie.c3447 double width, length, x_dpi, y_dpi; in sane_get_parameters() local
H A Dumax.c2443 unsigned int width = 0; in umax_do_calibration() local
7187 double width, length, x_dpi, y_dpi; sane_get_parameters() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateTimePatternGenerator.java1452 setFieldDisplayName(int field, DisplayWidth width, String value) setFieldDisplayName() argument
1468 getFieldDisplayName(int field, DisplayWidth width) getFieldDisplayName() argument
[all...]
/third_party/NuttX/drivers/usbdev/gadget/
H A Df_uvc.h822 uint32_t width; member
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberFormatTest.java2838 public void expectPad(DecimalFormat fmt, final String pat, int pos, int width, final char pad) { in expectPad() argument
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java2835 public void expectPad(DecimalFormat fmt, final String pat, int pos, int width, final char pad) { in expectPad() argument
/third_party/icu/icu4c/source/i18n/
H A Ddtptngen.cpp984 UDateTimePGDisplayWidth width; variable
1001 U_ASSERT(i < 20); if (i < 10) { valueStr += (UChar)(i+0x30); } else { valueStr += (UChar)0x31; valueStr += (UChar)(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 isRoot, 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, !isRoot, 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 Ddtfmtsym.cpp882 setYearNames(const UnicodeString* yearNames, int32_t count, DtContextType context, DtWidthType width) setYearNames() argument
904 setZodiacNames(const UnicodeString* zodiacNames, int32_t count, DtContextType context, DtWidthType width) setZodiacNames() argument
990 setMonths(const UnicodeString* monthsArray, int32_t count, DtContextType context, DtWidthType width) setMonths() argument
1084 setWeekdays(const UnicodeString* weekdaysArray, int32_t count, DtContextType context, DtWidthType width) setWeekdays() argument
1165 setQuarters(const UnicodeString* quartersArray, int32_t count, DtContextType context, DtWidthType width) setQuarters() argument
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_surface.c990 unsigned width = align(surf->u.legacy.level[0].nblk_x, cl_width * 8); in ac_compute_cmask() local
1570 ac_modifier_max_extent(const struct radeon_info *info, uint64_t modifier, uint32_t *width, uint32_t *height) ac_modifier_max_extent() argument
[all...]
/third_party/libdrm/intel/
H A Dintel_bufmgr_gem.c2291 drm_intel_gem_bo_aub_dump_bmp(drm_intel_bo *bo, int x1, int y1, int width, int height, enum aub_dump_bmp_format format, int pitch, int offset) drm_intel_gem_bo_aub_dump_bmp() argument
/third_party/mesa3d/src/egl/drivers/dri2/
H A Degl_dri2.c216 const int width = dri2_surf->base.Width; in dri2_put_image() local
254 const int width = dri2_surf->base.Width; in dri2_get_image() local
2098 dri2_post_sub_buffer(_EGLDisplay *disp, _EGLSurface *surf, EGLint x, EGLint y, EGLint width, EGLint height) dri2_post_sub_buffer() argument
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_clear_blit.c243 r2d_src_buffer(struct tu_cmd_buffer *cmd, struct tu_cs *cs, enum pipe_format format, uint64_t va, uint32_t pitch, uint32_t width, uint32_t height, enum pipe_format dst_format) r2d_src_buffer() argument
979 r3d_src_buffer(struct tu_cmd_buffer *cmd, struct tu_cs *cs, enum pipe_format format, uint64_t va, uint32_t pitch, uint32_t width, uint32_t height, enum pipe_format dst_format) r3d_src_buffer() argument
1668 copy_compressed(VkFormat format, VkOffset3D *offset, VkExtent3D *extent, uint32_t *width, uint32_t *height) copy_compressed() argument
2109 uint32_t width = MIN2(MIN2(blocks, 0x4000 - src_x), 0x4000 - dst_x); copy_buffer() local
2187 uint32_t width = MIN2(blocks, 0x4000 - dst_x); tu_CmdFillBuffer() local
[all...]
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dglx_api.c2031 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 Dp_state.h403 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 Dspirv_builder.c1258 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 Dblorp_blit.c2785 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 Dfbobject.c2691 _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 Dget.c1326 GLuint bits, width, height; in find_custom_value() local
/third_party/node/deps/icu-small/source/i18n/
H A Ddtptngen.cpp976 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 Ddtfmtsym.cpp890 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 Dnv50_ir_peephole.cpp694 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 Devdev.c391 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 Devdev-mt-touchpad.c3346 double width, height; in tp_init_palmdetect_edge() local

Completed in 116 milliseconds

1...<<131132133134135136137138139140>>...147