Searched refs:val (Results 1 - 25 of 116) sorted by last modified time

12345

/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java94 native void nTypeAdd(int dim, int val); argument
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp303 nTypeAdd(JNIEnv *_env, jobject _this, jint dim, jint val) argument
306 LOG_API("nTypeAdd, con(%p) dim(%i), val(%i)", con, dim, val);
307 rsTypeAdd(con, (RsDimension)dim, val);
/frameworks/base/include/binder/
H A DParcel.h74 status_t writeInt32(int32_t val);
75 status_t writeInt64(int64_t val);
76 status_t writeFloat(float val);
77 status_t writeDouble(double val);
78 status_t writeIntPtr(intptr_t val);
83 status_t writeStrongBinder(const sp<IBinder>& val);
84 status_t writeWeakBinder(const wp<IBinder>& val);
85 status_t write(const Flattenable& val);
101 status_t writeObject(const flat_binder_object& val, bool nullMetaData);
124 status_t read(Flattenable& val) cons
[all...]
/frameworks/base/include/media/
H A DMetadata.h112 // @param val Is the value of the metadata.
115 bool appendBool(Type key, bool val);
116 bool appendInt32(Type key, int32_t val);
/frameworks/base/include/utils/
H A DList.h50 explicit _Node(const T& val) : mVal(val) {} argument
56 inline void setVal(const T& val) { mVal = val; } argument
207 void push_front(const T& val) { insert(begin(), val); } local
208 void push_back(const T& val) { insert(end(), val); } local
211 iterator insert(iterator posn, const T& val) argument
213 _Node* newNode = new _Node(val); // allo
[all...]
H A DRefBase.h229 TextOutput& operator<<(TextOutput& to, const sp<T>& val);
294 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
392 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument
394 to << "sp<>(" << val.get() << ")";
544 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val) argument
546 to << "wp<>(" << val.unsafe_get() << ")";
H A DString16.h142 TextOutput& operator<<(TextOutput& to, const String16& val);
H A DString8.h315 TextOutput& operator<<(TextOutput& to, const String16& val);
H A DTextOutput.h92 TextOutput& operator<<(TextOutput& to, const TypeCode& val);
121 TextOutput& operator<<(TextOutput& to, const HexDump& val);
H A Dmisc.h85 unsigned int roundUpPower2(unsigned int val);
89 char* itoa(int val, int base);
/frameworks/base/libs/binder/
H A DParcel.cpp564 status_t Parcel::writeInt32(int32_t val) argument
566 return writeAligned(val);
569 status_t Parcel::writeInt64(int64_t val) argument
571 return writeAligned(val);
574 status_t Parcel::writeFloat(float val) argument
576 return writeAligned(val);
579 status_t Parcel::writeDouble(double val) argument
581 return writeAligned(val);
584 status_t Parcel::writeIntPtr(intptr_t val) argument
586 return writeAligned(val);
626 writeStrongBinder(const sp<IBinder>& val) argument
631 writeWeakBinder(const wp<IBinder>& val) argument
679 write(const Flattenable& val) argument
715 writeObject(const flat_binder_object& val, bool nullMetaData) argument
805 writeAligned(T val) argument
929 sp<IBinder> val; local
930 unflatten_binder(ProcessState::self(), *this, &val); local
936 wp<IBinder> val; local
937 unflatten_binder(ProcessState::self(), *this, &val); local
[all...]
/frameworks/base/libs/rs/
H A DrsUtils.h63 T rsFindHighBit(T val) argument
66 while(val > 1) {
68 val>>=1;
74 bool rsIsPow2(T val) argument
76 return (val & (val-1)) == 0;
/frameworks/base/libs/utils/
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...]
H A DRefBase.cpp256 int32_t val = --(refs->editValueAt(i));
257 if (val == 0) {
H A DResourceTypes.cpp2696 int32_t val = 0; local
2715 val = (val*16) + get_hex(s[i], &error);
2728 val = (val*10) + s[i]-'0';
2733 if (neg) val = -val;
2741 outValue->data = val;
H A DString16.cpp627 TextOutput& operator<<(TextOutput& to, const String16& val) argument
629 to << String8(val).string();
H A DString8.cpp495 TextOutput& operator<<(TextOutput& to, const String8& val) argument
497 to << val.string();
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 DZipFileRO.cpp155 unsigned int val; local
163 val = get4LE(basePtr);
164 if (val == kEOCDSignature) {
167 } else if (val != kLFHSignature) {
168 LOGV("Not a Zip archive (found 0x%08x)\n", val);
H A Dmisc.cpp171 unsigned int roundUpPower2(unsigned int val) argument
173 val--;
174 val |= val >> 1;
175 val |= val >> 2;
176 val |= val >> 4;
177 val |= val >>
[all...]
/frameworks/base/location/java/android/location/
H A DLocation.java229 double val;
231 val = Double.parseDouble(degrees);
232 return negative ? -val : val;
264 val = deg*3600.0 + min*60.0 + sec;
265 val /= 3600.0;
266 return negative ? -val : val;
/frameworks/base/media/java/android/media/
H A DExifInterface.java241 String val = iter.getValue();
243 sb.append(val.length() + " ");
244 sb.append(val);
H A DMetadata.java396 // Check val is either a system id or a custom one.
397 // @param val Metadata key to test.
399 private boolean checkMetadataId(final int val) { argument
400 if (val <= ANY || (LAST_SYSTEM < val && val < FIRST_CUSTOM)) {
401 Log.e(TAG, "Invalid metadata ID " + val);
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dubitset.h73 inline void set (uoff_t n, bool val = true)
78 br = val ? bOn : bOff;
/frameworks/base/media/libmedia/
H A DAudioSystem.cpp905 int val; local
906 if (sscanf(str8.string(), "%d", &val) == 1) {
907 value = val;
921 float val; local
922 if (sscanf(str8.string(), "%f", &val) == 1) {
923 value = val;

Completed in 171 milliseconds

12345