Searched refs:val (Results 26 - 50 of 179) sorted by relevance

12345678

/frameworks/native/include/binder/
H A DParcel.h94 status_t writeInt32(int32_t val);
95 status_t writeInt64(int64_t val);
96 status_t writeFloat(float val);
97 status_t writeDouble(double val);
98 status_t writeIntPtr(intptr_t val);
103 status_t writeStrongBinder(const sp<IBinder>& val);
104 status_t writeWeakBinder(const wp<IBinder>& val);
105 status_t write(const Flattenable& val);
108 status_t write(const LightFlattenable<T>& val);
132 status_t writeObject(const flat_binder_object& val, boo
280 write(const LightFlattenable<T>& val) argument
[all...]
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.h85 // True if there is a bound with val containing the bound. false otherwise.
86 bool GetElementMinBound(const Key &fname, double *val) const {
87 return GetValue(wmin_, fname, val);
89 bool GetElementMaxBound(const Key &fname, double *val) const {
90 return GetValue(wmax_, fname, val);
100 double val = 0; local
101 GetValue(w_, fname, &val);
102 return val;
104 void SetElement(const Key &fname, const double val) { argument
105 //DCHECK(!isnan(val));
108 AddUpdateElement(const Key &fname, const double val) argument
111 MultUpdateElement(const Key &fname, const double val) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDoNotDisturbController.java65 final boolean val = prefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF,
67 if (val != mDoNotDisturb) {
68 mDoNotDisturb = val;
69 mCheckBox.setChecked(!val);
/frameworks/base/tools/aapt/
H A DZipEntry.h110 void setMarked(bool val) { mMarked = val; } argument
122 static inline void putShortLE(unsigned char* buf, short val) { argument
123 buf[0] = (unsigned char) val;
124 buf[1] = (unsigned char) (val >> 8);
126 static inline void putLongLE(unsigned char* buf, long val) { argument
127 buf[0] = (unsigned char) val;
128 buf[1] = (unsigned char) (val >> 8);
129 buf[2] = (unsigned char) (val >> 16);
130 buf[3] = (unsigned char) (val >> 2
[all...]
/frameworks/base/include/androidfw/
H A DObbFile.h110 static inline void put4LE(unsigned char* buf, uint32_t val) { argument
111 buf[0] = val & 0xFF;
112 buf[1] = (val >> 8) & 0xFF;
113 buf[2] = (val >> 16) & 0xFF;
114 buf[3] = (val >> 24) & 0xFF;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DCompoundTransform.java82 public void setValue(Float3 val) { argument
83 mData.value.x = val.x;
84 mData.value.y = val.y;
85 mData.value.z = val.z;
102 public void setAxis(Float3 val) { argument
103 mData.value.x = val.x;
104 mData.value.y = val.y;
105 mData.value.z = val.z;
108 public void setAngle(float val) { argument
109 mData.value.w = val;
122 setValue(Float3 val) argument
[all...]
/frameworks/rs/
H A DrsUtils.h64 T rsFindHighBit(T val) { argument
66 while (val > 1) {
68 val>>=1;
74 bool rsIsPow2(T val) { argument
75 return (val & (val-1)) == 0;
/frameworks/support/renderscript/v8/rs_support/
H A DrsUtils.h64 T rsFindHighBit(T val) { argument
66 while (val > 1) {
68 val>>=1;
74 bool rsIsPow2(T val) { argument
75 return (val & (val-1)) == 0;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.cpp486 Int i, val, sav = 0; local
491 val = *block++;
492 if (val > 0) sav += val;
493 else sav -= val;
494 val = *block++;
495 if (val > 0) sav += val;
496 else sav -= val;
497 val
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java257 private static void writeInt(OutputStream out, int val) throws IOException { argument
258 out.write(val >> 0);
259 out.write(val >> 8);
260 out.write(val >> 16);
261 out.write(val >> 24);
264 private static void writeShort(OutputStream out, short val) throws IOException { argument
265 out.write(val >> 0);
266 out.write(val >> 8);
/frameworks/base/core/java/android/os/
H A DSystemProperties.java124 public static void set(String key, String val) { argument
128 if (val != null && val.length() > PROP_VALUE_MAX) {
129 throw new IllegalArgumentException("val.length > " +
132 native_set(key, val);
/frameworks/base/core/jni/
H A Dandroid_util_Binder.h28 extern jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val);
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
H A DM4MP4W_Utils.h47 M4OSA_ERR M4MP4W_putBE16(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction,
49 M4OSA_ERR M4MP4W_putBE24(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction,
51 M4OSA_ERR M4MP4W_putBE32(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction,
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Utils.c44 M4OSA_ERR M4MP4W_putBE16(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, argument
49 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context);
51 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context);
56 M4OSA_ERR M4MP4W_putBE24(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, argument
61 err = M4MP4W_putByte((M4OSA_UChar)(val >> 16), fileFunction, context);
63 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context);
65 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context);
70 M4OSA_ERR M4MP4W_putBE32(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, argument
75 err = M4MP4W_putByte((M4OSA_UChar)(val >> 24), fileFunction, context);
77 err = M4MP4W_putByte((M4OSA_UChar)(val >> 1
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_CompareMotionCostToMV.c33 * [in] val Signed number for which Exp-Golomb code length has
37 * Returns the length of the Exp-Golomb code for val
40 static OMX_U16 armVCM4P10_ExpGolBitsUsed (OMX_S16 val) argument
44 /* Mapping val to codeNum */
45 codeNum = armAbs (val);
46 if (val > 0)
/frameworks/compile/libbcc/tests/data/src/
H A Dbrackets.c27 int val = ar2D[x][y]; local
28 if (val != expected) {
29 printf("error: [%d][%d] %d != %d\n", x, y, val, expected);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaPlayerInvokeTest.java66 int val = rnd.nextInt();
67 request.writeInt(val);
69 assertEquals(val, reply.readInt());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDoNotDisturb.java45 final boolean val = prefs.getBoolean(Prefs.DO_NOT_DISTURB_PREF,
47 if (val != mDoNotDisturb) {
48 mDoNotDisturb = val;
/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java171 * @param val The map to be flattened.
179 public static final void writeMapXml(Map val, OutputStream out) argument
185 writeMapXml(val, null, serializer);
193 * @param val The list to be flattened.
201 public static final void writeListXml(List val, OutputStream out) argument
208 writeListXml(val, null, serializer);
216 * @param val The map to be flattened.
226 public static final void writeMapXml(Map val, String name, XmlSerializer out) argument
229 if (val == null) {
235 Set s = val
265 writeListXml(List val, String name, XmlSerializer out) argument
289 writeSetXml(Set val, String name, XmlSerializer out) argument
321 writeByteArrayXml(byte[] val, String name, XmlSerializer out) argument
366 writeIntArrayXml(int[] val, String name, XmlSerializer out) argument
[all...]
H A DArrayUtils.java205 public static int[] appendInt(int[] cur, int val) { argument
207 return new int[] { val };
211 if (cur[i] == val) {
217 ret[N] = val;
221 public static int[] removeInt(int[] cur, int val) { argument
227 if (cur[i] == val) {
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java142 Object val = mValues[i * mColumns + j];
144 mValues[destrow * mColumns + j] = val;
158 Object val = mValues[i * mColumns + j];
160 mValues[destrow * mColumns + j] = val;
175 Object val = mValues[i * mColumns + j];
178 System.out.print(val + " ");
180 System.out.print("(" + val + ") ");
/frameworks/native/libs/utils/
H A DLinearTransform.cpp30 uint64_t val,
49 // compute M = val * N (a 96 bit int)
51 // tmp2 = U32(val) * N (a 64 bit int)
52 // tmp1 = L32(val) * N (a 64 bit int)
54 // M = val * N = (tmp2 << 32) + tmp1
55 tmp2 = (val >> 32) * N;
56 tmp1 = (val & UINT32_MAX) * N;
60 // = (U32(val) * N) + U32(L32(val) * N)
78 // tmp1 = L32(val) *
29 scale_u64_to_u64( uint64_t val, uint32_t N, uint32_t D, uint64_t* res, bool round_up_not_down) argument
112 linear_transform_s64_to_s64( int64_t val, int64_t basis1, int32_t N, uint32_t D, bool invert_frac, int64_t basis2, int64_t* out) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp351 AString val(attr, equalPos + 1, attr.size() - equalPos - 1);
352 val.trim();
354 ALOGV("key=%s value=%s", key.c_str(), val.c_str());
357 const char *s = val.c_str();
429 AString val(attr, equalPos + 1, attr.size() - equalPos - 1);
430 val.trim();
432 ALOGV("key=%s value=%s", key.c_str(), val.c_str());
442 if (val.size() >= 2
443 && val.c_str()[0] == '"'
444 && val
[all...]
/frameworks/native/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...]
/frameworks/av/media/libmedia/
H A DAudioParameter.cpp145 int val; local
146 if (sscanf(str8.string(), "%d", &val) == 1) {
147 value = val;
161 float val; local
162 if (sscanf(str8.string(), "%f", &val) == 1) {
163 value = val;

Completed in 1514 milliseconds

12345678