/external/tpm2/ |
D | DA.c | 26 gp.failedTries = 0; in DAPreInstall_Init() 27 gp.maxTries = 3; in DAPreInstall_Init() 28 gp.recoveryTime = 1000; // in seconds (~16.67 minutes) in DAPreInstall_Init() 29 gp.lockoutRecovery = 1000; // in seconds in DAPreInstall_Init() 30 gp.lockOutAuthEnabled = TRUE; // Use of lockoutAuth is enabled in DAPreInstall_Init() 32 NvWriteReserved(NV_FAILED_TRIES, &gp.failedTries); in DAPreInstall_Init() 33 NvWriteReserved(NV_MAX_TRIES, &gp.maxTries); in DAPreInstall_Init() 34 NvWriteReserved(NV_RECOVERY_TIME, &gp.recoveryTime); in DAPreInstall_Init() 35 NvWriteReserved(NV_LOCKOUT_RECOVERY, &gp.lockoutRecovery); in DAPreInstall_Init() 36 NvWriteReserved(NV_LOCKOUT_AUTH_ENABLED, &gp.lockOutAuthEnabled); in DAPreInstall_Init() [all …]
|
D | Hierarchy.c | 25 gp.disableClear = FALSE; in HierarchyPreInstall_Init() 27 gp.EPSeed.t.size = PRIMARY_SEED_SIZE; in HierarchyPreInstall_Init() 28 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.EPSeed.t.buffer); in HierarchyPreInstall_Init() 29 gp.SPSeed.t.size = PRIMARY_SEED_SIZE; in HierarchyPreInstall_Init() 30 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.SPSeed.t.buffer); in HierarchyPreInstall_Init() 31 gp.PPSeed.t.size = PRIMARY_SEED_SIZE; in HierarchyPreInstall_Init() 32 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.PPSeed.t.buffer); in HierarchyPreInstall_Init() 34 gp.ownerAuth.t.size = 0; in HierarchyPreInstall_Init() 35 gp.endorsementAuth.t.size = 0; in HierarchyPreInstall_Init() 36 gp.lockoutAuth.t.size = 0; in HierarchyPreInstall_Init() [all …]
|
D | Clear.c | 35 if(gp.disableClear) in TPM2_Clear() 41 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.SPSeed.t.buffer); in TPM2_Clear() 44 CryptGenerateRandom(PROOF_SIZE, gp.shProof.t.buffer); in TPM2_Clear() 45 CryptGenerateRandom(PROOF_SIZE, gp.ehProof.t.buffer); in TPM2_Clear() 51 MemorySet(gp.ownerAuth.t.buffer, 0, gp.ownerAuth.t.size); in TPM2_Clear() 52 MemorySet(gp.endorsementAuth.t.buffer, 0, gp.endorsementAuth.t.size); in TPM2_Clear() 53 MemorySet(gp.lockoutAuth.t.buffer, 0, gp.lockoutAuth.t.size); in TPM2_Clear() 55 gp.ownerAuth.t.size = gp.endorsementAuth.t.size = gp.lockoutAuth.t.size = 0; in TPM2_Clear() 58 gp.ownerAlg = gp.endorsementAlg = gp.lockoutAlg = TPM_ALG_NULL; in TPM2_Clear() 59 gp.ownerPolicy.t.size = 0; in TPM2_Clear() [all …]
|
D | CommandAudit.c | 26 MemorySet(gp.auditComands, 0x00, in CommandAuditPreInstall_Init() 33 gp.auditHashAlg = CONTEXT_INTEGRITY_HASH_ALG; in CommandAuditPreInstall_Init() 35 gp.auditCounter = 0; in CommandAuditPreInstall_Init() 37 NvWriteReserved(NV_AUDIT_COMMANDS, &gp.auditComands); in CommandAuditPreInstall_Init() 38 NvWriteReserved(NV_AUDIT_HASH_ALG, &gp.auditHashAlg); in CommandAuditPreInstall_Init() 39 NvWriteReserved(NV_AUDIT_COUNTER, &gp.auditCounter); in CommandAuditPreInstall_Init() 88 if(!BitIsSet(bitPos, &gp.auditComands[0], sizeof(gp.auditComands))) in CommandAuditSet() 91 BitSet(bitPos, &gp.auditComands[0], sizeof(gp.auditComands)); in CommandAuditSet() 130 if(BitIsSet(bitPos, &gp.auditComands[0], sizeof(gp.auditComands))) in CommandAuditClear() 133 BitClear(bitPos, &gp.auditComands[0], sizeof(gp.auditComands)); in CommandAuditClear() [all …]
|
D | ChangeEPS.c | 29 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.EPSeed.t.buffer); in TPM2_ChangeEPS() 32 CryptGenerateRandom(PROOF_SIZE, gp.ehProof.t.buffer); in TPM2_ChangeEPS() 38 MemorySet(gp.endorsementAuth.t.buffer, 0, gp.endorsementAuth.t.size); in TPM2_ChangeEPS() 40 gp.endorsementAuth.t.size = 0; in TPM2_ChangeEPS() 43 gp.endorsementAlg = TPM_ALG_NULL; in TPM2_ChangeEPS() 44 gp.endorsementPolicy.t.size = 0; in TPM2_ChangeEPS() 53 NvWriteReserved(NV_EP_SEED, &gp.EPSeed); in TPM2_ChangeEPS() 54 NvWriteReserved(NV_EH_PROOF, &gp.ehProof); in TPM2_ChangeEPS() 55 NvWriteReserved(NV_ENDORSEMENT_AUTH, &gp.endorsementAuth); in TPM2_ChangeEPS() 56 NvWriteReserved(NV_ENDORSEMENT_ALG, &gp.endorsementAlg); in TPM2_ChangeEPS() [all …]
|
D | SetPrimaryPolicy.c | 44 gp.ownerAlg = in->hashAlg; in TPM2_SetPrimaryPolicy() 45 gp.ownerPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy() 46 NvWriteReserved(NV_OWNER_ALG, &gp.ownerAlg); in TPM2_SetPrimaryPolicy() 47 NvWriteReserved(NV_OWNER_POLICY, &gp.ownerPolicy); in TPM2_SetPrimaryPolicy() 50 gp.endorsementAlg = in->hashAlg; in TPM2_SetPrimaryPolicy() 51 gp.endorsementPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy() 52 NvWriteReserved(NV_ENDORSEMENT_ALG, &gp.endorsementAlg); in TPM2_SetPrimaryPolicy() 53 NvWriteReserved(NV_ENDORSEMENT_POLICY, &gp.endorsementPolicy); in TPM2_SetPrimaryPolicy() 62 gp.lockoutAlg = in->hashAlg; in TPM2_SetPrimaryPolicy() 63 gp.lockoutPolicy = in->authPolicy; in TPM2_SetPrimaryPolicy() [all …]
|
D | NV.c | 486 s_reservedSize[NV_DISABLE_CLEAR] = sizeof(gp.disableClear); in NvInitStatic() 487 s_reservedSize[NV_OWNER_ALG] = sizeof(gp.ownerAlg); in NvInitStatic() 488 s_reservedSize[NV_ENDORSEMENT_ALG] = sizeof(gp.endorsementAlg); in NvInitStatic() 489 s_reservedSize[NV_LOCKOUT_ALG] = sizeof(gp.lockoutAlg); in NvInitStatic() 490 s_reservedSize[NV_OWNER_POLICY] = sizeof(gp.ownerPolicy); in NvInitStatic() 491 s_reservedSize[NV_ENDORSEMENT_POLICY] = sizeof(gp.endorsementPolicy); in NvInitStatic() 492 s_reservedSize[NV_LOCKOUT_POLICY] = sizeof(gp.lockoutPolicy); in NvInitStatic() 493 s_reservedSize[NV_OWNER_AUTH] = sizeof(gp.ownerAuth); in NvInitStatic() 494 s_reservedSize[NV_ENDORSEMENT_AUTH] = sizeof(gp.endorsementAuth); in NvInitStatic() 495 s_reservedSize[NV_LOCKOUT_AUTH] = sizeof(gp.lockoutAuth); in NvInitStatic() [all …]
|
D | DictionaryAttackParameters.c | 26 gp.maxTries = in->newMaxTries; in TPM2_DictionaryAttackParameters() 27 gp.recoveryTime = in->newRecoveryTime; in TPM2_DictionaryAttackParameters() 28 gp.lockoutRecovery = in->lockoutRecovery; in TPM2_DictionaryAttackParameters() 31 gp.failedTries = 0; in TPM2_DictionaryAttackParameters() 34 NvWriteReserved(NV_FAILED_TRIES, &gp.failedTries); in TPM2_DictionaryAttackParameters() 35 NvWriteReserved(NV_MAX_TRIES, &gp.maxTries); in TPM2_DictionaryAttackParameters() 36 NvWriteReserved(NV_RECOVERY_TIME, &gp.recoveryTime); in TPM2_DictionaryAttackParameters() 37 NvWriteReserved(NV_LOCKOUT_RECOVERY, &gp.lockoutRecovery); in TPM2_DictionaryAttackParameters()
|
D | PropertyCap.c | 91 *value = gp.firmwareV1; in TPMPropertyIsDefined() 95 *value = gp.firmwareV2; in TPMPropertyIsDefined() 291 if(gp.ownerAuth.t.size != 0) in TPMPropertyIsDefined() 293 if(gp.endorsementAuth.t.size != 0) in TPMPropertyIsDefined() 295 if(gp.lockoutAuth.t.size != 0) in TPMPropertyIsDefined() 297 if(gp.disableClear) in TPMPropertyIsDefined() 299 if(gp.failedTries >= gp.maxTries) in TPMPropertyIsDefined() 378 *value = gp.algorithmSet; in TPMPropertyIsDefined() 390 *value = gp.failedTries; in TPMPropertyIsDefined() 394 *value = gp.maxTries; in TPMPropertyIsDefined() [all …]
|
D | PCR.c | 181 *policy = gp.pcrPolicies.policy[groupIndex]; in PCRGetAuthPolicy() 182 return gp.pcrPolicies.hashAlg[groupIndex]; in PCRGetAuthPolicy() 205 gp.pcrPolicies.hashAlg[i] = TPM_ALG_NULL; in PCRSimStart() 206 gp.pcrPolicies.policy[i].t.size = 0; in PCRSimStart() 215 for(gp.pcrAllocated.count = 0; gp.pcrAllocated.count < HASH_COUNT; in PCRSimStart() 216 gp.pcrAllocated.count++) in PCRSimStart() 218 gp.pcrAllocated.pcrSelections[gp.pcrAllocated.count].hash in PCRSimStart() 219 = CryptGetHashAlgByIndex(gp.pcrAllocated.count); in PCRSimStart() 220 gp.pcrAllocated.pcrSelections[gp.pcrAllocated.count].sizeofSelect in PCRSimStart() 223 gp.pcrAllocated.pcrSelections[gp.pcrAllocated.count].pcrSelect[i] in PCRSimStart() [all …]
|
D | ChangePPS.c | 29 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.PPSeed.t.buffer); in TPM2_ChangePPS() 33 CryptGenerateRandom(PROOF_SIZE, gp.phProof.t.buffer); in TPM2_ChangePPS() 46 NvWriteReserved(NV_PP_SEED, &gp.PPSeed); in TPM2_ChangePPS() 47 NvWriteReserved(NV_PH_PROOF, &gp.phProof); in TPM2_ChangePPS() 52 gp.pcrPolicies.hashAlg[i] = TPM_ALG_NULL; in TPM2_ChangePPS() 53 gp.pcrPolicies.policy[i].t.size = 0; in TPM2_ChangePPS() 55 NvWriteReserved(NV_PCR_POLICIES, &gp.pcrPolicies); in TPM2_ChangePPS()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 40 GlobalizationPreferences gp = new GlobalizationPreferences(); in TestDefault() local 53 ULocale gpLocale0 = gp.getLocale(0); in TestDefault() 60 ULocale gpLocale1 = gp.getLocale(1); in TestDefault() 67 ULocale gpLocale2 = gp.getLocale(2); in TestDefault() 73 Calendar cal = gp.getCalendar(); in TestDefault() 81 Collator coll = gp.getCollator(); in TestDefault() 89 BreakIterator brk = gp.getBreakIterator(GlobalizationPreferences.BI_CHARACTER); in TestDefault() 107 NumberFormat nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); in TestDefault() 117 GlobalizationPreferences gp = new GlobalizationPreferences(); in TestFreezable() local 118 if (gp.isFrozen()) { in TestFreezable() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 44 GlobalizationPreferences gp = new GlobalizationPreferences(); in TestDefault() local 57 ULocale gpLocale0 = gp.getLocale(0); in TestDefault() 64 ULocale gpLocale1 = gp.getLocale(1); in TestDefault() 71 ULocale gpLocale2 = gp.getLocale(2); in TestDefault() 77 Calendar cal = gp.getCalendar(); in TestDefault() 85 Collator coll = gp.getCollator(); in TestDefault() 93 BreakIterator brk = gp.getBreakIterator(GlobalizationPreferences.BI_CHARACTER); in TestDefault() 111 NumberFormat nf = gp.getNumberFormat(GlobalizationPreferences.NF_NUMBER); in TestDefault() 121 GlobalizationPreferences gp = new GlobalizationPreferences(); in TestFreezable() local 122 if (gp.isFrozen()) { in TestFreezable() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | get_pathname.c | 49 struct get_pathname_struct *gp; in get_pathname_proc() local 52 gp = (struct get_pathname_struct *) priv_data; in get_pathname_proc() 56 gp->parent = dirent->inode; in get_pathname_proc() 57 if (dirent->inode == gp->search_ino) { in get_pathname_proc() 59 &gp->name); in get_pathname_proc() 61 gp->errcode = retval; in get_pathname_proc() 64 strncpy(gp->name, dirent->name, (dirent->name_len & 0xFF)); in get_pathname_proc() 65 gp->name[dirent->name_len & 0xFF] = '\0'; in get_pathname_proc() 75 struct get_pathname_struct gp; in ext2fs_get_pathname_int() local 95 gp.search_ino = ino; in ext2fs_get_pathname_int() [all …]
|
/external/llvm/test/MC/Mips/ |
D | cpload.s | 22 # OBJ-O32: lui $gp, 0 24 # OBJ-O32: addiu $gp, $gp, 0 26 # OBJ-O32: addu $gp, $gp, $25 29 # OBJ-N32-NOT: lui $gp, 0 30 # OBJ-N32-NOT: addiu $gp, $gp, 0 31 # OBJ-N32-NOT: addu $gp, $gp, $25 34 # OBJ-N64-NOT: lui $gp, 0 35 # OBJ-N64-NOT: addiu $gp, $gp, 0 36 # OBJ-N64-NOT: addu $gp, $gp, $25
|
D | cprestore-reorder.s | 36 # CHECK-FOR-STORE: sw $gp, 8($sp) 41 # CHECK: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] 45 # CHECK: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] 47 # CHECK: lw $25, %got(foo)($gp) # encoding: [0x8f,0x99,A,A] 53 # CHECK: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] 59 # MICROMIPS: lw $gp, 8($sp) # encoding: [0xff,0x9d,0x00,0x08] 63 # MICROMIPS: lw $gp, 8($sp) # encoding: [0xff,0x9d,0x00,0x08] 65 # MICROMIPS: lw $25, %got(foo)($gp) # encoding: [0xff,0x3c,A,A] 71 # MICROMIPS: lw $gp, 8($sp) # encoding: [0xff,0x9d,0x00,0x08] 76 # NO-PIC-NOT: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] [all …]
|
D | cprestore-noreorder.s | 35 # CHECK-FOR-STORE: sw $gp, 8($sp) 40 # CHECK: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] 44 # CHECK: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] 46 # CHECK: lw $25, %got(foo)($gp) # encoding: [0x8f,0x99,A,A] 52 # CHECK: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] 58 # MICROMIPS: lw $gp, 8($sp) # encoding: [0xff,0x9d,0x00,0x08] 62 # MICROMIPS: lw $gp, 8($sp) # encoding: [0xff,0x9d,0x00,0x08] 64 # MICROMIPS: lw $25, %got(foo)($gp) # encoding: [0xff,0x3c,A,A] 70 # MICROMIPS: lw $gp, 8($sp) # encoding: [0xff,0x9d,0x00,0x08] 75 # NO-PIC-NOT: lw $gp, 8($sp) # encoding: [0x8f,0xbc,0x00,0x08] [all …]
|
D | cpsetup.s | 69 # NXX-NEXT: move $2, $gp 70 # NXX-NEXT: lui $gp, 0 72 # NXX-NEXT: addiu $gp, $gp, 0 74 # N32-NEXT: addu $gp, $gp, $25 75 # N64-NEXT: daddu $gp, $gp, $25 82 # NXX-NEXT: move $gp, $2 109 # NXX-NEXT: move $2, $gp 110 # NXX-NEXT: lui $gp, 0 112 # NXX-NEXT: addiu $gp, $gp, 0 114 # N32-NEXT: addu $gp, $gp, $25 [all …]
|
D | expansion-jal-sym-pic.s | 53 # O32: lw $25, %got(local_label)($gp) # encoding: [0x8f,0x99,A,A] 58 # N32: lw $25, %got_disp(local_label)($gp) # encoding: [0x8f,0x99,A,A] 61 # N64: ld $25, %got_disp(local_label)($gp) # encoding: [0xdf,0x99,A,A] 64 # O32-MICROMIPS: lw $25, %got(local_label)($gp) # encoding: [0xff,0x3c,A,A] 69 # N32-MICROMIPS: lw $25, %got_disp(local_label)($gp) # encoding: [0xff,0x3c,A,A] 72 # N64-MICROMIPS: ld $25, %got_disp(local_label)($gp) # encoding: [0xdf,0x99,A,A] 81 # O32: lw $25, %call16(weak_label)($gp) # encoding: [0x8f,0x99,A,A] 84 # N32: lw $25, %call16(weak_label)($gp) # encoding: [0x8f,0x99,A,A] 87 # N64: ld $25, %call16(weak_label)($gp) # encoding: [0xdf,0x99,A,A] 90 # O32-MICROMIPS: lw $25, %call16(weak_label)($gp) # encoding: [0xff,0x3c,A,A] [all …]
|
/external/libexif/m4m/ |
D | Makefile.am | 1 …gp-byteorder.m4 gp-check-library.m4 gp-check-popt.m4 gp-check-shell-environment.m4 gp-config-msg.m…
|
/external/llvm/test/CodeGen/Mips/ |
D | call-optimization.ll | 11 ; O32-DAG: move $gp 13 ; O32-NOT: move $gp 15 ; O32-NOT: move $gp 17 ; O32-NOT: move $gp 19 ; O32-NOT: move $gp 24 ; O32-LOADTGT-DAG: move $gp 26 ; O32-LOADTGT-NOT: move $gp 28 ; O32-LOADTGT-NOT: move $gp 30 ; O32-LOADTGT-NOT: move $gp 32 ; O32-LOADTGT-NOT: move $gp [all …]
|
/external/llvm/test/CodeGen/Mips/msa/ |
D | frameindex.ll | 39 ; MIPS32-AE: addiu [[BASE:\$([0-9]+|gp)]], $sp, 512 42 ; MIPS32-AE: addiu [[BASE:\$([0-9]+|gp)]], $sp, 512 56 ; MIPS32-AE: ori [[R2:\$([0-9]+|gp)]], $zero, 32768 57 ; MIPS32-AE: addu [[BASE:\$([0-9]+|gp)]], $sp, [[R2]] 60 ; MIPS32-AE: ori [[R2:\$([0-9]+|gp)]], $zero, 32768 61 ; MIPS32-AE: addu [[BASE:\$([0-9]+|gp)]], $sp, [[R2]] 75 ; MIPS32-AE: ori [[R2:\$([0-9]+|gp)]], $zero, 32768 76 ; MIPS32-AE: addu [[BASE:\$([0-9]+|gp)]], $sp, [[R2]] 79 ; MIPS32-AE: ori [[R2:\$([0-9]+|gp)]], $zero, 32768 80 ; MIPS32-AE: addu [[BASE:\$([0-9]+|gp)]], $sp, [[R2]] [all …]
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 66 const DefaultGeoProc& gp = args.fGP.cast<DefaultGeoProc>(); in onEmitCode() local 73 varyingHandler->emitAttributes(gp); in onEmitCode() 76 if (!gp.colorIgnored()) { in onEmitCode() 77 if (gp.hasVertexColor()) { in onEmitCode() 78 varyingHandler->addPassThroughAttribute(gp.inColor(), args.fOutputColor); in onEmitCode() 89 gp.inPosition()->fName, in onEmitCode() 90 gp.viewMatrix(), in onEmitCode() 93 if (gp.hasExplicitLocalCoords()) { in onEmitCode() 99 gp.inLocalCoords()->fName, in onEmitCode() 100 gp.localMatrix(), in onEmitCode() [all …]
|
/external/skia/src/gpu/effects/ |
D | GrBezierEffect.cpp | 79 const GrConicEffect& gp = args.fGP.cast<GrConicEffect>(); in onEmitCode() local 84 varyingHandler->emitAttributes(gp); in onEmitCode() 88 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inConicCoeffs()->fName); in onEmitCode() 92 if (!gp.colorIgnored()) { in onEmitCode() 100 gp.inPosition()->fName, in onEmitCode() 101 gp.viewMatrix(), in onEmitCode() 109 gp.inPosition()->fName, in onEmitCode() 110 gp.localMatrix(), in onEmitCode() 216 if (gp.coverageScale() != 0xff) { in onEmitCode() 230 void GrGLConicEffect::GenKey(const GrGeometryProcessor& gp, in GenKey() argument [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | bitmap.h | 169 bitmap_t *gp; in bitmap_set() local 175 gp = &bitmap[goff]; in bitmap_set() 176 g = *gp; in bitmap_set() 179 *gp = g; in bitmap_set() 188 gp = &bitmap[binfo->levels[i].group_offset + goff]; in bitmap_set() 189 g = *gp; in bitmap_set() 192 *gp = g; in bitmap_set() 236 bitmap_t *gp; in bitmap_unset() local 243 gp = &bitmap[goff]; in bitmap_unset() 244 g = *gp; in bitmap_unset() [all …]
|