/external/mesa3d/src/mesa/swrast/ |
s_texture.c | 299 GLuint unit = ffs(enabledUnits) - 1; local 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 304 enabledUnits &= ~(1 << unit); 319 GLuint unit = ffs(enabledUnits) - 1; local 320 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 324 enabledUnits &= ~(1 << unit);
|
/external/openssh/openbsd-compat/ |
fmt_scaled.c | 35 * "Human-readable" output uses 4 digits max, and puts a unit suffix at 197 unit_type unit = NONE; local 212 unit = units[i]; 233 else if (unit == NONE || number >= 100 || number <= -100) { 241 number, scale_chars[unit]); 244 number, fract, scale_chars[unit]);
|
/external/parameter-framework/parameter/ |
ParameterType.cpp | 40 const std::string CParameterType::gUnitPropertyName = "Unit"; 68 // Unit 95 const string& unit = getUnit(); local 96 if (!unit.empty()) { 97 xmlElement.setAttributeString(gUnitPropertyName, unit); 115 // Add Unit property if found
|
/frameworks/av/media/libstagefright/rtsp/ |
AAVCAssembler.cpp | 162 sp<ABuffer> unit = new ABuffer(nalSize); local 163 memcpy(unit->data(), &data[2], nalSize); 165 CopyTimes(unit, buffer); 167 addSingleNALUnit(unit); 281 // We found all the fragments that make up the complete NAL unit. 287 sp<ABuffer> unit = new ABuffer(totalSize); local 288 CopyTimes(unit, *queue->begin()); 290 unit->data()[0] = (nri << 5) | nalType; 302 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2); 308 unit->setRange(0, totalSize) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
ByteArrayHelpers.java | 17 package com.android.mediaframeworktest.unit;
|
CameraUtilsDecoratorTest.java | 17 package com.android.mediaframeworktest.unit; 28 * adb shell am instrument -e class 'com.android.mediaframeworktest.unit.CameraUtilsDecoratorTest' \
|
ImageReaderTest.java | 17 package com.android.mediaframeworktest.unit; 31 private static final String TAG = "ImageReaderTest-unit";
|
MediaMetadataRetrieverTest.java | 17 package com.android.mediaframeworktest.unit;
|
MediaPlayerStateErrors.java | 17 package com.android.mediaframeworktest.unit;
|
RangeTest.java | 17 package com.android.mediaframeworktest.unit; 26 * -e class 'com.android.mediaframeworktest.unit.RangeTest' \
|
/libcore/luni/src/main/java/libcore/icu/ |
RelativeDateTimeFormatter.java | 71 * In the implementation below, it selects the appropriate time unit based on 75 * minResolution is HOUR_IN_MILLIS. Once getting the quantity and unit to 139 com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit unit; local 144 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.SECONDS; 147 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.MINUTES; 153 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.HOURS; 156 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.DAYS; 160 // available. Note that we cannot set up direction and unit here and 197 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.WEEKS; 224 return formatter.format(count, direction, unit); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
uvcvideo.h | 59 __u8 unit; member in struct:uvc_xu_control_query
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/ |
uvcvideo.h | 65 __u8 unit; member in struct:uvc_xu_control_query
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/ |
uvcvideo.h | 65 __u8 unit; member in struct:uvc_xu_control_query
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/ |
uvcvideo.h | 65 __u8 unit; member in struct:uvc_xu_control_query
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/linux/ |
uvcvideo.h | 65 __u8 unit; member in struct:uvc_xu_control_query
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/linux/ |
uvcvideo.h | 65 __u8 unit; member in struct:uvc_xu_control_query
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/linux/ |
uvcvideo.h | 65 __u8 unit; member in struct:uvc_xu_control_query
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
WrappingExecutorServiceTest.java | 109 TimeUnit unit = TimeUnit.SECONDS; local 112 List<Future<String>> futures = testExecutor.invokeAll(tasks, timeout, unit); 113 mock.assertMethodWithTimeout("invokeAll", timeout, unit); 129 TimeUnit unit = TimeUnit.SECONDS; local 132 String s = testExecutor.invokeAny(tasks, timeout, unit); 134 mock.assertMethodWithTimeout("invokeAny", timeout, unit); 204 public void assertMethodWithTimeout(String method, long timeout, TimeUnit unit) { 206 assertEquals(unit.toMillis(timeout), lastTimeoutInMillis); 210 public boolean awaitTermination(long timeout, TimeUnit unit) { 225 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
Wap230WspContentTypeTest.java | 225 WspTypeDecoder unit = new WspTypeDecoder( local 227 assertTrue(unit.decodeContentType(0)); 228 String mimeType = unit.getValueString(); 229 int wellKnownValue = (int) unit.getValue32(); 232 assertEquals(1, unit.getDecodedDataLength()); 245 WspTypeDecoder unit = new WspTypeDecoder(data); local 246 assertTrue(unit.decodeContentType(0)); 247 String mimeType = unit.getValueString(); 248 int wellKnownValue = (int) unit.getValue32(); 251 assertEquals(4, unit.getDecodedDataLength()) 259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 286 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 301 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 317 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 336 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 355 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 374 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 392 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 411 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 432 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 454 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 479 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 497 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 516 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 540 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 565 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 590 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 612 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 633 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 658 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 680 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 703 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 724 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 746 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 768 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 788 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 800 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 822 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 847 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local 870 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 116 private int interpColor(int colors[], float unit) { 117 if (unit <= 0) { 120 if (unit >= 1) { 124 float p = unit * (colors.length - 1); 188 // need to turn angle [-PI ... PI] into unit [0....1] 189 float unit = angle/(2*PI); local 190 if (unit < 0) { 191 unit += 1; 193 mCenterPaint.setColor(interpColor(mColors, unit));
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 63 memset(m_tex.unit, 0, sizeof(m_tex.unit)); 64 m_tex.activeUnit = &m_tex.unit[0]; 248 GLuint unit = texture - GL_TEXTURE0; local 249 if (unit >= MAX_TEXTURE_UNITS) { 252 m_tex.activeUnit = &m_tex.unit[unit]; 258 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); 408 for (TextureUnit* unit = m_tex.unit; [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 133 private int interpColor(int colors[], float unit) { 134 if (unit <= 0) { 137 if (unit >= 1) { 141 float p = unit * (colors.length - 1); 205 // need to turn angle [-PI ... PI] into unit [0....1] 206 float unit = angle/(2*PI); local 207 if (unit < 0) { 208 unit += 1; 210 mCenterPaint.setColor(interpColor(mColors, unit));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
DirectSearchOptimizer.java | 62 * configuration from a unit hypercube. Each call to {@link 265 // build a default one from a unit hypercube 266 final double[] unit = new double[startPoint.length]; local 267 Arrays.fill(unit, 1.0); 268 setStartConfiguration(unit);
|
/external/icu/icu4c/source/common/ |
stringtriebuilder.cpp | 138 // Branch on the middle unit. 139 // First, find the middle unit. 142 middleUnits[ltLength]=getElementUnit(i, unitIndex); // middle unit 149 // For each unit, find its elements array start and whether it has a final value. 155 UChar unit=getElementUnit(i++, unitIndex); local 156 i=indexOfElementWithNextUnit(i, unitIndex, unit); 179 // Write the rest of this node's unit-value pairs. 184 // Write the final value for the one string ending with this unit. 267 // Branch on the middle unit. 268 // First, find the middle unit 290 UChar unit=getElementUnit(i++, unitIndex); local 300 UChar unit=getElementUnit(start, unitIndex); local [all...] |