Searched refs:value (Results 276 - 300 of 845) sorted by relevance

<<11121314151617181920>>

/frameworks/rs/driver/
H A DrsdRuntimeMath.cpp121 static float SC_sign_f32(float value) { argument
122 if (value > 0) return 1.f;
123 if (value < 0) return -1.f;
124 return value;
262 // The android cas return 0 if it wrote the value. This means the
263 // previous value was the expected value and we can return.
266 // We didn't write the value and need to load the "previous" value.
269 // A race condition exists where the expected value coul
285 SC_AtomicAdd(volatile int32_t *ptr, int32_t value) argument
289 SC_AtomicSub(volatile int32_t *ptr, int32_t value) argument
298 SC_AtomicAnd(volatile int32_t *ptr, int32_t value) argument
302 SC_AtomicOr(volatile int32_t *ptr, int32_t value) argument
306 SC_AtomicXor(volatile int32_t *ptr, int32_t value) argument
315 SC_AtomicUMin(volatile uint32_t *ptr, uint32_t value) argument
325 SC_AtomicMin(volatile int32_t *ptr, int32_t value) argument
335 SC_AtomicUMax(volatile uint32_t *ptr, uint32_t value) argument
345 SC_AtomicMax(volatile int32_t *ptr, int32_t value) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeMath.cpp124 static float SC_sign_f32(float value) { argument
125 if (value > 0) return 1.f;
126 if (value < 0) return -1.f;
127 return value;
265 // The android cas return 0 if it wrote the value. This means the
266 // previous value was the expected value and we can return.
269 // We didn't write the value and need to load the "previous" value.
272 // A race condition exists where the expected value coul
288 SC_AtomicAdd(volatile int32_t *ptr, int32_t value) argument
292 SC_AtomicSub(volatile int32_t *ptr, int32_t value) argument
301 SC_AtomicAnd(volatile int32_t *ptr, int32_t value) argument
305 SC_AtomicOr(volatile int32_t *ptr, int32_t value) argument
309 SC_AtomicXor(volatile int32_t *ptr, int32_t value) argument
318 SC_AtomicUMin(volatile uint32_t *ptr, uint32_t value) argument
328 SC_AtomicMin(volatile int32_t *ptr, int32_t value) argument
338 SC_AtomicUMax(volatile uint32_t *ptr, uint32_t value) argument
348 SC_AtomicMax(volatile int32_t *ptr, int32_t value) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A Dtrace.cpp134 GLsizei chunkCount, GLsizei chunkSize, const void* value) {
139 ALOGD("const %s value[] = {", typeString);
153 builder.append("%g%s", * (GLfloat*) value, comma);
154 value = (void*) (((GLfloat*) value) + 1);
156 builder.append("%d%s", * (GLint*) value, comma);
157 value = (void*) (((GLint*) value) + 1);
170 GLuint location, GLsizei count, const void* value) {
171 TraceValue(elementCount, type, count, 1, value);
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java166 int attribute, int[] value) {
173 value);
174 arg("value", value);
278 int attribute, int[] value) {
285 value);
286 returns(value[0]);
304 int attribute, int[] value) {
311 value);
312 returns(value[
165 eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value) argument
277 eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value) argument
303 eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value) argument
397 arg(String name, String value) argument
420 arg(String name, int value) argument
531 getHex(int value) argument
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java373 * Splits the given value into pieces using the delimiter ';' inside it.
377 public static List<String> constructListFromValue(final String value, argument
381 final int length = value.length();
383 char ch = value.charAt(i);
385 char nextCh = value.charAt(i + 1);
427 for (final String value : values) {
428 if (TextUtils.isEmpty(value)) {
431 if (!TextUtilsPort.isPrintableAsciiOnly(value)) {
460 for (final String value : values) {
461 if (TextUtils.isEmpty(value)) {
560 isV21Word(final String value) argument
598 toStringAsV30ParamValue(String value) argument
602 toStringAsV40ParamValue(String value) argument
606 toStringAsParamValue(String value, final int[] escapeIndicators) argument
705 parseQuotedPrintable( final String value, boolean strictLineBreaking, String sourceCharset, String targetCharset) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java52 convertValueToList(CharSequence value, String[] options, int defaultValue) argument
54 if (null != value) {
56 if (value.equals(options[i]))
65 convertValueToBoolean(CharSequence value, boolean defaultValue) argument
69 if (null == value)
72 if (value.equals("1")
73 || value.equals("true")
74 || value.equals("TRUE"))
91 int value;
127 convertValueToUnsignedInt(String value, in argument
[all...]
H A DIndentingPrintWriter.java49 public void printPair(String key, Object value) { argument
50 print(key + "=" + String.valueOf(value) + " ");
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEnvReverbTest.java281 public void setParameter(Integer value) { argument
302 public void setParameter(Integer value) { argument
304 mReverb.setRoomLevel(value.shortValue());
324 public void setParameter(Integer value) { argument
326 mReverb.setRoomHFLevel(value.shortValue());
346 public void setParameter(Integer value) { argument
348 mReverb.setDecayTime(value.intValue());
368 public void setParameter(Integer value) { argument
370 mReverb.setDecayHFRatio(value.shortValue());
390 public void setParameter(Integer value) { argument
412 setParameter(Integer value) argument
434 setParameter(Integer value) argument
456 setParameter(Integer value) argument
478 setParameter(Integer value) argument
500 setParameter(Integer value) argument
[all...]
/frameworks/av/include/media/
H A Dmediascanner.h88 status_t addStringTag(const char* name, const char* value);
93 virtual status_t handleStringTag(const char* name, const char* value) = 0;
100 // cached name and value strings, for native encoding support.
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.h40 Word16 iLog4(Word32 value);
41 Word32 rsqrt(Word32 value, Word32 accuracy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_macroblock_layer.c140 u32 tmp, i, value; local
155 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
159 if ((value + 6) > 31 || tmp != HANTRO_OK)
161 pMbLayer->mbType = (mbType_e)(value + 6);
165 if ((value + 1) > 31 || tmp != HANTRO_OK)
167 pMbLayer->mbType = (mbType_e)(value + 1);
184 value = h264bsdGetBits(pStrmData, 8);
185 if (value == END_OF_STREAM)
187 *level++ = (i32)value;
209 tmp = h264bsdDecodeExpGolombMapped(pStrmData, &value,
359 u32 tmp, i, j, value; local
447 u32 tmp, i, j, value; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.h41 void getFormat(size_t index, AString *value) const;
56 bool findAttribute(size_t index, const char *key, AString *value) const;
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java458 * Increment a value block, storing the result in the temporary block on the tag.
467 * @param value non-negative to increment by
471 public void increment(int blockIndex, int value) throws IOException { argument
473 validateValueOperand(value);
480 cmd.putInt(value);
486 * Decrement a value block, storing the result in the temporary block on the tag.
495 * @param value non-negative to decrement by
499 public void decrement(int blockIndex, int value) throws IOException { argument
501 validateValueOperand(value);
508 cmd.putInt(value);
648 validateValueOperand(int value) argument
[all...]
/frameworks/base/core/java/android/os/
H A DSELinux.java51 public static final native boolean setSELinuxEnforce(boolean value); argument
104 * Gets the value for the given SELinux boolean name.
111 * Sets the value for the given SELinux boolean name.
113 * @param Boolean The new value of the SELinux boolean.
116 public static final native boolean setBooleanValue(String name, boolean value); argument
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java341 private static final long clip(long value, long min, long max) { argument
342 if (value < min) {
346 if (value > max) {
350 return value;
353 private static float clip(float value, float min, float max) { argument
354 return value > max ? max : (value < min ? min : value);
/frameworks/base/core/jni/
H A Dandroid_os_Trace.cpp32 jlong tag, jstring nameStr, jint value) {
34 Tracer::traceCounter(tag, name.c_str(), value);
31 android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, jlong tag, jstring nameStr, jint value) argument
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java89 * Adds optional information as key-value pairs to this object. To add a custom object
93 * @param value Value to add.
96 public void put(String key, Object value) { argument
97 mAttributes.put(key, value);
101 * Retrieves the value of a given key.
103 * @param key The key whose value is being retrieved.
105 * @return The value of the key being retrieved. Returns null if the key cannot be found.
H A DDrmInfoRequest.java96 * Adds optional information as key-value pairs to this object.
99 * @param value The value to add.
101 public void put(String key, Object value) { argument
102 mRequestInformation.put(key, value);
106 * Retrieves the value of a given key.
108 * @param key The key whose value is being retrieved.
110 * @return The value of the key that is being retrieved. Returns null if the key cannot be
/frameworks/base/libs/hwui/
H A DDisplayListLogBuffer.cpp105 * Store the given value in the buffer and increment/wrap the mEnd
108 void DisplayListLogBuffer::writeInt(int value) { argument
109 *((int*)mEnd) = value;
H A DStencil.cpp59 void Stencil::enableDebugTest(GLint value, bool greater) { argument
61 glStencilFunc(greater ? GL_LESS : GL_EQUAL, value, 0xffffffff);
/frameworks/compile/linkloader/include/impl/
H A DELFReloc.hxx99 #define PRINT_LINT(title, value) \
100 out() << format(" %-13s : ", (char const *)(title)) << (value) << '\n'
H A DELFSectionHeader.hxx84 #define PRINT_LINT(title, value) \
85 out() << format(" %-13s : ", (char const *)(title)) << (value) << '\n'
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashEntry.h58 ValueType& value() function in class:mcld::HashEntry
61 const ValueType& value() const function in class:mcld::HashEntry
/frameworks/ex/variablespeed/jni/
H A Ddecode_buffer.cc74 void DecodeBuffer::PushValue(int16 value) { argument
79 data_.at(bufferIndex)[end_ % sizeOfOneBuffer_] = value;
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec8 EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
13 EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value )
19 EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value )
29 EGLBoolean eglQueryContext ( EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value )

Completed in 619 milliseconds

<<11121314151617181920>>