Searched refs:val (Results 1 - 25 of 179) sorted by relevance

12345678

/frameworks/native/libs/utils/
H A DTextOutput.cpp37 TextOutput& operator<<(TextOutput& to, bool val) argument
39 if (val) to.print("true", 4);
44 TextOutput& operator<<(TextOutput& to, int val) argument
47 sprintf(buf, "%d", val);
52 TextOutput& operator<<(TextOutput& to, long val) argument
55 sprintf(buf, "%ld", val);
60 TextOutput& operator<<(TextOutput& to, unsigned int val) argument
63 sprintf(buf, "%u", val);
68 TextOutput& operator<<(TextOutput& to, unsigned long val) argument
71 sprintf(buf, "%lu", val);
76 operator <<(TextOutput& to, long long val) argument
84 operator <<(TextOutput& to, unsigned long long val) argument
104 operator <<(TextOutput& to, float val) argument
109 operator <<(TextOutput& to, double val) argument
114 operator <<(TextOutput& to, const void* val) argument
127 operator <<(TextOutput& to, const TypeCode& val) argument
146 operator <<(TextOutput& to, const HexDump& val) argument
[all...]
H A DDebug.cpp59 static inline char makehexdigit(uint32_t val) argument
61 return "0123456789abcdef"[val&0xF];
64 static char* appendhexnum(uint32_t val, char* out) argument
67 *out++ = makehexdigit( val>>i );
73 static inline char makeupperhexdigit(uint32_t val) argument
75 return "0123456789ABCDEF"[val&0xF];
78 static char* appendupperhexnum(uint32_t val, char* out) argument
81 *out++ = makeupperhexdigit( val>>i );
253 const unsigned char val = *(pos+startIndex+(index*dir)); local
254 *c++ = makehexdigit(val>>
270 const unsigned char val = *(pos+startIndex+(index*dir)); local
288 const unsigned char val = pos[index]; local
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestRunner.java86 String val = arguments.getString("enable_iterations");
87 if (val != null) {
89 sEnableIterations = Integer.parseInt(val);
95 val = arguments.getString("discoverable_iterations");
96 if (val != null) {
98 sDiscoverableIterations = Integer.parseInt(val);
104 val = arguments.getString("scan_iterations");
105 if (val != null) {
107 sScanIterations = Integer.parseInt(val);
113 val
[all...]
/frameworks/base/tools/aapt/
H A DBundle.h80 void setVerbose(bool val) { mVerbose = val; } argument
82 void setAndroidList(bool val) { mAndroidList = val; } argument
84 void setForce(bool val) { mForce = val; } argument
85 void setGrayscaleTolerance(int val) { mGrayscaleTolerance = val; } argument
88 void setMakePackageDirs(bool val) { mMakePackageDirs = val; } argument
90 setUpdate(bool val) argument
92 setExtending(bool val) argument
94 setRequireLocalization(bool val) argument
96 setPseudolocalize(bool val) argument
97 setWantUTF16(bool val) argument
99 setValues(bool val) argument
101 setCompressionMethod(int val) argument
103 setJunkPath(bool val) argument
105 setOutputAPKFile(const char* val) argument
107 setManifestPackageNameOverride(const char * val) argument
109 setInstrumentationPackageNameOverride(const char * val) argument
111 setAutoAddOverlay(bool val) argument
113 setGenDependencies(bool val) argument
115 setErrorOnFailedInsert(bool val) argument
139 addConfigurations(const char* val) argument
141 addPreferredConfigurations(const char* val) argument
152 setManifestMinSdkVersion(const char* val) argument
154 setMinSdkVersion(const char* val) argument
156 setTargetSdkVersion(const char* val) argument
158 setMaxSdkVersion(const char* val) argument
160 setVersionCode(const char* val) argument
162 setVersionName(const char* val) argument
164 setCustomPackage(const char* val) argument
166 setExtraPackages(const char* val) argument
168 setMaxResVersion(const char * val) argument
170 setDebugMode(bool val) argument
172 setNonConstantId(bool val) argument
174 setProduct(const char * val) argument
175 setUseCrunchCache(bool val) argument
178 setOutputTextSymbols(const char* val) argument
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DLoadConst_16.c28 void LoadConst_16(const LVM_INT16 val, argument
36 *dst = val;
H A DLoadConst_32.c28 void LoadConst_32(const LVM_INT32 val, argument
36 *dst = val;
H A DShift_Sat_v32xv32.c28 void Shift_Sat_v32xv32 (const LVM_INT16 val, argument
36 if(val>0)
45 b=(a<<val);
47 if( (b>>val) != a ) /* if overflow occured, right shift will show difference*/
63 else if(val<0)
65 RShift=(LVM_INT16)(-val);
H A DMult3s_32x16.c30 const LVM_INT16 val,
42 MUL32x16INTO32(srcval,val,temp,15)
29 Mult3s_32x16( const LVM_INT32 *src, const LVM_INT16 val, LVM_INT32 *dst, LVM_INT16 n) argument
H A Dmult3s_16x16.c29 const LVM_INT16 val,
38 temp = (LVM_INT32)(*src) * (LVM_INT32)val;
28 Mult3s_16x16( const LVM_INT16 *src, const LVM_INT16 val, LVM_INT16 *dst, LVM_INT16 n) argument
H A DShift_Sat_v16xv16.c28 void Shift_Sat_v16xv16 (const LVM_INT16 val, argument
36 if(val>0)
43 temp = temp << val;
60 else if(val<0)
62 RShift=(LVM_INT16)(-val);
H A DMac3s_Sat_16x16.c39 const LVM_INT16 val,
53 Temp = (srcval *val)>>15;
38 Mac3s_Sat_16x16( const LVM_INT16 *src, const LVM_INT16 val, LVM_INT16 *dst, LVM_INT16 n) argument
H A DMac3s_Sat_32x16.c30 const LVM_INT16 val,
43 MUL32x16INTO32(srcval,val,temp,15)
29 Mac3s_Sat_32x16( const LVM_INT32 *src, const LVM_INT16 val, LVM_INT32 *dst, LVM_INT16 n) argument
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java46 int val;
48 val = BatteryManager.BATTERY_PLUGGED_AC |
53 val = 0;
55 val = BatteryManager.BATTERY_PLUGGED_USB;
57 val = BatteryManager.BATTERY_PLUGGED_AC;
59 val = BatteryManager.BATTERY_PLUGGED_WIRELESS;
66 if (val != 0) {
71 pm.setStayOnSetting(val);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_struct.java38 int val = 100;
39 i.x = val;
40 i.y = val;
43 s.invoke_struct_test(val);
47 val = 200;
48 p.set_x(0, val, true);
49 p.set_y(0, val, true);
50 s.invoke_struct_test(val);
H A DUT_math_agree.java37 private Float2 pack_f2(float[] val) { argument
38 assert val.length == 2;
39 return new Float2(val[0], val[1]);
41 private Float3 pack_f3(float[] val) { argument
42 assert val.length == 3;
43 return new Float3(val[0], val[1], val[2]);
45 private Float4 pack_f4(float[] val) { argument
49 pack_b2(byte[] val) argument
53 pack_b3(byte[] val) argument
57 pack_b4(byte[] val) argument
61 pack_s2(short[] val) argument
65 pack_s3(short[] val) argument
69 pack_s4(short[] val) argument
73 pack_i2(int[] val) argument
77 pack_i3(int[] val) argument
81 pack_i4(int[] val) argument
85 pack_l2(long[] val) argument
89 pack_l3(long[] val) argument
93 pack_l4(long[] val) argument
[all...]
H A DUT_bug_char.java34 private Byte2 pack_b2(byte[] val) { argument
35 assert val.length == 2;
36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]);
37 return new Byte2(val[0], val[1]);
/frameworks/base/core/java/android/os/
H A DParcel.java244 private static native void nativeWriteInt(int nativePtr, int val); argument
245 private static native void nativeWriteLong(int nativePtr, long val); argument
246 private static native void nativeWriteFloat(int nativePtr, float val); argument
247 private static native void nativeWriteDouble(int nativePtr, double val); argument
248 private static native void nativeWriteString(int nativePtr, String val); argument
249 private static native void nativeWriteStrongBinder(int nativePtr, IBinder val); argument
250 private static native void nativeWriteFileDescriptor(int nativePtr, FileDescriptor val); argument
480 public final void writeInt(int val) { argument
481 nativeWriteInt(mNativePtr, val);
488 public final void writeLong(long val) { argument
496 writeFloat(float val) argument
504 writeDouble(double val) argument
512 writeString(String val) argument
521 writeCharSequence(CharSequence val) argument
529 writeStrongBinder(IBinder val) argument
537 writeStrongInterface(IInterface val) argument
551 writeFileDescriptor(FileDescriptor val) argument
559 writeByte(byte val) argument
574 writeMap(Map val) argument
582 writeMapInternal(Map<String,Object> val) argument
599 writeBundle(Bundle val) argument
613 writeList(List val) argument
632 writeArray(Object[] val) argument
652 writeSparseArray(SparseArray<Object> val) argument
667 writeSparseBooleanArray(SparseBooleanArray val) argument
682 writeBooleanArray(boolean[] val) argument
710 readBooleanArray(boolean[] val) argument
721 writeCharArray(char[] val) argument
746 readCharArray(char[] val) argument
757 writeIntArray(int[] val) argument
782 readIntArray(int[] val) argument
793 writeLongArray(long[] val) argument
819 readLongArray(long[] val) argument
830 writeFloatArray(float[] val) argument
856 readFloatArray(float[] val) argument
867 writeDoubleArray(double[] val) argument
893 readDoubleArray(double[] val) argument
904 writeStringArray(String[] val) argument
929 readStringArray(String[] val) argument
940 writeBinderArray(IBinder[] val) argument
955 writeCharSequenceArray(CharSequence[] val) argument
980 readBinderArray(IBinder[] val) argument
1005 writeTypedList(List<T> val) argument
1036 writeStringList(List<String> val) argument
1061 writeBinderList(List<IBinder> val) argument
1093 writeTypedArray(T[] val, int parcelableFlags) argument
1591 readByteArray(byte[] val) argument
1893 readTypedArray(T[] val, Parcelable.Creator<T> c) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiSsid.java68 int val;
70 val = Integer.parseInt(hexStr.substring(i, i + 2), HEX_RADIX);
72 val = 0;
74 a.octets.write(val);
83 int val = 0;
117 val = Integer.parseInt(asciiEncoded.substring(i, i + 2), HEX_RADIX);
119 val = -1;
121 if (val < 0) {
122 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX);
123 if (val <
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dset_sign.cpp177 Word16 val, min;
183 val = dn[i];
185 if (val >= 0) {
189 val = negate(val);
191 dn[i] = val; // modify dn[] according to the fixed sign
192 dn2[i] = val;
206 val = sub(dn2[j], min);
208 if (val < 0)
252 Word16 val, mi local
498 Word16 val; local
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp133 uint16 val; local
215 val = (tmp1 << 3);
216 val |= (tmp2 >> 5);
221 val = 0; // force mismatch
224 if (val == SYNC_WORD)
284 uint16 val; local
290 val = (uint16)getUpTo17bits(inputStream, SYNC_WORD_LNGTH);
292 while (((val&SYNC_WORD) != SYNC_WORD) && (inputStream->usedBits < availableBits))
294 val <<= 8;
295 val |
[all...]
/frameworks/compile/linkloader/lib/
H A DELFTypes.cpp24 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, TYPE const &val) { \
25 os << llvm::format("%0*x", FORMAT_WIDTH, val.value); \
/frameworks/base/core/tests/benchmarks/src/android/os/
H A DParcelBenchmark.java37 final byte val = 0xF;
39 mParcel.writeByte(val);
51 final int val = 0xF;
53 mParcel.writeInt(val);
65 final long val = 0xF;
67 mParcel.writeLong(val);
/frameworks/base/core/java/android/net/http/
H A DHeaders.java171 String val = buffer.substringTrimmed(pos, buffer.length());
179 mHeaders[IDX_TRANSFER_ENCODING] = val;
186 if (HTTP.IDENTITY_CODING.equalsIgnoreCase(val)) {
199 mHeaders[IDX_CONTENT_LEN] = val;
201 contentLength = Long.parseLong(val);
212 mHeaders[IDX_CONTENT_TYPE] = val;
217 mHeaders[IDX_CONTENT_ENCODING] = val;
222 mHeaders[IDX_CONN_DIRECTIVE] = val;
228 mHeaders[IDX_LOCATION] = val;
233 mHeaders[IDX_PROXY_CONNECTION] = val;
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
H A DVectorArithmetic.h32 void LoadConst_16( const LVM_INT16 val,
36 void LoadConst_32( const LVM_INT32 val,
47 * For example when *src = 0x8000, val = *0x8000 *
53 const LVM_INT16 val,
60 * For example when *src = 0x8000000, val = *0x8000 *
66 const LVM_INT16 val,
92 const LVM_INT16 val,
97 const LVM_INT16 val,
113 void Shift_Sat_v16xv16 ( const LVM_INT16 val,
118 void Shift_Sat_v32xv32 ( const LVM_INT16 val,
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dm4venc_oscl.h34 #define M4VENC_MEMSET(ptr,val,size) memset(ptr,val,size)

Completed in 333 milliseconds

12345678