/system/tpm/tpm_manager/common/ |
tpm_nvram_dbus_interface.h | 22 constexpr char kTpmNvramInterface[] = "org.chromium.TpmNvram"; 25 constexpr char kDefineNvram[] = "DefineNvram"; 26 constexpr char kDestroyNvram[] = "DestroyNvram"; 27 constexpr char kWriteNvram[] = "WriteNvram"; 28 constexpr char kReadNvram[] = "ReadNvram"; 29 constexpr char kIsNvramDefined[] = "IsNvramDefined"; 30 constexpr char kIsNvramLocked[] = "IsNvramLocked"; 31 constexpr char kGetNvramSize[] = "GetNvramSize";
|
tpm_manager_constants.h | 24 constexpr char kTpmManagerServiceName[] = "org.chromium.TpmManager"; 25 constexpr char kTpmManagerServicePath[] = "/org/chromium/TpmManager"; 32 constexpr const char* kTestDependency = "Test"; 37 constexpr const char* kInitialTpmOwnerDependencies[] = { kTestDependency };
|
tpm_ownership_dbus_interface.h | 22 constexpr char kTpmOwnershipInterface[] = "org.chromium.TpmOwnership"; 25 constexpr char kGetTpmStatus[] = "GetTpmStatus"; 26 constexpr char kTakeOwnership[] = "TakeOwnership"; 27 constexpr char kRemoveOwnerDependency[] = "RemoveOwnerDependency";
|
/system/core/adb/ |
services.h | 20 constexpr char kShellServiceArgRaw[] = "raw"; 21 constexpr char kShellServiceArgPty[] = "pty"; 22 constexpr char kShellServiceArgShellProtocol[] = "v2";
|
/system/tpm/attestation/common/ |
dbus_interface.h | 23 constexpr char kAttestationInterface[] = "org.chromium.Attestation"; 24 constexpr char kAttestationServicePath[] = "/org/chromium/Attestation"; 25 constexpr char kAttestationServiceName[] = "org.chromium.Attestation"; 28 constexpr char kCreateGoogleAttestedKey[] = "CreateGoogleAttestedKey"; 29 constexpr char kGetKeyInfo[] = "GetKeyInfo"; 30 constexpr char kGetEndorsementInfo[] = "GetEndorsementInfo"; 31 constexpr char kGetAttestationKeyInfo[] = "GetAttestationKeyInfo"; 32 constexpr char kActivateAttestationKey[] = "ActivateAttestationKey"; 33 constexpr char kCreateCertifiableKey[] = "CreateCertifiableKey"; 34 constexpr char kDecrypt[] = "Decrypt" [all...] |
/system/tpm/trunks/ |
dbus_interface.h | 23 constexpr char kTrunksInterface[] = "com.android.Trunks"; 24 constexpr char kTrunksServicePath[] = "/com/android/Trunks"; 25 constexpr char kTrunksServiceName[] = "com.android.Trunks"; 27 constexpr char kTrunksInterface[] = "org.chromium.Trunks"; 28 constexpr char kTrunksServicePath[] = "/org/chromium/Trunks"; 29 constexpr char kTrunksServiceName[] = "org.chromium.Trunks"; 33 constexpr char kSendCommand[] = "SendCommand";
|
binder_interface.h | 22 constexpr char kTrunksServiceName[] = "trunks_service";
|
/art/runtime/ |
globals.h | 27 static constexpr size_t KB = 1024; 28 static constexpr size_t MB = KB * KB; 29 static constexpr size_t GB = KB * KB * KB; 32 static constexpr size_t kBitsPerByte = 8; 33 static constexpr size_t kBitsPerByteLog2 = 3; 34 static constexpr int kBitsPerIntPtrT = sizeof(intptr_t) * kBitsPerByte; 37 static constexpr size_t kStackAlignment = 16; 41 static constexpr int kPageSize = 4096; 44 static constexpr size_t kObjectAlignment = 8; 45 static constexpr size_t kLargeObjectAlignment = kPageSize [all...] |
modifiers.h | 24 static constexpr uint32_t kAccPublic = 0x0001; // class, field, method, ic 25 static constexpr uint32_t kAccPrivate = 0x0002; // field, method, ic 26 static constexpr uint32_t kAccProtected = 0x0004; // field, method, ic 27 static constexpr uint32_t kAccStatic = 0x0008; // field, method, ic 28 static constexpr uint32_t kAccFinal = 0x0010; // class, field, method, ic 29 static constexpr uint32_t kAccSynchronized = 0x0020; // method (only allowed on natives) 30 static constexpr uint32_t kAccSuper = 0x0020; // class (not used in dex) 31 static constexpr uint32_t kAccVolatile = 0x0040; // field 32 static constexpr uint32_t kAccBridge = 0x0040; // method (1.5) 33 static constexpr uint32_t kAccTransient = 0x0080; // fiel [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p9.cpp | 3 // A constexpr specifier used in an object declaration declares the object as 5 constexpr int a = 0; 9 constexpr int *b = &i; 12 constexpr int &c = i; 15 constexpr int (*d)(int) = 0; 18 // A variable declaration which uses the constexpr specifier shall have an 20 constexpr int ni1; // expected-error {{default initialization of an object of const type 'const int'}} 21 constexpr struct C { C(); } ni2; // expected-error {{cannot have non-literal type 'const struct C'}} expected-note 3{{has no constexpr constructors}} 22 constexpr double &ni3; // expected-error {{declaration of reference variable 'ni3' requires an initializer} [all...] |
p1.cpp | 11 constexpr int i1 = 0; 12 constexpr int f1() { return 0; } 14 constexpr static int mi1 = 0; 17 constexpr int s1::mi2 = 0; 21 constexpr extern int i2; // expected-error {{constexpr variable declaration must be a definition}} 23 constexpr notlit nl1; // expected-error {{constexpr variable cannot have non-literal type 'const notlit'}} 25 void f2(constexpr int i) {} // expected-error {{function parameter cannot be constexpr}} 42 class C2 {} constexpr; \/\/ expected-error {{class cannot be marked constexpr}} variable in typeref:class:C2 43 struct S2 {} constexpr; \/\/ expected-error {{struct cannot be marked constexpr}} variable in typeref:struct:S2 44 union U2 {} constexpr; \/\/ expected-error {{union cannot be marked constexpr}} variable in typeref:union:U2 45 enum E2 {} constexpr; \/\/ expected-error {{enum cannot be marked constexpr}} variable in typeref:enum:E2 [all...] |
/frameworks/native/cmds/installd/ |
installd_constants.h | 26 constexpr const char* PRIMARY_USER_PREFIX = "data/"; 27 constexpr const char* SECONDARY_USER_PREFIX = "user/"; 29 constexpr const char* PKG_DIR_POSTFIX = ""; 31 constexpr const char* PKG_LIB_POSTFIX = "/lib"; 33 constexpr const char* CACHE_DIR_POSTFIX = "/cache"; 34 constexpr const char* CODE_CACHE_DIR_POSTFIX = "/code_cache"; 36 constexpr const char* APP_SUBDIR = "app/"; // sub-directory under ANDROID_DATA 37 constexpr const char* PRIV_APP_SUBDIR = "priv-app/"; // sub-directory under ANDROID_DATA 38 constexpr const char* EPHEMERAL_APP_SUBDIR = "app-ephemeral/"; // sub-directory under ANDROID_DATA 40 constexpr const char* APP_LIB_SUBDIR = "app-lib/"; // sub-directory under ANDROID_DAT [all...] |
/external/clang/test/Parser/ |
cxx11-type-specifier.cpp | 6 operator constexpr int(); // expected-error{{type name does not allow constexpr}} 12 (void) new constexpr int; // expected-error{{type name does not allow constexpr}} 13 } catch (constexpr int) { // expected-error{{type name does not allow constexpr}}
|
/external/clang/test/SemaCXX/ |
constexpr-depth.cpp | 5 constexpr int depth(int n) { return n > 1 ? depth(n-1) : 0; } // expected-note {{exceeded maximum depth}} expected-note +{{}} 7 constexpr int kBad = depth(MAX + 1); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'depth(}} 8 constexpr int kGood = depth(MAX);
|
builtin-assume-aligned.cpp | 4 constexpr int *p = 0; 6 constexpr int *k = (int *) __builtin_assume_aligned(p, 16, n = 5); 8 constexpr void *l = __builtin_assume_aligned(p, 16); 12 constexpr int *c = (int *) __builtin_assume_aligned(p, 16); 16 constexpr void *m = __builtin_assume_aligned(&n, 16); 20 constexpr void *q1 = __builtin_assume_aligned(&n, 4, 2); 23 constexpr void *q2 = __builtin_assume_aligned(&n, 4, -2); 24 constexpr void *q3 = __builtin_assume_aligned(&n, 4, 4); 25 constexpr void *q4 = __builtin_assume_aligned(&n, 4, -4); 30 constexpr void *r1 = __builtin_assume_aligned(&ar1[2], 16) [all...] |
cxx1y-constexpr-not-const.cpp | 5 constexpr int f(); // @5 15 // expected-warning@5 {{'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior}}
|
cxx0x-constexpr-const.cpp | 3 constexpr int x = 1; // expected-note {{variable 'x' declared const here}} 4 constexpr int id(int x) { return x; }
|
/external/clang/test/FixIt/ |
fixit-cxx1y-compat.cpp | 10 constexpr int &f(); // expected-warning {{'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior}}
|
/external/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal/ |
a.h | 4 constexpr int n = 0;
|
/external/clang/test/Modules/Inputs/ |
redecl-add-after-load-top.h | 4 static constexpr int function();
|
/external/clang/test/CXX/basic/basic.types/ |
p10.cpp | 9 constexpr void f() {} 15 constexpr int f1(double) { return 0; } 19 constexpr int f2(S &) { return 0; } 24 static constexpr BeingDefined& t = beingdefined; 34 constexpr Incomplete incomplete = {}; // expected-error {{constexpr variable cannot have non-literal type 'const Incomplete'}} expected-note {{incomplete type 'const Incomplete' is not a literal type}} 35 constexpr Incomplete incomplete2[] = {}; // expected-error {{constexpr variable cannot have non-literal type 'Incomplete const[]'}} expected-note {{incomplete type 'Incomplete const[]' is not a literal type}} 36 constexpr ClassTemp<int> classtemplate = {}; 37 constexpr ClassTemp<int> classtemplate2[] = {} [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
regex_constants.h | 86 constexpr syntax_option_type icase = 1 << _S_icase; 93 constexpr syntax_option_type nosubs = 1 << _S_nosubs; 101 constexpr syntax_option_type optimize = 1 << _S_optimize; 107 constexpr syntax_option_type collate = 1 << _S_collate; 117 constexpr syntax_option_type ECMAScript = 1 << _S_ECMAScript; 126 constexpr syntax_option_type basic = 1 << _S_basic; 134 constexpr syntax_option_type extended = 1 << _S_extended; 144 constexpr syntax_option_type awk = 1 << _S_awk; 152 constexpr syntax_option_type grep = 1 << _S_grep; 160 constexpr syntax_option_type egrep = 1 << _S_egrep [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
regex_constants.h | 86 constexpr syntax_option_type icase = 1 << _S_icase; 93 constexpr syntax_option_type nosubs = 1 << _S_nosubs; 101 constexpr syntax_option_type optimize = 1 << _S_optimize; 107 constexpr syntax_option_type collate = 1 << _S_collate; 117 constexpr syntax_option_type ECMAScript = 1 << _S_ECMAScript; 126 constexpr syntax_option_type basic = 1 << _S_basic; 134 constexpr syntax_option_type extended = 1 << _S_extended; 144 constexpr syntax_option_type awk = 1 << _S_awk; 152 constexpr syntax_option_type grep = 1 << _S_grep; 160 constexpr syntax_option_type egrep = 1 << _S_egrep [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
regex_constants.h | 86 constexpr syntax_option_type icase = 1 << _S_icase; 93 constexpr syntax_option_type nosubs = 1 << _S_nosubs; 101 constexpr syntax_option_type optimize = 1 << _S_optimize; 107 constexpr syntax_option_type collate = 1 << _S_collate; 117 constexpr syntax_option_type ECMAScript = 1 << _S_ECMAScript; 126 constexpr syntax_option_type basic = 1 << _S_basic; 134 constexpr syntax_option_type extended = 1 << _S_extended; 144 constexpr syntax_option_type awk = 1 << _S_awk; 152 constexpr syntax_option_type grep = 1 << _S_grep; 160 constexpr syntax_option_type egrep = 1 << _S_egrep [all...] |
/external/clang/test/CXX/class/class.static/class.static.data/ |
p3.cpp | 3 struct NonLit { // expected-note 3{{no constexpr constructors}} 8 static constexpr int a = 0; 9 static constexpr int b; // expected-error {{declaration of constexpr static data member 'b' requires an initializer}} 11 static constexpr int c = 0; 15 static constexpr double e = 0.0; // ok 16 static const double f = 0.0; // expected-error {{requires 'constexpr' specifier}} expected-note {{add 'constexpr'}} 17 static char *const g = 0; // expected-error {{requires 'constexpr' specifier}} 21 constexpr int S::a [all...] |