/aosp12/bionic/tests/ |
H A D | wctype_test.cpp | 43 EXPECT_TRUE(fn_l(*p, l.l)) << *p; in TestIsWideFn() 51 EXPECT_FALSE(fn_l(*p, l.l)) << *p; in TestIsWideFn() 151 EXPECT_EQ(WEOF, towupper_l(WEOF, l.l)); in TEST() 210 EXPECT_TRUE(iswctype_l(L'a', wctype_l("alnum", l.l), l.l)); in TEST() 211 EXPECT_TRUE(iswctype_l(L'1', wctype_l("alnum", l.l), l.l)); in TEST() 212 EXPECT_FALSE(iswctype_l(L' ', wctype_l("alnum", l.l), l.l)); in TEST() 214 EXPECT_EQ(0, iswctype_l(WEOF, wctype_l("alnum", l.l), l.l)); in TEST() 242 EXPECT_EQ(wint_t('a'), towctrans_l(L'A', wctrans_l("tolower", l.l), l.l)); in TEST() 243 EXPECT_EQ(WEOF, towctrans_l(WEOF, wctrans_l("tolower", l.l), l.l)); in TEST() 245 EXPECT_EQ(wint_t('A'), towctrans_l(L'a', wctrans_l("toupper", l.l), l.l)); in TEST() [all …]
|
/aosp12/art/test/403-optimizing-long/src/ |
H A D | Main.java | 29 expectEquals(42, l); in main() 33 expectEquals(42, l); in main() 36 expectEquals(42, l); in main() 39 expectEquals(42, l); in main() 42 expectEquals(42, l); in main() 48 expectEquals(1, l); in main() 85 return l; in $opt$TakeOneLong1() 89 return l; in $opt$TakeOneLong2() 93 return l; in $opt$TakeOneLong3() 97 return l; in $opt$TakeOneLong4() [all …]
|
/aosp12/build/blueprint/ |
H A D | live_tracker.go | 42 l.Lock() 43 defer l.Unlock() 94 def, ok := l.rules[r] 129 l.rules[r] = def 136 _, ok := l.pools[p] 147 l.pools[p] = def 199 l.Lock() 200 defer l.Unlock() 210 l.Lock() 211 defer l.Unlock() [all …]
|
/aosp12/frameworks/av/media/libmedia/include/media/omx/1.0/ |
H A D | Conversion.h | 276 switch (l) { in toStatus() 333 switch (l.type) { in wrapAs() 428 if (!wrapAs(l, t)) { in convertTo() 431 if (l->fenceFd == -1) { in convertTo() 434 l->fenceFd = dup(l->fenceFd); in convertTo() 435 return l->fenceFd != -1; in convertTo() 496 l->mFenceFd = fd; in convertTo() 611 t->attr.id = l.getId(); in wrapAs() 688 switch (l.mBufferType) { in wrapAs() 753 *l = OMXBuffer( in convertTo() [all …]
|
/aosp12/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
H A D | Conversion.h | 145 switch (l) { in toStatus() 191 switch (l.type) { in wrapAs() 286 if (!wrapAs(l, t)) { in convertTo() 289 if (l->fenceFd == -1) { in convertTo() 292 l->fenceFd = dup(l->fenceFd); in convertTo() 293 return l->fenceFd != -1; in convertTo() 354 l->mFenceFd = fd; in convertTo() 445 switch (l.mBufferType) { in wrapAs() 489 *l = OMXBuffer(); in convertTo() 493 *l = OMXBuffer( in convertTo() [all …]
|
/aosp12/build/soong/java/ |
H A D | lint.go | 133 return l 146 return l 228 if l.library { 231 if l.test { 303 l.minSdkVersion, l.targetSdkVersion). 328 if l.minSdkVersion != l.compileSdkVersion { 608 zip(l.htmlZip, func(l *lintOutputs) android.Path { return l.html }) 611 zip(l.textZip, func(l *lintOutputs) android.Path { return l.text }) 614 zip(l.xmlZip, func(l *lintOutputs) android.Path { return l.xml }) 616 ctx.Phony("lint-check", l.htmlZip, l.textZip, l.xmlZip) [all …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
H A D | AppStateTrackerTest.java | 939 reset(l); in assertNoCallbacks() 964 reset(l); in testPowerSaveListener() 980 reset(l); in testPowerSaveListener() 1012 reset(l); in testAllListeners() 1026 reset(l); in testAllListeners() 1056 reset(l); in testAllListeners() 1072 reset(l); in testAllListeners() 1090 reset(l); in testAllListeners() 1104 reset(l); in testAllListeners() 1120 reset(l); in testAllListeners() [all …]
|
/aosp12/system/core/libutils/include/utils/ |
H A D | FastStrcmp.h | 42 template <int (*cmp)(const char* l, const char* r, const size_t s)> 46 ((*l != *r) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fastcmp() 53 ((tolower(*l) != tolower(*r)) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fasticmp() 58 const char* l = static_cast<const char*>(lv); in fastcmp() local 62 ((*l != *r) || (__predict_true(n > 1) && cmp(l + 1, r + 1, n - 1))); in fastcmp() 65 template <int (*cmp)(const char* l, const char* r)> 66 static inline int fastcmp(const char* l, const char* r) { in fastcmp() argument 67 return (*l != *r) || (__predict_true(*l) && cmp(l + 1, r + 1)); in fastcmp() 70 template <int (*cmp)(const char* l, const char* r)> 71 static inline int fasticmp(const char* l, const char* r) { in fasticmp() argument [all …]
|
/aosp12/art/test/178-app-image-native-method/ |
H A D | native_methods.cc | 140 jlong l, in Java_CriticalSignatures_nativeILFFFFD() argument 157 jlong l, in Java_CriticalSignatures_nativeLIFFFFD() argument 176 jlong l, in Java_CriticalSignatures_nativeFLIFFFD() argument 217 jlong l, in Java_CriticalSignatures_nativeDFFILIII() argument 237 jlong l, in Java_CriticalSignatures_nativeDDFILIII() argument 447 if (l0 != l + 0) return -0; in Java_CriticalSignatures_nativeFullArgs() 449 if (l3 != l + 3) return -3; in Java_CriticalSignatures_nativeFullArgs() 451 if (l6 != l + 6) return -6; in Java_CriticalSignatures_nativeFullArgs() 453 if (l9 != l + 9) return -9; in Java_CriticalSignatures_nativeFullArgs() 455 if (l12 != l + 12) return -12; in Java_CriticalSignatures_nativeFullArgs() [all …]
|
/aosp12/frameworks/base/core/java/android/content/ |
H A D | LoggingContentInterface.java | 99 l.setResult(res); in query() 111 l.setResult(res); in getType() 124 l.setResult(res); in getStreamTypes() 136 l.setResult(res); in canonicalize() 148 l.setResult(res); in uncanonicalize() 161 l.setResult(res); in refresh() 174 l.setResult(res); in checkUriPermission() 187 l.setResult(res); in insert() 200 l.setResult(res); in bulkInsert() 212 l.setResult(res); in delete() [all …]
|
/aosp12/build/soong/genrule/ |
H A D | locations.go | 34 func (l inputLocation) String() string { 35 return strings.Join(l.paths.Strings(), " ") 39 return cmd.PathsForInputs(l.paths) 49 func (l outputLocation) String() string { 50 return l.path.String() 64 func (l toolLocation) String() string { 69 return cmd.PathsForTools(l.paths) 81 return l.spec.FileName() 96 func (l errorLocation) String() string { 97 return l.err [all …]
|
/aosp12/system/tools/hidl/utils/ |
H A D | FQName.cpp | 88 while (l < end && isIdentBody(*l)) l++; in eatIdent() 96 while (l < end && *l == '.') { in eatPackage() 97 l++; in eatPackage() 106 if (*l == '0') return l + 1; in eatNumber() 108 while (l < end && isDigit(*l)) l++; in eatNumber() 136 if (l < end && isIdentStart(*l)) { in setTo() 140 if (l < end && *l == '@') { in setTo() 146 if (!(l < end && *l++ == '.')) return false; in setTo() 151 if (l < end && *l == ':') { in setTo() 153 if (l < end && *l == ':') { in setTo() [all …]
|
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/ |
H A D | LinkAddressTest.java | 338 LinkAddress l; in testParceling() local 340 l = new LinkAddress(V6_ADDRESS, 64, 123, 456); in testParceling() 341 assertParcelingIsLossless(l); in testParceling() 344 assertParcelingIsLossless(l); in testParceling() 350 assertParcelingIsLossless(l); in testLifetimeParceling() 398 assertEquals(123, l.getFlags()); in testGetFlags() 427 assertTrue(msg, l.isGlobalPreferred()); in assertGlobalPreferred() 431 assertFalse(msg, l.isGlobalPreferred()); in assertNotGlobalPreferred() 436 LinkAddress l; in testIsGlobalPreferred() local 439 assertGlobalPreferred(l, "v4,global,noflags"); in testIsGlobalPreferred() [all …]
|
/aosp12/art/test/669-checker-break/src/ |
H A D | Main.java | 70 int l = 0; in breakLoop() local 72 int i = l; in breakLoop() 73 if (l <= u) { in breakLoop() 109 int l = 0; in breakLoopDown() local 112 if (u >= l) { in breakLoopDown() 173 int i = l; in breakLoopSafeConst() 205 int i = l; in breakLoopUnsafeConst() 237 int l = 0; in breakLoopNastyPhi() local 241 int i = l; in breakLoopNastyPhi() 304 int l = 0; in breakLoopReduction() local [all …]
|
/aosp12/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 571 state = l.mParameters.state; in setPreviewWindowL() 608 l.mParameters.state = state; in setPreviewWindowL() 707 switch(l.mParameters.state) { in setPreviewCallbackTarget() 1038 switch (l.mParameters.state) { in setVideoBufferMode() 1255 switch (l.mParameters.state) { in stopRecording() 1399 l.mParameters.shadowFocusMode = l.mParameters.focusMode; in autoFocus() 1404 l.mParameters.currentAfTriggerId = ++l.mParameters.afTriggerCounter; in autoFocus() 1433 if (l.mParameters.afTriggerCounter == l.mParameters.currentAfTriggerId) { in cancelAutoFocus() 1445 l.mParameters.focusMode = l.mParameters.shadowFocusMode; in cancelAutoFocus() 1614 return l.mParameters.get(); in getParameters() [all …]
|
/aosp12/art/test/027-arithmetic/src/ |
H A D | Main.java | 27 long l; in shiftTest1() local 39 l = (long)mBytes[0] in shiftTest1() 73 long l; in convTest() local 95 l = (long) d; in convTest() 99 l = (long) d; in convTest() 104 l = (long) i; in convTest() 108 l = (long) i; in convTest() 112 l = 5678956789L; in convTest() 113 i = (int) l; in convTest() 116 l = -5678956789L; in convTest() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskChangeNotificationController.java | 83 l.onTaskStackChanged(); 91 l.onTaskRemoved(m.arg1); 120 l.onActivityUnpinned(); 134 l.onActivityDismissingDockedTask(); 146 l.onTaskProfileLocked(m.arg1, m.arg2); 154 l.onTaskDisplayChanged(m.arg1, m.arg2); 158 l.onRecentTaskListUpdated(); 162 l.onRecentTaskListFrozenChanged(m.arg1 != 0); 166 l.onTaskFocusChanged(m.arg1, m.arg2 != 0); 174 l.onActivityRotation(m.arg1); [all …]
|
/aosp12/build/soong/filesystem/ |
H A D | logical_partition.go | 91 return proptools.StringDefault(l.properties.Stem, l.BaseModuleName()+".img") 110 for _, group := range l.properties.Groups { 114 sparsePartitions(l.properties.Default_group) 118 size := proptools.String(l.properties.Size) 130 if proptools.Bool(l.properties.Sparse) { 157 for _, group := range l.properties.Groups { 181 l.output = android.PathForModuleOut(ctx, l.installFileName()).OutputPath 182 cmd.FlagWithOutput("--output=", l.output) 187 ctx.InstallFile(l.installDir, l.installFileName(), l.output) 228 return l.output [all …]
|
/aosp12/build/soong/linkerconfig/ |
H A D | linkerconfig.go | 64 func (l *linkerConfig) BaseDir() string { 68 func (l *linkerConfig) SubDir() string { 72 func (l *linkerConfig) OutputFile() android.OutputPath { 73 return l.outputFilePath 81 return android.Paths{l.outputFilePath}, nil 95 l.outputFilePath = output 96 l.installDirPath = android.PathForModuleInstall(ctx, "etc") 97 if !proptools.BoolDefault(l.properties.Installable, true) { 98 l.SkipInstall() 100 ctx.InstallFile(l.installDirPath, l.outputFilePath.Base(), l.outputFilePath) [all …]
|
/aosp12/packages/apps/Gallery2/jni/filters/ |
H A D | edge.c | 59 int l; in JNIFUNCF() local 60 for (l = 0; l < 3; l++) { in JNIFUNCF() 62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() 63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF() 64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF() 65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF() 67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF() 74 for (l = 0; l < 3; l++) { in JNIFUNCF() 76 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() [all …]
|
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ |
H A D | BaseDvrDataManager.java | 123 l.onDvrScheduleLoadFinished(); in notifyDvrScheduleLoadFinished() 134 l.onRecordedProgramLoadFinished(); in notifyRecordedProgramLoadFinished() 140 for (RecordedProgramListener l : mRecordedProgramListeners) { in notifyRecordedProgramsAdded() 142 l.onRecordedProgramsAdded(recordedPrograms); in notifyRecordedProgramsAdded() 150 l.onRecordedProgramsChanged(recordedPrograms); in notifyRecordedProgramsChanged() 158 l.onRecordedProgramsRemoved(recordedPrograms); in notifyRecordedProgramsRemoved() 166 l.onSeriesRecordingAdded(seriesRecordings); in notifySeriesRecordingAdded() 174 l.onSeriesRecordingRemoved(seriesRecordings); in notifySeriesRecordingRemoved() 182 l.onSeriesRecordingChanged(seriesRecordings); in notifySeriesRecordingChanged() 190 l.onScheduledRecordingAdded(scheduledRecording); in notifyScheduledRecordingAdded() [all …]
|
/aosp12/build/soong/cmd/diff_target_files/ |
H A D | allow_list.go | 109 return l, err 112 return l, err 114 l = append(l[:i], l[i+1:]...) 122 if len(l) == 0 { 123 l = nil 126 return l, nil 134 return l, err 136 l = append(l[:i], l[i+1:]...) 143 if len(l) == 0 { 144 l = nil [all …]
|
/aosp12/art/test/624-checker-stringops/smali/ |
H A D | Smali.smali | 20 ## CHECK-DAG: <<New:l\d+>> NewInstance 21 ## CHECK-DAG: <<String1:l\d+>> LoadString 22 ## CHECK-DAG: <<Append1:l\d+>> InvokeVirtual [<<New>>,<<String1>>] intrinsic:StringBufferAppend 23 ## CHECK-DAG: <<String2:l\d+>> LoadString 24 ## CHECK-DAG: <<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBufferAppend 48 ## CHECK-DAG: <<New:l\d+>> NewInstance 49 ## CHECK-DAG: <<String1:l\d+>> LoadString 51 ## CHECK-DAG: <<String2:l\d+>> LoadString 56 ## CHECK-DAG: <<New:l\d+>> NewInstance 57 ## CHECK-DAG: <<String1:l\d+>> LoadString [all …]
|
/aosp12/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 62 Mutex::Autolock l(mInputMutex); in setZslProcessor() local 69 Mutex::Autolock l(mInputMutex); in startCapture() local 84 Mutex::Autolock l(mStateMutex); in waitUntilIdle() local 100 Mutex::Autolock l(mInputMutex); in notifyAutoExposure() local 113 Mutex::Autolock l(mInputMutex); in notifyShutter() local 148 Mutex::Autolock l(mInputMutex); in onResultAvailable() local 161 Mutex::Autolock l(mInputMutex); in onCaptureAvailable() local 238 Mutex::Autolock l(mStateMutex); in threadLoop() local 265 Mutex::Autolock l(mInputMutex); in manageIdle() local 470 Mutex::Autolock l(mInputMutex); in manageStandardPrecaptureWait() local [all …]
|
/aosp12/bionic/libc/upstream-openbsd/lib/libc/string/ |
H A D | memmem.c | 77 for (i=0; i<l; i++) in twoway_memmem() 82 while (jp+k<l) { in twoway_memmem() 102 while (jp+k<l) { in twoway_memmem() 123 p = MAX(ms, l-ms-1) + 1; in twoway_memmem() 124 } else mem0 = l-p; in twoway_memmem() 130 if (z-h < l) return 0; in twoway_memmem() 134 k = l-shift[h[l-1]]; in twoway_memmem() 142 h += l; in twoway_memmem() 149 if (k < l) { in twoway_memmem() 171 if (k<l) return 0; in memmem() [all …]
|