/aosp12/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Allocators.h | 30 Chunk() : next(NULL), bound(0) {} in Chunk() 44 size_t bound; variable 54 Chunk() : next(NULL), bound(0) { in Chunk() 80 size_t bound; variable 151 m_pCurrent->bound += N; in allocate() 161 if (chunk_type::size() == m_pCurrent->bound) in allocate() 164 ++m_pCurrent->bound; in allocate() 173 N >= m_pCurrent->bound) in deallocate() 177 m_pCurrent->bound -= N; in deallocate() 183 if (m_pCurrent->bound == 0) in deallocate() [all …]
|
H A D | GCFactory.h | 36 if ((m_Pos == m_pChunk->bound) && (0 == m_pChunk->next)) in advance() 38 if (m_Pos == m_pChunk->bound) { in advance() 161 : iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound); in end() 167 : const_iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound); in end()
|
/aosp12/art/test/519-bound-load-class/ |
H A D | Android.bp | 3 // Build rules for ART run-test `519-bound-load-class`. 16 name: "art-run-test-519-bound-load-class", 21 ":art-run-test-519-bound-load-class-expected-stdout", 22 ":art-run-test-519-bound-load-class-expected-stderr", 28 name: "art-run-test-519-bound-load-class-expected-stdout", 29 out: ["art-run-test-519-bound-load-class-expected-stdout.txt"], 36 name: "art-run-test-519-bound-load-class-expected-stderr", 37 out: ["art-run-test-519-bound-load-class-expected-stderr.txt"],
|
/aosp12/art/test/477-checker-bound-type/ |
H A D | Android.bp | 3 // Build rules for ART run-test `477-checker-bound-type`. 16 name: "art-run-test-477-checker-bound-type", 21 ":art-run-test-477-checker-bound-type-expected-stdout", 22 ":art-run-test-477-checker-bound-type-expected-stderr", 31 name: "art-run-test-477-checker-bound-type-expected-stdout", 32 out: ["art-run-test-477-checker-bound-type-expected-stdout.txt"], 39 name: "art-run-test-477-checker-bound-type-expected-stderr", 40 out: ["art-run-test-477-checker-bound-type-expected-stderr.txt"],
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DisplayCutoutTest.java | 81 Rect bound = new Rect(0, 80, 10, 120); in testExtractBoundsFromList_left() local 82 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_left() 83 equalTo(new Rect[]{bound, ZERO_RECT, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_left() 89 Rect bound = new Rect(80, 0, 120, 10); in testExtractBoundsFromList_top() local 90 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_top() 91 equalTo(new Rect[]{ZERO_RECT, bound, ZERO_RECT, ZERO_RECT})); in testExtractBoundsFromList_top() 97 Rect bound = new Rect(190, 80, 200, 120); in testExtractBoundsFromList_right() local 98 assertThat(extractBoundsFromList(safeInsets, Collections.singletonList(bound)), in testExtractBoundsFromList_right() 99 equalTo(new Rect[]{ZERO_RECT, ZERO_RECT, bound, ZERO_RECT})); in testExtractBoundsFromList_right() 105 Rect bound = new Rect(80, 190, 120, 200); in testExtractBoundsFromList_bottom() local [all …]
|
/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcmutils.h | 685 #define MODDEC(x, bound) MUX((x) == 0, (bound) - 1, (x) - 1) argument 686 #define MODINC(x, bound) MUX((x) == (bound) - 1, 0, (x) + 1) argument 689 #define MODDEC_POW2(x, bound) (((x) - 1) & ((bound) - 1)) argument 690 #define MODINC_POW2(x, bound) (((x) + 1) & ((bound) - 1)) argument 693 #define MODADD(x, y, bound) \ argument 694 MUX((x) + (y) >= (bound), (x) + (y) - (bound), (x) + (y)) 695 #define MODSUB(x, y, bound) \ argument 696 MUX(((int)(x)) - ((int)(y)) < 0, (x) - (y) + (bound), (x) - (y)) 699 #define MODADD_POW2(x, y, bound) (((x) + (y)) & ((bound) - 1)) argument 700 #define MODSUB_POW2(x, y, bound) (((x) - (y)) & ((bound) - 1)) argument
|
/aosp12/art/compiler/optimizing/ |
H A D | dead_code_elimination.cc | 182 HBoundType* bound = nullptr; in RemoveNonNullControlDependences() local 192 if (bound == nullptr) { in RemoveNonNullControlDependences() 194 bound = new (obj->GetBlock()->GetGraph()->GetAllocator()) HBoundType(obj); in RemoveNonNullControlDependences() 195 bound->SetUpperBound(ti, /*can_be_null*/ false); in RemoveNonNullControlDependences() 196 bound->SetReferenceTypeInfo(ti); in RemoveNonNullControlDependences() 197 bound->SetCanBeNull(false); in RemoveNonNullControlDependences() 198 not_throws->InsertInstructionBefore(bound, not_throws->GetFirstInstruction()); in RemoveNonNullControlDependences() 200 user->ReplaceWith(bound); in RemoveNonNullControlDependences() 205 return bound != nullptr; in RemoveNonNullControlDependences()
|
H A D | bounds_check_elimination.cc | 153 bool Equals(ValueBound bound) const { in Equals() 154 return instruction_ == bound.instruction_ && constant_ == bound.constant_; in Equals() 172 return constant_ >= bound.constant_; in GreaterThanOrEqualTo() 190 return constant_ > bound.constant_; in GreaterThan() 197 bool LessThan(ValueBound bound) const { in LessThan() 199 return constant_ < bound.constant_; in LessThan() 373 ValueBound bound) in MonotonicValueRange() argument 380 bound_(bound) {} in MonotonicValueRange() 721 ValueBound lower = bound; in HandleIf() 722 ValueBound upper = bound; in HandleIf() [all …]
|
/aosp12/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | FisheyeFilter.java | 159 float bound = (float) Math.sqrt(bound2); in updateProgramParams() local 160 float radius = 1.15f * bound; in updateProgramParams() 163 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2)); in updateProgramParams() 164 float factor = bound / max_radian; in updateProgramParams()
|
/aosp12/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | fisheye_approx_f.rsh | 40 const float bound = sqrt(bound2); 41 const float radius = 1.15f * bound; 43 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 44 factor = bound / max_radian;
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | fisheye.rsh | 38 const float bound = sqrt(bound2); 39 const float radius = 1.15f * bound; 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 42 factor = bound / max_radian;
|
H A D | fisheye_approx.rsh | 38 const float bound = sqrt(bound2); 39 const float radius = 1.15f * bound; 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 42 factor = bound / max_radian;
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | fisheye.rsh | 38 const float bound = sqrt(bound2); 39 const float radius = 1.15f * bound; 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 42 factor = bound / max_radian;
|
H A D | fisheye_approx.rsh | 38 const float bound = sqrt(bound2); 39 const float radius = 1.15f * bound; 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 42 factor = bound / max_radian;
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | fisheye.rsh | 38 const float bound = sqrt(bound2); 39 const float radius = 1.15f * bound; 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 42 factor = bound / max_radian;
|
H A D | fisheye_approx.rsh | 38 const float bound = sqrt(bound2); 39 const float radius = 1.15f * bound; 41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2)); 42 factor = bound / max_radian;
|
/aosp12/hardware/interfaces/tetheroffload/config/1.0/ |
H A D | IOffloadConfig.hal | 25 * Provides bound netlink file descriptors for use in the management process 27 * @param fd1 A file descriptor bound to the following netlink groups 29 * @param fd2 A file descriptor bound to the following netlink groups
|
/aosp12/system/core/fs_mgr/libsnapshot/ |
H A D | cow_writer.cpp | 348 auto bound = compressBound(length); in Compress() local 349 auto buffer = std::make_unique<uint8_t[]>(bound); in Compress() 351 uLongf dest_len = bound; in Compress() 361 auto bound = BrotliEncoderMaxCompressedSize(length); in Compress() local 362 if (!bound) { in Compress() 366 auto buffer = std::make_unique<uint8_t[]>(bound); in Compress() 368 size_t encoded_size = bound; in Compress()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropMath.java | 140 public static boolean pointInRotatedRect(float[] point, RectF bound, float rot) { in pointInRotatedRect() argument 143 m.setRotate(rot, bound.centerX(), bound.centerY()); in pointInRotatedRect() 148 return inclusiveContains(bound, p[0], p[1]); in pointInRotatedRect()
|
/aosp12/system/update_engine/stable/ |
H A D | update_engine_stable_client.cc | 112 bool bound; in Run() local 113 if (!service_->bind(callback_, &bound).isOk() || !bound) { in Run()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | SimpleCursorAdapter.java | 148 boolean bound = false; in bindView() 150 bound = binder.setViewValue(v, cursor, from[i]); in bindView() 153 if (!bound) { in bindView()
|
H A D | SimpleCursorTreeAdapter.java | 218 boolean bound = false; in bindView() 220 bound = binder.setViewValue(v, cursor, from[i]); in bindView() 223 if (!bound) { in bindView()
|
/aosp12/packages/modules/adb/daemon/ |
H A D | usb.cpp | 261 bool bound = false; in StartMonitor() local 271 int timeout_ms = bound ? -1 : 1000; in StartMonitor() 303 if (bound) { in StartMonitor() 315 bound = true; in StartMonitor() 319 if (!bound) { in StartMonitor() 336 if (!bound) { in StartMonitor() 353 if (!bound) { in StartMonitor() 357 bound = false; in StartMonitor()
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 1064 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes() argument 1074 if (bound == null) { in getSupportedPreviewSizes() 1080 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes() 1124 if (bound != null) { in getSortedSizesForFormat() 1127 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat() 1152 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedVideoSizes() argument 1162 if (bound == null) { in getSupportedVideoSizes() 1168 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes() 2224 if (bound.getWidth() <= width && in getPreviewSizeBound() 2225 bound.getHeight() <= height) in getPreviewSizeBound() [all …]
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | CarExperimentalFeatureServiceController.java | 145 boolean bound = bindService(intent); in init() 146 if (!bound) { in init() 150 mBound = bound; in init()
|