Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/os/jni/seccomp-tests/tests/
Dsigsegv.c103 #define _ALIGN(x,sz) (((x + ((sz)-1)) & ~((sz)-1)) - (sz)) argument
104 #define ALIGN(x,sz) ((typeof(x))_ALIGN((unsigned long)(x),(unsigned long)(sz))) argument
105 static long local_mprotect(void *target, unsigned long sz) in local_mprotect() argument
108 __attribute__((unused)) register void *addr asm ("rdi") = ALIGN(target, sz); in local_mprotect()
109 __attribute__((unused)) register long len asm ("rsi") = sz; in local_mprotect()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsic3DLut.java28 final int sz = 16; field in Intrinsic3DLut
31 int dat[] = new int[sx * sy * sz]; in genCubeIdent()
32 for (int z = 0; z < sz; z++) { in genCubeIdent()
38 v |= (0xff * z / (sz - 1)) << 16; in genCubeIdent()
49 int dat[] = new int[sx * sy * sz]; in genCubeRand()
50 for (int z = 0; z < sz; z++) { in genCubeRand()
69 tb.setZ(sz); in initCube()
DAtomicTest.java29 private void initS(boolean fillData, int sz) { in initS() argument
30 mSrcData = new int[sz * sz]; in initS()
32 mSrc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.I32(mRS), sz, sz)); in initS()
40 private void initU(boolean fillData, int sz) { in initU() argument
41 mSrcData = new int[sz * sz]; in initU()
43 mSrc = Allocation.createTyped(mRS, Type.createXY(mRS, Element.U32(mRS), sz, sz)); in initU()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_array/d/
DT_new_array_1.java21 public int[] run(int sz) { in run() argument
22 return new int[sz]; in run()
DT_new_array_2.java21 public boolean[] run(int sz) { in run() argument
22 return new boolean[sz]; in run()
DT_new_array_3.java21 public Object[] run(int sz) { in run() argument
22 return new Object[sz]; in run()
/cts/tools/dasm/src/dasm/
DDasmCatchBuilder.java118 int sz = unprocessed_catches.size(); in getCatchTypes() local
119 HashSet<Type> result = new HashSet<Type>(sz); in getCatchTypes()
120 for (int i = 0; i < sz; i++) { in getCatchTypes()
150 int sz = unprocessed_catches.size(); in add() local
151 for (int i = 0; i < sz; i++) { in add()
174 int sz = unprocessed_catches.size(); in build() local
175 CatchTable result = new CatchTable(sz); in build()
176 for (int i = 0; i < sz; i++) { in build()
DDAsm.java285 int sz = interfaces.size(); in addInterface() local
288 for (int i = 0; i < sz; i++) { in addInterface()
423 int sz = data_blocks.size(); in endMethod() local
424 for (int i = 0; i < sz; i++) { in endMethod()
803 int sz = regN - regC + 1; in addOpcode() local
804 reg_spec_list = new RegisterSpecList(sz); in addOpcode()
806 for (int i = 0; i < sz; i++) { in addOpcode()
1144 int sz = regN - regC + 1; in addOpcode() local
1145 RegisterSpecList reg_spec_list = new RegisterSpecList(sz); in addOpcode()
1147 for (int i = 0; i < sz; i++) { in addOpcode()
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DRecordingTest.java664 for (Size sz : mSupportedVideoSizes) { in recordingSizeTestByCamera()
665 if (!isSupported(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE)) { in recordingSizeTestByCamera()
670 Log.v(TAG, "Testing camera recording with video size " + sz.toString()); in recordingSizeTestByCamera()
677 + sz.toString() + ".mp4"; in recordingSizeTestByCamera()
681 prepareRecording(sz, VIDEO_FRAME_RATE, VIDEO_FRAME_RATE); in recordingSizeTestByCamera()
684 updatePreviewSurfaceWithVideo(sz, VIDEO_FRAME_RATE); in recordingSizeTestByCamera()
700 validateRecording(sz, durationMs); in recordingSizeTestByCamera()
1074 private void prepareRecording(Size sz, int videoFrameRate, int captureRate) in prepareRecording() argument
1081 mMediaRecorder.setVideoEncodingBitRate(getVideoBitRate(sz)); in prepareRecording()
1084 mMediaRecorder.setVideoSize(sz.getWidth(), sz.getHeight()); in prepareRecording()
[all …]
DImageReaderTest.java692 for (Size sz : availableSizes) { in bufferFormatTestByCamera()
695 Log.v(TAG, "Testing size " + sz.toString() + " format " + format in bufferFormatTestByCamera()
701 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatTestByCamera()
711 validateImage(sz, format, numFrameVerified, repeating); in bufferFormatTestByCamera()
714 validateCaptureResult(format, sz, listener, numFrameVerified); in bufferFormatTestByCamera()
736 for (Size sz : availableSizes) { in bufferFormatLongProcessingTimeTestByCamera()
737 Log.v(TAG, "testing size " + sz.toString()); in bufferFormatLongProcessingTimeTestByCamera()
740 Log.v(TAG, "Testing long processing time: size " + sz.toString() + " format " + in bufferFormatLongProcessingTimeTestByCamera()
746 createDefaultImageReader(sz, format, MAX_NUM_IMAGES, mListener); in bufferFormatLongProcessingTimeTestByCamera()
774 CameraTestUtils.validateImage(img, sz.getWidth(), sz.getHeight(), format, in bufferFormatLongProcessingTimeTestByCamera()
[all …]
DCameraTestUtils.java248 public ImageVerifierListener(Size sz, int format) { in ImageVerifierListener() argument
249 mSize = sz; in ImageVerifierListener()
1036 for (Size sz: rawSizes) { in getSupportedPreviewSizes()
1037 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1038 sizes.add(sz); in getSupportedPreviewSizes()
1083 for (Size sz : sizes) { in getSortedSizesForFormat()
1084 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1085 sortedSizes.add(sz); in getSortedSizesForFormat()
1124 for (Size sz: rawSizes) { in getSupportedVideoSizes()
1125 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes()
[all …]
DSurfaceViewPreviewTest.java409 for (final Size sz : previewSizes) { in previewTestByCamera()
411 Log.v(TAG, "Testing camera preview size: " + sz.toString()); in previewTestByCamera()
420 startPreview(requestBuilder, sz, mockCaptureCallback); in previewTestByCamera()
DRobustnessTest.java1515 Size sz = null; in getMaxSize() local
1519 if (sz == null) { in getMaxSize()
1520 sz = size; in getMaxSize()
1522 long curArea = sz.getWidth() * (long) sz.getHeight(); in getMaxSize()
1525 sz = size; in getMaxSize()
1532 sz != null); in getMaxSize()
1534 return sz; in getMaxSize()
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DMatrix.cpp152 float sz = fx * upY - fy * upX; in newLookAt() local
155 float rls = 1.0f / (float) sqrt(sx * sx + sy * sy + sz * sz); in newLookAt()
158 sz *= rls; in newLookAt()
161 float ux = sy * fz - sz * fy; in newLookAt()
162 float uy = sz * fx - sx * fz; in newLookAt()
176 d[8] = sz; in newLookAt()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java1332 for (Size sz : standardSizes) { in getMaxSupportedEncoderSize()
1334 MIME_TYPE, sz.getWidth(), sz.getHeight()); in getMaxSupportedEncoderSize()
1337 return sz; in getMaxSupportedEncoderSize()
/cts/tests/tests/media/assets/
Dsegment000000.ts5289 ��sz�0H�(k��/ITƐl��tn�1q��$q����zۡ