Home
last modified time | relevance | path

Searched refs:NumericType (Results 1 – 25 of 52) sorted by relevance

123

/external/rust/android-crates-io/crates/vulkano/out/
Dformats.rs1774 pub fn type_color(self) -> Option<NumericType> { in type_color() argument
1776 Self::R4G4_UNORM_PACK8 => Some(NumericType::UNORM), in type_color()
1777 Self::R4G4B4A4_UNORM_PACK16 => Some(NumericType::UNORM), in type_color()
1778 Self::B4G4R4A4_UNORM_PACK16 => Some(NumericType::UNORM), in type_color()
1779 Self::R5G6B5_UNORM_PACK16 => Some(NumericType::UNORM), in type_color()
1780 Self::B5G6R5_UNORM_PACK16 => Some(NumericType::UNORM), in type_color()
1781 Self::R5G5B5A1_UNORM_PACK16 => Some(NumericType::UNORM), in type_color()
1782 Self::B5G5R5A1_UNORM_PACK16 => Some(NumericType::UNORM), in type_color()
1783 Self::A1R5G5B5_UNORM_PACK16 => Some(NumericType::UNORM), in type_color()
1784 Self::R8_UNORM => Some(NumericType::UNORM), in type_color()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DCheckNumbers.java19 import org.unicode.cldr.test.DisplayAndInputProcessor.NumericType;
236 NumericType type = NumericType.getNumericType(path); in handleCheck()
237 if (type == NumericType.NOT_NUMERIC) { in handleCheck()
259 if (type == NumericType.CURRENCY || type == NumericType.CURRENCY_ABBREVIATED) { in handleCheck()
260 if (type == NumericType.CURRENCY_ABBREVIATED && value.equals("0")) { in handleCheck()
285 if (type == NumericType.PERCENT) { in handleCheck()
351 if (type == NumericType.DECIMAL_ABBREVIATED in handleCheck()
352 || type == NumericType.CURRENCY_ABBREVIATED) { in handleCheck()
402 private static UnicodeSet findUnquotedChars(NumericType type, String value) { in findUnquotedChars()
406 if (type == NumericType.DECIMAL_ABBREVIATED) { in findUnquotedChars()
[all …]
DDisplayAndInputProcessor.java358 NumericType numericType = NumericType.getNumericType(path); in processForDisplay()
359 if (numericType != NumericType.NOT_NUMERIC) { in processForDisplay()
367 if (numericType != NumericType.CURRENCY in processForDisplay()
368 && numericType != NumericType.CURRENCY_ABBREVIATED) { in processForDisplay()
502 NumericType numericType = NumericType.getNumericType(path); in processInputMore()
503 if (numericType != NumericType.NOT_NUMERIC) { in processInputMore()
504 if (numericType == NumericType.CURRENCY) { in processInputMore()
520 if (numericType == NumericType.DECIMAL_ABBREVIATED) { in processInputMore()
1140 public static String getCanonicalPattern(String inpattern, NumericType type, boolean isPOSIX) { in getCanonicalPattern()
1144 if (type == NumericType.DECIMAL_ABBREVIATED in getCanonicalPattern()
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/json/
Djson_util.h52 template <typename NumericType>
54 NumericType* output, in ExtractJsonNumber()
56 static_assert(std::is_integral<NumericType>::value, "Integral required"); in ExtractJsonNumber()
99 template <typename NumericType>
101 NumericType* output, in ExtractJsonType()
/external/grpc-grpc/src/core/lib/json/
Djson_util.h52 template <typename NumericType>
54 NumericType* output, in ExtractJsonNumber()
56 static_assert(std::is_integral<NumericType>::value, "Integral required"); in ExtractJsonNumber()
99 template <typename NumericType>
101 NumericType* output, in ExtractJsonType()
/external/rust/android-crates-io/crates/vulkano/src/command_buffer/standard/builder/
Drender_pass.rs22 format::{ClearColorValue, ClearValue, NumericType},
292 NumericType::SFLOAT in validate_begin_render_pass()
293 | NumericType::UFLOAT in validate_begin_render_pass()
294 | NumericType::SNORM in validate_begin_render_pass()
295 | NumericType::UNORM in validate_begin_render_pass()
296 | NumericType::SSCALED in validate_begin_render_pass()
297 | NumericType::USCALED in validate_begin_render_pass()
298 | NumericType::SRGB => { in validate_begin_render_pass()
307 NumericType::SINT => { in validate_begin_render_pass()
316 NumericType::UINT => { in validate_begin_render_pass()
[all …]
Dcopy.rs22 format::{Format, FormatFeatures, NumericType},
2658 NumericType::SFLOAT in validate_blit_image()
2659 | NumericType::UFLOAT in validate_blit_image()
2660 | NumericType::SNORM in validate_blit_image()
2661 | NumericType::UNORM in validate_blit_image()
2662 | NumericType::SSCALED in validate_blit_image()
2663 | NumericType::USCALED in validate_blit_image()
2664 | NumericType::SRGB, in validate_blit_image()
2665 NumericType::SFLOAT in validate_blit_image()
2666 | NumericType::UFLOAT in validate_blit_image()
[all …]
/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/lang/
DUCharacterTest.java2266 … if(UCharacter.getIntPropertyMaxValue(UProperty.NUMERIC_TYPE)!=UCharacter.NumericType.COUNT-1) { in TestAdditionalProperties()
2394 { 0x0F33, UCharacter.NumericType.NUMERIC, -1./2. }, in TestNumericProperties()
2395 { 0x0C66, UCharacter.NumericType.DECIMAL, 0 }, in TestNumericProperties()
2396 { 0x96f6, UCharacter.NumericType.NUMERIC, 0 }, in TestNumericProperties()
2397 { 0xa833, UCharacter.NumericType.NUMERIC, 1./16. }, in TestNumericProperties()
2398 { 0x2152, UCharacter.NumericType.NUMERIC, 1./10. }, in TestNumericProperties()
2399 { 0x2151, UCharacter.NumericType.NUMERIC, 1./9. }, in TestNumericProperties()
2400 { 0x1245f, UCharacter.NumericType.NUMERIC, 1./8. }, in TestNumericProperties()
2401 { 0x2150, UCharacter.NumericType.NUMERIC, 1./7. }, in TestNumericProperties()
2402 { 0x2159, UCharacter.NumericType.NUMERIC, 1./6. }, in TestNumericProperties()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterTest.java2269 … if(UCharacter.getIntPropertyMaxValue(UProperty.NUMERIC_TYPE)!=UCharacter.NumericType.COUNT-1) { in TestAdditionalProperties()
2397 { 0x0F33, UCharacter.NumericType.NUMERIC, -1./2. }, in TestNumericProperties()
2398 { 0x0C66, UCharacter.NumericType.DECIMAL, 0 }, in TestNumericProperties()
2399 { 0x96f6, UCharacter.NumericType.NUMERIC, 0 }, in TestNumericProperties()
2400 { 0xa833, UCharacter.NumericType.NUMERIC, 1./16. }, in TestNumericProperties()
2401 { 0x2152, UCharacter.NumericType.NUMERIC, 1./10. }, in TestNumericProperties()
2402 { 0x2151, UCharacter.NumericType.NUMERIC, 1./9. }, in TestNumericProperties()
2403 { 0x1245f, UCharacter.NumericType.NUMERIC, 1./8. }, in TestNumericProperties()
2404 { 0x2150, UCharacter.NumericType.NUMERIC, 1./7. }, in TestNumericProperties()
2405 { 0x2159, UCharacter.NumericType.NUMERIC, 1./6. }, in TestNumericProperties()
[all …]
/external/rust/android-crates-io/crates/vulkano/src/command_buffer/commands/
Drender_pass.rs22 format::{ClearColorValue, ClearValue, Format, NumericType},
326 NumericType::SFLOAT in validate_begin_render_pass()
327 | NumericType::UFLOAT in validate_begin_render_pass()
328 | NumericType::SNORM in validate_begin_render_pass()
329 | NumericType::UNORM in validate_begin_render_pass()
330 | NumericType::SSCALED in validate_begin_render_pass()
331 | NumericType::USCALED in validate_begin_render_pass()
332 | NumericType::SRGB => { in validate_begin_render_pass()
341 NumericType::SINT => { in validate_begin_render_pass()
350 NumericType::UINT => { in validate_begin_render_pass()
[all …]
Dcopy.rs19 format::{Format, FormatFeatures, NumericType},
1934 NumericType::SFLOAT in validate_blit_image()
1935 | NumericType::UFLOAT in validate_blit_image()
1936 | NumericType::SNORM in validate_blit_image()
1937 | NumericType::UNORM in validate_blit_image()
1938 | NumericType::SSCALED in validate_blit_image()
1939 | NumericType::USCALED in validate_blit_image()
1940 | NumericType::SRGB, in validate_blit_image()
1941 NumericType::SFLOAT in validate_blit_image()
1942 | NumericType::UFLOAT in validate_blit_image()
[all …]
/external/rust/android-crates-io/crates/vulkano/src/shader/
Dmod.rs137 format::{Format, NumericType},
1135 impl From<NumericType> for ShaderScalarType {
1137 fn from(val: NumericType) -> Self { in from()
1139 NumericType::SFLOAT => Self::Float, in from()
1140 NumericType::UFLOAT => Self::Float, in from()
1141 NumericType::SINT => Self::Sint, in from()
1142 NumericType::UINT => Self::Uint, in from()
1143 NumericType::SNORM => Self::Float, in from()
1144 NumericType::UNORM => Self::Float, in from()
1145 NumericType::SSCALED => Self::Float, in from()
[all …]
/external/rust/android-crates-io/crates/vulkano/autogen/
Dformats.rs179 .map(|ty| quote! { Self::#name => Some(NumericType::#ty), }) in formats_output()
188 .map(|ty| quote! { Self::#name => Some(NumericType::#ty), }) in formats_output()
197 .map(|ty| quote! { Self::#name => Some(NumericType::#ty), }) in formats_output()
462 pub fn type_color(self) -> Option<NumericType> { in formats_output()
471 pub fn type_depth(self) -> Option<NumericType> { in formats_output()
480 pub fn type_stencil(self) -> Option<NumericType> { in formats_output()
/external/cronet/tot/base/numerics/
Dsafe_conversions_impl.h21 template <typename NumericType>
23 std::is_floating_point_v<NumericType>
24 ? std::numeric_limits<NumericType>::max_exponent
25 : std::numeric_limits<NumericType>::digits + 1;
29 template <typename NumericType>
31 std::numeric_limits<NumericType>::digits + std::is_signed_v<NumericType>;
/external/cronet/stable/base/numerics/
Dsafe_conversions_impl.h21 template <typename NumericType>
23 std::is_floating_point_v<NumericType>
24 ? std::numeric_limits<NumericType>::max_exponent
25 : std::numeric_limits<NumericType>::digits + 1;
29 template <typename NumericType>
31 std::numeric_limits<NumericType>::digits + std::is_signed_v<NumericType>;
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h26 template <typename NumericType>
28 static const int value = std::is_floating_point<NumericType>::value
29 ? std::numeric_limits<NumericType>::max_exponent
30 : std::numeric_limits<NumericType>::digits + 1;
35 template <typename NumericType>
37 static const int value = std::numeric_limits<NumericType>::digits +
38 std::is_signed<NumericType>::value;
/external/pdfium/third_party/base/numerics/
Dsafe_conversions_impl.h27 template <typename NumericType>
29 static const int value = std::is_floating_point<NumericType>::value
30 ? std::numeric_limits<NumericType>::max_exponent
31 : std::numeric_limits<NumericType>::digits + 1;
36 template <typename NumericType>
38 static const int value = std::numeric_limits<NumericType>::digits +
39 std::is_signed<NumericType>::value;
/external/pdfium/core/fxcrt/numerics/
Dsafe_conversions_impl.h26 template <typename NumericType>
28 static const int value = std::is_floating_point<NumericType>::value
29 ? std::numeric_limits<NumericType>::max_exponent
30 : std::numeric_limits<NumericType>::digits + 1;
35 template <typename NumericType>
37 static const int value = std::numeric_limits<NumericType>::digits +
38 std::is_signed<NumericType>::value;
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/numerics/
Dsafe_conversions_impl.h16 template <typename NumericType>
18 static const int value = std::is_floating_point_v<NumericType>
19 ? std::numeric_limits<NumericType>::max_exponent
20 : std::numeric_limits<NumericType>::digits + 1;
25 template <typename NumericType>
28 std::numeric_limits<NumericType>::digits + std::is_signed_v<NumericType>;
/external/angle/src/common/base/anglebase/numerics/
Dsafe_conversions_impl.h30 template <typename NumericType>
33 static const int value = std::is_floating_point<NumericType>::value
34 ? std::numeric_limits<NumericType>::max_exponent
35 : std::numeric_limits<NumericType>::digits + 1;
40 template <typename NumericType>
44 std::numeric_limits<NumericType>::digits + std::is_signed<NumericType>::value;
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/numerics/
Dsafe_conversions_impl.h16 template <typename NumericType>
18 static const int value = std::is_floating_point_v<NumericType>
19 ? std::numeric_limits<NumericType>::max_exponent
20 : std::numeric_limits<NumericType>::digits + 1;
25 template <typename NumericType>
28 std::numeric_limits<NumericType>::digits + std::is_signed_v<NumericType>;
/external/rust/android-crates-io/crates/vulkano/src/pipeline/graphics/
Dcreation_error.rs13 format::{Format, NumericType},
183 attribute_type: NumericType,
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterProperty.java23 import android.icu.lang.UCharacter.NumericType;
830 return NumericType.COUNT-1;
1402 (ntv==NTV_NONE_) ? NumericType.NONE : in ntvGetType()
1403 (ntv<NTV_DIGIT_START_) ? NumericType.DECIMAL : in ntvGetType()
1404 (ntv<NTV_NUMERIC_START_) ? NumericType.DIGIT : in ntvGetType()
1405 NumericType.NUMERIC; in ntvGetType()
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/
DUCharacterProperty.java22 import com.ibm.icu.lang.UCharacter.NumericType;
829 return NumericType.COUNT-1;
1401 (ntv==NTV_NONE_) ? NumericType.NONE : in ntvGetType()
1402 (ntv<NTV_DIGIT_START_) ? NumericType.DECIMAL : in ntvGetType()
1403 (ntv<NTV_NUMERIC_START_) ? NumericType.DIGIT : in ntvGetType()
1404 NumericType.NUMERIC; in ntvGetType()
/external/rust/android-crates-io/crates/vulkano/src/image/
Dsys.rs25 format::{ChromaSampling, Format, FormatFeatures, NumericType},
712 NumericType::UINT | NumericType::SINT => { in validate_new()
720 NumericType::SFLOAT in validate_new()
721 | NumericType::UFLOAT in validate_new()
722 | NumericType::SNORM in validate_new()
723 | NumericType::UNORM in validate_new()
724 | NumericType::SSCALED in validate_new()
725 | NumericType::USCALED in validate_new()
726 | NumericType::SRGB => { in validate_new()

123