Home
last modified time | relevance | path

Searched refs:constexpr (Results 1 – 25 of 17579) sorted by relevance

12345678910>>...704

/external/angle/src/libANGLE/
DErrorStrings.h18 inline constexpr const char *k3DDepthStencil = "Format cannot be GL_DEPTH_COMPONENT or GL_DEPTH_STE…
19 inline constexpr const char *kANGLECopyTexture3DUnavailable = "GL_ANGLE_copy_texture_3d extension n…
20 inline constexpr const char *kANGLECopyTextureMissingRequiredExtension = "Copy*TextureCHROMIUM from…
21 inline constexpr const char *kAdvancedBlendEquationWithMRT = "Advanced blend equation can only be u…
22 inline constexpr const char *kAdvancedBlendExtensionNotEnabled = "GL_KHR_blend_equation_advanced ex…
23 inline constexpr const char *kAtomicCounterResourceName = "Active atomic counter resources are not …
24 inline constexpr const char *kAttributeListNotNull = "Attribute list must be NULL or GL_NONE.";
25 inline constexpr const char *kAttributeLocationNull = "Attribute location cannot be null.";
26 inline constexpr const char *kAttributeNotMatch = "Attribute is incompatible with egl image.";
27 inline constexpr const char *kAttributeNotValid = "Attribute is not valid.";
[all …]
/external/pigweed/pw_bluetooth/public/pw_bluetooth/
Dassigned_uuids.h30 static constexpr Uuid kCharacteristicExtendedProperties{0x2900};
31 static constexpr Uuid kCharacteristicUserDescription{0x2901};
32 static constexpr Uuid kClientCharacteristicConfiguration{0x2902};
33 static constexpr Uuid kServerCharacteristicConfiguration{0x2903};
34 static constexpr Uuid kCharacteristicPresentationFormat{0x2904};
35 static constexpr Uuid kCharacteristicAggregateFormat{0x2905};
36 static constexpr Uuid kValidRange{0x2906};
37 static constexpr Uuid kExternalReportReference{0x2907};
38 static constexpr Uuid kReportReference{0x2908};
39 static constexpr Uuid kNumberOfDigitals{0x2909};
[all …]
/external/angle/src/compiler/translator/tree_util/
DBuiltIn_autogen.h25 static constexpr const TSymbolUniqueId radians_Float1 = TSymbolUniqueId(0);
26 static constexpr const TSymbolUniqueId pt00B = TSymbolUniqueId(1);
27 static constexpr const TSymbolUniqueId radians_Float2 = TSymbolUniqueId(2);
28 static constexpr const TSymbolUniqueId pt10B = TSymbolUniqueId(3);
29 static constexpr const TSymbolUniqueId radians_Float3 = TSymbolUniqueId(4);
30 static constexpr const TSymbolUniqueId pt20B = TSymbolUniqueId(5);
31 static constexpr const TSymbolUniqueId radians_Float4 = TSymbolUniqueId(6);
32 static constexpr const TSymbolUniqueId pt30B = TSymbolUniqueId(7);
33 static constexpr const TSymbolUniqueId degrees_Float1 = TSymbolUniqueId(8);
34 static constexpr const TSymbolUniqueId degrees_Float2 = TSymbolUniqueId(9);
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/hci-spec/public/pw_bluetooth_sapphire/internal/host/hci-spec/
Dprotocol.h78 constexpr OpCode DefineOpCode(const uint8_t ogf, const uint16_t ocf) { in DefineOpCode()
116 inline constexpr OpCode kNoOp = 0x0000;
129 inline constexpr uint8_t kLinkControlOGF = 0x01;
130 constexpr OpCode LinkControlOpCode(const uint16_t ocf) { in LinkControlOpCode()
136 inline constexpr OpCode kInquiry = LinkControlOpCode(0x0001);
140 inline constexpr OpCode kInquiryCancel = LinkControlOpCode(0x0002);
146 inline constexpr OpCode kCreateConnection = LinkControlOpCode(0x0005);
150 inline constexpr OpCode kDisconnect = LinkControlOpCode(0x0006);
154 inline constexpr OpCode kCreateConnectionCancel = LinkControlOpCode(0x0008);
158 inline constexpr OpCode kAcceptConnectionRequest = LinkControlOpCode(0x0009);
[all …]
/external/cronet/stable/net/third_party/quiche/src/quiche/quic/core/
Dquic_constants.h21 inline constexpr uint64_t kNumSecondsPerMinute = 60;
22 inline constexpr uint64_t kNumSecondsPerHour = kNumSecondsPerMinute * 60;
23 inline constexpr uint64_t kNumSecondsPerWeek = kNumSecondsPerHour * 24 * 7;
24 inline constexpr uint64_t kNumMillisPerSecond = 1000;
25 inline constexpr uint64_t kNumMicrosPerMilli = 1000;
26 inline constexpr uint64_t kNumMicrosPerSecond =
30 inline constexpr uint32_t kDefaultNumConnections = 2;
32 inline constexpr QuicByteCount kDefaultMaxPacketSize = 1250;
38 inline constexpr QuicByteCount kDefaultMaxPacketSizeForTunnels = 1350;
40 inline constexpr QuicByteCount kDefaultServerMaxPacketSize = 1000;
[all …]
/external/cronet/tot/net/third_party/quiche/src/quiche/quic/core/
Dquic_constants.h21 inline constexpr uint64_t kNumSecondsPerMinute = 60;
22 inline constexpr uint64_t kNumSecondsPerHour = kNumSecondsPerMinute * 60;
23 inline constexpr uint64_t kNumSecondsPerWeek = kNumSecondsPerHour * 24 * 7;
24 inline constexpr uint64_t kNumMillisPerSecond = 1000;
25 inline constexpr uint64_t kNumMicrosPerMilli = 1000;
26 inline constexpr uint64_t kNumMicrosPerSecond =
30 inline constexpr uint32_t kDefaultNumConnections = 2;
32 inline constexpr QuicByteCount kDefaultMaxPacketSize = 1250;
38 inline constexpr QuicByteCount kDefaultMaxPacketSizeForTunnels = 1350;
40 inline constexpr QuicByteCount kDefaultServerMaxPacketSize = 1000;
[all …]
/external/webrtc/modules/video_coding/utility/
Dvp9_constants.h22 constexpr size_t kVp9NumRefFrames = 8;
24 constexpr size_t kVp9NumFrameContexts = 4;
26 constexpr size_t kVp9RefsPerFrame = 3;
28 constexpr size_t kVp9MvFrSize = 4;
30 constexpr size_t kVp9MvrefNeighbours = 8;
32 constexpr size_t kVp9BlockSizeGroups = 4;
34 constexpr size_t kVp9BlockSizes = 13;
36 constexpr size_t kVp9BlockInvalid = 14;
38 constexpr size_t kVp9PartitionContexts = 16;
40 constexpr size_t kVp9MiSize = 8;
[all …]
/external/clang/test/CXX/expr/expr.const/
Dp2-0x.cpp28 constexpr NonConstexpr2(); // expected-note {{here}}
46 constexpr UndefinedConstexpr();
47 static constexpr int undefinedConstexpr1(); // expected-note {{here}}
55 static constexpr const int &id_ref(const int &n) { in id_ref()
61 constexpr const int *address_of(const int &a) { in address_of()
64 constexpr const int *return_param(int n) { // expected-note {{declared here}} in return_param()
78 constexpr T(const int &r) : in T()
83 constexpr int n = 0;
84 constexpr T t1(n); // ok
85constexpr T t2(0); // expected-error {{must be initialized by a constant expression}} expected-not…
[all …]
/external/ml_dtypes/ml_dtypes/_src/
Ddtypes.cc47 static constexpr bool is_floating = true;
48 static constexpr bool is_integral = false;
49 static constexpr const char* kTypeName = "bfloat16";
50 static constexpr const char* kQualifiedTypeName = "ml_dtypes.bfloat16";
51 static constexpr const char* kTpDoc = "bfloat16 floating-point values";
57 static constexpr char kNpyDescrKind = 'V';
60 static constexpr char kNpyDescrType = 'E';
61 static constexpr char kNpyDescrByteorder = '=';
67 static constexpr bool is_floating = true;
68 static constexpr bool is_integral = false;
[all …]
/external/cronet/stable/url/
Durl_constants.h12 inline constexpr char kAboutBlankURL[] = "about:blank";
13 inline constexpr char16_t kAboutBlankURL16[] = u"about:blank";
14 inline constexpr char kAboutSrcdocURL[] = "about:srcdoc";
15 inline constexpr char16_t kAboutSrcdocURL16[] = u"about:srcdoc";
17 inline constexpr char kAboutBlankPath[] = "blank";
18 inline constexpr char16_t kAboutBlankPath16[] = u"blank";
19 inline constexpr char kAboutSrcdocPath[] = "srcdoc";
20 inline constexpr char16_t kAboutSrcdocPath16[] = u"srcdoc";
22 inline constexpr char kAboutScheme[] = "about";
23 inline constexpr char16_t kAboutScheme16[] = u"about";
[all …]
/external/cronet/tot/url/
Durl_constants.h12 inline constexpr char kAboutBlankURL[] = "about:blank";
13 inline constexpr char16_t kAboutBlankURL16[] = u"about:blank";
14 inline constexpr char kAboutSrcdocURL[] = "about:srcdoc";
15 inline constexpr char16_t kAboutSrcdocURL16[] = u"about:srcdoc";
17 inline constexpr char kAboutBlankPath[] = "blank";
18 inline constexpr char16_t kAboutBlankPath16[] = u"blank";
19 inline constexpr char kAboutSrcdocPath[] = "srcdoc";
20 inline constexpr char16_t kAboutSrcdocPath16[] = u"srcdoc";
22 inline constexpr char kAboutScheme[] = "about";
23 inline constexpr char16_t kAboutScheme16[] = u"about";
[all …]
/external/libcxx/test/support/
Dpropagate_const_helpers.h6 constexpr const int &operator*() const { return i_; }
7 constexpr int &operator*() { return i_; }
8 constexpr const int *get() const { return &i_; } in get()
9 constexpr int *get() { return &i_; } in get()
10 constexpr const int *operator->() const { return &i_; }
11 constexpr int *operator->() { return &i_; }
13 constexpr X(int i) : i_(i) {} in X()
20 constexpr const int &operator*() const { return i_; }
21 constexpr int &operator*() { return i_; }
22 constexpr const int *get() const { return &i_; } in get()
[all …]
/external/cronet/tot/third_party/libc++/src/test/support/
Dpropagate_const_helpers.h6 constexpr const int &operator*() const { return i_; }
7 constexpr int &operator*() { return i_; }
8 constexpr const int *get() const { return &i_; } in get()
9 constexpr int *get() { return &i_; } in get()
10 constexpr const int *operator->() const { return &i_; }
11 constexpr int *operator->() { return &i_; }
13 constexpr X(int i) : i_(i) {} in X()
20 constexpr const int &operator*() const { return i_; }
21 constexpr int &operator*() { return i_; }
22 constexpr const int *get() const { return &i_; } in get()
[all …]
/external/cronet/stable/third_party/libc++/src/test/support/
Dpropagate_const_helpers.h6 constexpr const int &operator*() const { return i_; }
7 constexpr int &operator*() { return i_; }
8 constexpr const int *get() const { return &i_; } in get()
9 constexpr int *get() { return &i_; } in get()
10 constexpr const int *operator->() const { return &i_; }
11 constexpr int *operator->() { return &i_; }
13 constexpr X(int i) : i_(i) {} in X()
20 constexpr const int &operator*() const { return i_; }
21 constexpr int &operator*() { return i_; }
22 constexpr const int *get() const { return &i_; } in get()
[all …]
/external/pigweed/pw_display/public/pw_display/
Dcolors_endesga64.h25 inline constexpr ColorRgb565 kBlood = EncodeRgb565(0xff, 0x00, 0x40);
26 inline constexpr ColorRgb565 kBlack0 = EncodeRgb565(0x13, 0x13, 0x13);
27 inline constexpr ColorRgb565 kBlack1 = EncodeRgb565(0x1b, 0x1b, 0x1b);
28 inline constexpr ColorRgb565 kGray0 = EncodeRgb565(0x27, 0x27, 0x27);
29 inline constexpr ColorRgb565 kGray1 = EncodeRgb565(0x3d, 0x3d, 0x3d);
30 inline constexpr ColorRgb565 kGray2 = EncodeRgb565(0x5d, 0x5d, 0x5d);
31 inline constexpr ColorRgb565 kGray3 = EncodeRgb565(0x85, 0x85, 0x85);
32 inline constexpr ColorRgb565 kGray4 = EncodeRgb565(0xb4, 0xb4, 0xb4);
33 inline constexpr ColorRgb565 kWhite = EncodeRgb565(0xff, 0xff, 0xff);
34 inline constexpr ColorRgb565 kSteel6 = EncodeRgb565(0xc7, 0xcf, 0xdd);
[all …]
/external/XNNPACK/src/xnnpack/
Daarch64-assembler.h14 constexpr size_t kInstructionSizeInBytesLog2 = 2;
20 constexpr XRegister x0{0};
21 constexpr XRegister x1{1};
22 constexpr XRegister x2{2};
23 constexpr XRegister x3{3};
24 constexpr XRegister x4{4};
25 constexpr XRegister x5{5};
26 constexpr XRegister x6{6};
27 constexpr XRegister x7{7};
28 constexpr XRegister x8{8};
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/sdp/public/pw_bluetooth_sapphire/internal/host/sdp/
Dsdp.h32 inline constexpr ServiceHandle kSDPHandle = 0x00000000;
34 inline constexpr ServiceHandle kFirstUnreservedHandle = 0x00010000;
35 inline constexpr ServiceHandle kLastHandle = 0xFFFFFFFF;
73 inline constexpr OpCode kReserved = 0x00;
76 inline constexpr OpCode kErrorResponse = 0x01;
79 inline constexpr OpCode kServiceSearchRequest = 0x02;
80 inline constexpr OpCode kServiceSearchResponse = 0x03;
83 inline constexpr OpCode kServiceAttributeRequest = 0x04;
84 inline constexpr OpCode kServiceAttributeResponse = 0x05;
87 inline constexpr OpCode kServiceSearchAttributeRequest = 0x06;
[all …]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp1.cpp13 constexpr int i1 = 0;
14 constexpr int f1() { return 0; } in f1()
16 constexpr static int mi1 = 0;
19 constexpr int s1::mi2 = 0;
23 constexpr extern int i2; // expected-error {{constexpr variable declaration must be a definition}}
25 constexpr notlit nl1; // expected-error {{constexpr variable cannot have non-literal type 'const no…
27 void f2(constexpr int i) {} // expected-error {{function parameter cannot be constexpr}} in f2()
30constexpr int mi1; // expected-error {{non-static data member cannot be constexpr; did you intend …
31 static constexpr int mi2;
37 …mutable constexpr int mi3 = 3; // expected-error-re {{non-static data member cannot be constexpr{{…
[all …]
Dp3.cpp17 constexpr Literal() {} in Literal()
31 constexpr T();
32 constexpr int f() const;
35 …virtual constexpr int ExplicitlyVirtual() const { return 0; } // expected-error {{virtual function… in ExplicitlyVirtual()
37constexpr int ImplicitlyVirtual() const { return 0; } // expected-error {{virtual function cannot … in ImplicitlyVirtual()
39 …virtual constexpr int OutOfLineVirtual() const; // expected-error {{virtual function cannot be con…
42constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn()
43 constexpr void VoidReturn() const { return; } in VoidReturn()
47 constexpr ~T(); // expected-error {{destructor cannot be marked constexpr}}
49 constexpr F NonLiteralReturn2; // ok until definition
[all …]
Dp4.cpp17 constexpr Literal() {} in Literal()
25 constexpr S(int, N::C) {} in S()
26constexpr S(int, NonLiteral, N::C) {} // expected-error {{constexpr constructor's 2nd parameter ty… in S()
27constexpr S(int, NonLiteral = 42) {} // expected-error {{constexpr constructor's 2nd parameter typ… in S()
30 constexpr S() = default;
31 constexpr S(Literal) = delete;
38constexpr T() {} // expected-error {{constexpr constructor not allowed in struct with virtual base… in T()
45constexpr C() {} // expected-error {{constexpr constructor not allowed in class with virtual base … in C()
51 constexpr U() in U()
62 constexpr V() { in V()
[all …]
/external/cronet/stable/net/ntlm/
Dntlm_test_data.h24 inline constexpr char16_t kPassword[] = {'P', 'a', 's', 's', 'w',
26 inline constexpr char16_t kNtlmDomain[] = {'D', 'o', 'm', 'a', 'i', 'n', '\0'};
27 inline constexpr uint8_t kNtlmDomainRaw[] = {'D', 0x00, 'o', 0x00, 'm', 0x00,
29 inline constexpr char16_t kUser[] = {'U', 's', 'e', 'r', '\0'};
30 inline constexpr char16_t kDomainUserCombined[] = {
32 inline constexpr char16_t kHostname[] = {'C', 'O', 'M', 'P', 'U',
34 inline constexpr char16_t kServer[] = {'S', 'e', 'r', 'v', 'e', 'r', '\0'};
35 inline constexpr uint8_t kServerRaw[] = {'S', 0x00, 'e', 0x00, 'r', 0x00,
39 inline constexpr char kNtlmDomainAscii[] = "Domain";
40 inline constexpr char kUserAscii[] = "User";
[all …]
/external/cronet/tot/net/ntlm/
Dntlm_test_data.h24 inline constexpr char16_t kPassword[] = {'P', 'a', 's', 's', 'w',
26 inline constexpr char16_t kNtlmDomain[] = {'D', 'o', 'm', 'a', 'i', 'n', '\0'};
27 inline constexpr uint8_t kNtlmDomainRaw[] = {'D', 0x00, 'o', 0x00, 'm', 0x00,
29 inline constexpr char16_t kUser[] = {'U', 's', 'e', 'r', '\0'};
30 inline constexpr char16_t kDomainUserCombined[] = {
32 inline constexpr char16_t kHostname[] = {'C', 'O', 'M', 'P', 'U',
34 inline constexpr char16_t kServer[] = {'S', 'e', 'r', 'v', 'e', 'r', '\0'};
35 inline constexpr uint8_t kServerRaw[] = {'S', 0x00, 'e', 0x00, 'r', 0x00,
39 inline constexpr char kNtlmDomainAscii[] = "Domain";
40 inline constexpr char kUserAscii[] = "User";
[all …]
/external/llvm-libc/src/__support/fixed_point/
Dfx_rep.h43 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1;
44 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0;
45 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = SFRACT_FBIT;
46 LIBC_INLINE_VAR static constexpr int VALUE_LEN = INTEGRAL_LEN + FRACTION_LEN;
47 LIBC_INLINE_VAR static constexpr int TOTAL_LEN = SIGN_LEN + VALUE_LEN;
49 LIBC_INLINE static constexpr Type MIN() { return SFRACT_MIN; }
50 LIBC_INLINE static constexpr Type MAX() { return SFRACT_MAX; }
51 LIBC_INLINE static constexpr Type ZERO() { return 0.0HR; }
52 LIBC_INLINE static constexpr Type EPS() { return SFRACT_EPSILON; }
53 LIBC_INLINE static constexpr Type ONE_HALF() { return 0.5HR; }
[all …]
/external/openscreen/cast/common/channel/
Dmessage_util.h22 static constexpr char kCastInternalNamespacePrefix[] =
24 static constexpr char kTransportNamespacePrefix[] =
26 static constexpr char kAuthNamespace[] =
28 static constexpr char kHeartbeatNamespace[] =
30 static constexpr char kConnectionNamespace[] =
32 static constexpr char kReceiverNamespace[] =
34 static constexpr char kBroadcastNamespace[] =
36 static constexpr char kMediaNamespace[] = "urn:x-cast:com.google.cast.media";
39 static constexpr char kPlatformSenderId[] = "sender-0";
40 static constexpr char kPlatformReceiverId[] = "receiver-0";
[all …]
/external/cronet/tot/third_party/llvm-libc/src/src/__support/fixed_point/
Dfx_rep.h43 LIBC_INLINE_VAR static constexpr int SIGN_LEN = 1;
44 LIBC_INLINE_VAR static constexpr int INTEGRAL_LEN = 0;
45 LIBC_INLINE_VAR static constexpr int FRACTION_LEN = SFRACT_FBIT;
46 LIBC_INLINE_VAR static constexpr int TOTAL_LEN =
49 LIBC_INLINE static constexpr Type MIN() { return SFRACT_MIN; }
50 LIBC_INLINE static constexpr Type MAX() { return SFRACT_MAX; }
51 LIBC_INLINE static constexpr Type ZERO() { return 0.0HR; }
52 LIBC_INLINE static constexpr Type EPS() { return SFRACT_EPSILON; }
53 LIBC_INLINE static constexpr Type ONE_HALF() { return 0.5HR; }
54 LIBC_INLINE static constexpr Type ONE_FOURTH() { return 0.25HR; }
[all …]

12345678910>>...704