/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 136 void setUTF8(bool val) { mUTF8 = val; } argument
|
H A D | ZipEntry.h | 111 void setMarked(bool val) { mMarked = val; } argument 123 static inline void putShortLE(unsigned char* buf, short val) { argument 124 buf[0] = (unsigned char) val; 125 buf[1] = (unsigned char) (val >> 8); 127 static inline void putLongLE(unsigned char* buf, long val) { argument 128 buf[0] = (unsigned char) val; 129 buf[1] = (unsigned char) (val >> 8); 130 buf[2] = (unsigned char) (val >> 16); 131 buf[3] = (unsigned char) (val >> 2 [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription.cpp | 54 const char* val = c; local 60 if (c - val != 3) return false; 62 int d = atoi(val); 84 const char* val = c; local 90 if (c - val == 0 || c - val > 3) return false; 93 out->mnc = atoi(val);
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Dump.cpp | 293 void SetVerbose(bool val) { argument 294 verbose_ = val;
|
H A D | Optimize.cpp | 120 void SetVerbose(bool val) { argument 121 verbose_ = val;
|
/frameworks/base/tools/aapt2/format/binary/ |
H A D | TableFlattener_test.cpp | 93 Res_value val; local 95 if (table->getResource(expected_id.id, &val, false, 0, &spec_flags, &config) < 0) { 99 if (expected_data_type != val.dataType) { 102 << " but got data type " << (int)val.dataType << std::dec << " instead"; 105 if (expected_data != val.data) { 107 << "expected data " << std::hex << expected_data << " but got data " << val.data
|
/frameworks/base/tools/incident_report/ |
H A D | main.cpp | 281 write_raw_varint(uint8_t* buf, uint32_t val) argument 285 if ((val & ~0x7F) == 0) { 286 *p++ = (uint8_t)val; 289 *p++ = (uint8_t)((val & 0x7F) | 0x80); 290 val >>= 7;
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | bitcode_wrapperer.cpp | 236 uint32_t val; member in struct:IntFieldHelper 244 android_compiler_version_ = tempIntField.val; 250 android_optimization_level_ = tempIntField.val;
|
/frameworks/compile/libbcc/lib/ |
H A D | Source.cpp | 230 llvm::MDString *val = llvm::MDString::get(context, buildChecksum); local 233 node->addOperand(llvm::MDNode::get(context, val));
|
/frameworks/native/include/binder/ |
H A D | TextOutput.h | 69 TextOutput& operator<<(TextOutput& to, const T& val) argument 72 strbuf << val; local 92 TextOutput& operator<<(TextOutput& to, const TypeCode& val); 121 TextOutput& operator<<(TextOutput& to, const HexDump& val); 125 /*val*/) { 136 inline TextOutput& operator<<(TextOutput& to, const bool &val) argument 138 if (val) to.print("true", 4); 143 inline TextOutput& operator<<(TextOutput& to, const String16& val) argument 145 to << String8(val).string();
|
/frameworks/native/libs/binder/ |
H A D | Debug.cpp | 60 static inline char makehexdigit(uint32_t val) argument 62 return "0123456789abcdef"[val&0xF]; 65 static char* appendhexnum(uint32_t val, char* out) argument 68 *out++ = makehexdigit( val>>i ); 234 const unsigned char val = *(pos+startIndex-index); local 235 *c++ = makehexdigit(val>>4); 236 *c++ = makehexdigit(val); 251 const unsigned char val = *(pos+startIndex-index); local 252 *c++ = makehexdigit(val>>4); 253 *c++ = makehexdigit(val); 269 const unsigned char val = pos[index]; local [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | TextOutput.h | 69 TextOutput& operator<<(TextOutput& to, const T& val) argument 72 strbuf << val; local 92 TextOutput& operator<<(TextOutput& to, const TypeCode& val); 121 TextOutput& operator<<(TextOutput& to, const HexDump& val); 125 /*val*/) { 136 inline TextOutput& operator<<(TextOutput& to, const bool &val) argument 138 if (val) to.print("true", 4); 143 inline TextOutput& operator<<(TextOutput& to, const String16& val) argument 145 to << String8(val).string();
|
/frameworks/rs/ |
H A D | rsCppUtils.h | 120 T rsFindHighBit(T val) { argument 122 while (val > 1) { 124 val>>=1; 130 bool rsIsPow2(T val) { argument 131 return (val & (val-1)) == 0;
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_math_agree.java | 37 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...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | UT_math_agree.java | 48 private Float2 pack_f2(float[] val) { argument 49 assert val.length == 2; 50 return new Float2(val[0], val[1]); 53 private Float3 pack_f3(float[] val) { argument 54 assert val.length == 3; 55 return new Float3(val[0], val[1], val[2]); 58 private Float4 pack_f4(float[] val) { argument 63 pack_b2(byte[] val) argument 68 pack_b3(byte[] val) argument 73 pack_b4(byte[] val) argument 78 pack_s2(short[] val) argument 83 pack_s3(short[] val) argument 88 pack_s4(short[] val) argument 93 pack_i2(int[] val) argument 98 pack_i3(int[] val) argument 103 pack_i4(int[] val) argument 108 pack_l2(long[] val) argument 113 pack_l3(long[] val) argument 118 pack_l4(long[] val) argument [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A D | UT_math_agree.java | 50 private Float2 pack_f2(float[] val) { argument 51 assert val.length == 2; 52 return new Float2(val[0], val[1]); 55 private Float3 pack_f3(float[] val) { argument 56 assert val.length == 3; 57 return new Float3(val[0], val[1], val[2]); 60 private Float4 pack_f4(float[] val) { argument 65 pack_b2(byte[] val) argument 70 pack_b3(byte[] val) argument 75 pack_b4(byte[] val) argument 80 pack_s2(short[] val) argument 85 pack_s3(short[] val) argument 90 pack_s4(short[] val) argument 95 pack_i2(int[] val) argument 100 pack_i3(int[] val) argument 105 pack_i4(int[] val) argument 110 pack_l2(long[] val) argument 115 pack_l3(long[] val) argument 120 pack_l4(long[] val) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
H A D | PathParser.java | 103 float[] val = getFloats(s); 104 addNode(list, s.charAt(0), val); 188 private static void addNode(ArrayList<PathDataNode> list, char cmd, float[] val) { argument 189 list.add(new PathDataNode(cmd, val)); 363 char previousCmd, char cmd, float[] val) { 418 for (int k = 0; k < val.length; k += incr) { 421 currentX += val[k + 0]; 422 currentY += val[k + 1]; 427 path.rLineTo(val[k + 0], val[ 362 addCommand(Path path, float[] current, char previousCmd, char cmd, float[] val) argument [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | AbsActionBarView.java | 255 static protected int next(int x, int val, boolean isRtl) { argument 256 return isRtl ? x - val : x + val;
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 37 char val[PROPERTY_VALUE_MAX]; local 38 if (property_get("ro.build.display.id", val, NULL) && (strlen(val) > 0)) { 39 return AStringPrintf("<!-- Profiled-with: %s -->", val);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 444 AString val; local 445 if (!GetAttribute(params.c_str(), "cpresent", &val)) { 447 } else if (val == "0") { 450 CHECK(val == "1"); 454 CHECK(GetAttribute(params.c_str(), "config", &val)); 456 sp<ABuffer> config = decodeHex(val);
|
H A D | APacketSource.cpp | 111 AString val; local 113 if (GetAttribute(params, "profile-level-id", &val)) { 114 profileLevelID = decodeHex(val); 125 if (!GetAttribute(params, "sprop-parameter-sets", &val)) { 131 ssize_t commaPos = val.find(",", start); 132 size_t end = (commaPos < 0) ? val.size() : commaPos; 134 AString nalString(val, start, end - start); 223 AString val; local 224 CHECK(GetAttribute(params, "config", &val)); 226 sp<ABuffer> config = decodeHex(val); 261 AString val; local 366 AString val; local 540 AString val; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | HwParcel.java | 77 * @param val to write 79 public native final void writeBool(boolean val); argument 82 * @param val to write 84 public native final void writeInt8(byte val); argument 87 * @param val to write 89 public native final void writeInt16(short val); argument 92 * @param val to write 94 public native final void writeInt32(int val); argument 97 * @param val to write 99 public native final void writeInt64(long val); argument 104 writeFloat(float val) argument 109 writeDouble(double val) argument 117 writeString(String val) argument 123 writeBoolVector(boolean[] val) argument 128 writeInt8Vector(byte[] val) argument 133 writeInt16Vector(short[] val) argument 138 writeInt32Vector(int[] val) argument 143 writeInt64Vector(long[] val) argument 148 writeFloatVector(float[] val) argument 153 writeDoubleVector(double[] val) argument 161 writeStringVector(String[] val) argument 167 writeBoolVector(ArrayList<Boolean> val) argument 181 writeInt8Vector(ArrayList<Byte> val) argument 195 writeInt16Vector(ArrayList<Short> val) argument 209 writeInt32Vector(ArrayList<Integer> val) argument 223 writeInt64Vector(ArrayList<Long> val) argument 237 writeFloatVector(ArrayList<Float> val) argument 251 writeDoubleVector(ArrayList<Double> val) argument 265 writeStringVector(ArrayList<String> val) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 178 * @param val The map to be flattened. 186 public static final void writeMapXml(Map val, OutputStream out) argument 192 writeMapXml(val, null, serializer); 200 * @param val The list to be flattened. 208 public static final void writeListXml(List val, OutputStream out) argument 215 writeListXml(val, null, serializer); 223 * @param val The map to be flattened. 233 public static final void writeMapXml(Map val, String name, XmlSerializer out) argument 235 writeMapXml(val, name, out, null); 242 * @param val Th 255 writeMapXml(Map val, String name, XmlSerializer out, WriteMapCallback callback) argument 289 writeMapXml(Map val, XmlSerializer out, WriteMapCallback callback) argument 318 writeListXml(List val, String name, XmlSerializer out) argument 342 writeSetXml(Set val, String name, XmlSerializer out) argument 374 writeByteArrayXml(byte[] val, String name, XmlSerializer out) argument 419 writeIntArrayXml(int[] val, String name, XmlSerializer out) argument 459 writeLongArrayXml(long[] val, String name, XmlSerializer out) argument 498 writeDoubleArrayXml(double[] val, String name, XmlSerializer out) argument 537 writeStringArrayXml(String[] val, String name, XmlSerializer out) argument 576 writeBooleanArrayXml(boolean[] val, String name, XmlSerializer out) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AbsActionBarView.java | 314 static protected int next(int x, int val, boolean isRtl) { argument 315 return isRtl ? x - val : x + val;
|
/frameworks/base/libs/protoutil/src/ |
H A D | ProtoOutputStream.cpp | 54 ProtoOutputStream::write(uint64_t fieldId, double val) argument 59 case FIELD_TYPE_DOUBLE: writeDoubleImpl(id, (double)val); break; 60 case FIELD_TYPE_FLOAT: writeFloatImpl(id, (float)val); break; 61 case FIELD_TYPE_INT64: writeInt64Impl(id, (long long)val); break; 62 case FIELD_TYPE_UINT64: writeUint64Impl(id, (uint64_t)val); break; 63 case FIELD_TYPE_INT32: writeInt32Impl(id, (int)val); break; 64 case FIELD_TYPE_FIXED64: writeFixed64Impl(id, (uint64_t)val); break; 65 case FIELD_TYPE_FIXED32: writeFixed32Impl(id, (uint32_t)val); break; 66 case FIELD_TYPE_UINT32: writeUint32Impl(id, (uint32_t)val); break; 67 case FIELD_TYPE_SFIXED32: writeSFixed32Impl(id, (int)val); brea 80 write(uint64_t fieldId, float val) argument 106 write(uint64_t fieldId, int val) argument 134 write(uint64_t fieldId, long long val) argument 162 write(uint64_t fieldId, bool val) argument 178 write(uint64_t fieldId, std::string val) argument 194 write(uint64_t fieldId, const char* val, size_t size) argument 543 writeDoubleImpl(uint32_t id, double val) argument 550 writeFloatImpl(uint32_t id, float val) argument 557 writeInt64Impl(uint32_t id, long long val) argument 564 writeInt32Impl(uint32_t id, int val) argument 571 writeUint64Impl(uint32_t id, uint64_t val) argument 578 writeUint32Impl(uint32_t id, uint32_t val) argument 585 writeFixed64Impl(uint32_t id, uint64_t val) argument 592 writeFixed32Impl(uint32_t id, uint32_t val) argument 599 writeSFixed64Impl(uint32_t id, long long val) argument 606 writeSFixed32Impl(uint32_t id, int val) argument 613 writeZigzagInt64Impl(uint32_t id, long long val) argument 620 writeZigzagInt32Impl(uint32_t id, int val) argument 627 writeEnumImpl(uint32_t id, int val) argument 634 writeBoolImpl(uint32_t id, bool val) argument 641 writeUtf8StringImpl(uint32_t id, const char* val, size_t size) argument 651 writeMessageBytesImpl(uint32_t id, const char* val, size_t size) argument [all...] |