/frameworks/native/libs/utils/tests/ |
H A D | BasicHashtable_test.cpp | 59 template<> inline hash_t hash_type(const ComplexKey& value) { argument 60 return hash_type(value.k); 123 const TKey& key, const TValue& value) { 124 return h.add(hash_type(key), key_value_pair_t<TKey, TValue>(key, value)); 145 static void getKeyValue(const TEntry& entry, int* key, int* value); 147 template <> void getKeyValue(const SimpleEntry& entry, int* key, int* value) { argument 149 *value = entry.value; 152 template <> void getKeyValue(const ComplexEntry& entry, int* key, int* value) { argument 154 *value 122 add(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, const TKey& key, const TValue& value) argument 166 int key, value; local [all...] |
/frameworks/rs/driver/ |
H A D | rsdRuntimeMath.cpp | 121 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 D | rsdRuntimeMath.cpp | 124 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/base/opengl/java/android/opengl/ |
H A D | EGLLogWrapper.java | 166 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/native/opengl/libs/EGL/ |
H A D | trace.cpp | 134 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/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 52 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 D | IndentingPrintWriter.java | 49 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 D | EnvReverbTest.java | 281 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 D | mediascanner.h | 88 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 D | oper_32b.h | 40 Word16 iLog4(Word32 value); 41 Word32 rsqrt(Word32 value, Word32 accuracy);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_macroblock_layer.c | 140 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 D | ASessionDescription.h | 41 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 D | MifareClassic.java | 458 * 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 D | SELinux.java | 51 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 D | BlockingAudioTrack.java | 341 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 D | android_os_Trace.cpp | 32 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 D | DrmInfo.java | 89 * 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 D | DrmInfoRequest.java | 96 * 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 D | DisplayListLogBuffer.cpp | 105 * 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 D | Stencil.cpp | 59 void Stencil::enableDebugTest(GLint value, bool greater) { argument 61 glStencilFunc(greater ? GL_LESS : GL_EQUAL, value, 0xffffffff);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 89 public void setMetaValue(String key, Object value) { argument 93 mMetaData.put(key, value);
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | contrast.c | 36 void contrast_setvalue(const char* key, const char* value, void* user_data) { argument 38 ((ContrastParameters*)user_data)->contrast = atof(value);
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 206 void AConfiguration_setScreenWidthDp(AConfiguration* config, int32_t value) { argument 207 config->screenWidthDp = value; 210 void AConfiguration_setScreenHeightDp(AConfiguration* config, int32_t value) { argument 211 config->screenHeightDp = value; 214 void AConfiguration_setSmallestScreenWidthDp(AConfiguration* config, int32_t value) { argument 215 config->smallestScreenWidthDp = value; 218 void AConfiguration_setLayoutDirection(AConfiguration* config, int32_t value) { argument 220 | ((value<<ResTable_config::SHIFT_LAYOUTDIR)&ResTable_config::MASK_LAYOUTDIR);
|
/frameworks/base/obex/javax/obex/ |
H A D | ApplicationParameter.java | 116 public void addAPPHeader(byte tag, byte len, byte[] value) { argument 125 System.arraycopy(value, 0, mArray, mLength, len);
|
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFReloc.hxx | 99 #define PRINT_LINT(title, value) \ 100 out() << format(" %-13s : ", (char const *)(title)) << (value) << '\n'
|