/external/skia/src/core/ |
H A D | SkFloatBits.cpp | 27 static inline int unpack_exp(uint32_t packed) { argument 28 return (packed << 1 >> 24); 33 static inline int unpack_matissa(uint32_t packed) { 35 return (packed & ~0xFF000000) | MATISSA_MAGIC_BIG; 40 static inline int unpack_matissa_dirty(uint32_t packed) { argument 41 return packed & ~0xFF000000; 45 int32_t SkFloatBits_toIntCast(int32_t packed) { argument 46 int exp = unpack_exp(packed) - EXP_BIAS; 47 int value = unpack_matissa_dirty(packed) | MATISSA_MAGIC_BIG; 62 return SkApplySign(value, SkExtractSign(packed)); 66 SkFloatBits_toIntFloor(int32_t packed) argument 96 SkFloatBits_toIntRound(int32_t packed) argument 126 SkFloatBits_toIntCeil(int32_t packed) argument [all...] |
H A D | SkFloat.cpp | 15 static int get_unsigned_exp(uint32_t packed) argument 17 return (packed << 1 >> 24); 20 static unsigned get_unsigned_value(uint32_t packed) argument 22 return (packed << 9 >> 9) | (1 << 23); 25 static int get_signed_value(int32_t packed) argument 27 return SkApplySign(get_unsigned_value(packed), SkExtractSign(packed)); 32 int SkFloat::GetShift(int32_t packed, int shift) argument 34 if (packed == 0) 37 int exp = get_unsigned_exp(packed) 96 int32_t packed = sign << 31; // set the sign-bit local 116 Neg(int32_t packed) argument 184 MulInt(int32_t packed, int n) argument 205 DivInt(int32_t packed, int n) argument 210 Invert(int32_t packed) argument 215 Sqrt(int32_t packed) argument 237 CubeRoot(int32_t packed) argument [all...] |
H A D | SkFloat.h | 93 static int GetShift(int32_t packed, int shift); 96 static int32_t Abs(int32_t packed) { return (uint32_t)(packed << 1) >> 1; } argument
|
H A D | SkPictureFlat.h | 63 // clipparams are packed in 5 bits 71 static inline SkRegion::Op ClipParams_unpackRegionOp(uint32_t packed) { argument 72 return (SkRegion::Op)(packed & 0xF); 75 static inline bool ClipParams_unpackDoAA(uint32_t packed) { argument 76 return SkToBool((packed >> 4) & 1);
|
H A D | SkPath.cpp | 1605 uint32_t packed = buffer.readS32(); local 1606 fFillType = packed >> 8; 1607 fSegmentMask = packed & 0xFF;
|
H A D | SkPicturePlayback.cpp | 522 uint32_t packed = getInt(); local 523 SkRegion::Op op = ClipParams_unpackRegionOp(packed); 524 bool doAA = ClipParams_unpackDoAA(packed); 535 uint32_t packed = getInt(); local 536 SkRegion::Op op = ClipParams_unpackRegionOp(packed); 547 uint32_t packed = getInt(); local 548 SkRegion::Op op = ClipParams_unpackRegionOp(packed); 549 bool doAA = ClipParams_unpackDoAA(packed);
|
/external/skia/src/gpu/ |
H A D | GrTextStrike_impl.h | 96 GrGlyph* GrTextStrike::getGlyph(GrGlyph::PackedID packed, argument 98 GrGlyph* glyph = fCache.find(packed); 100 glyph = this->generateGlyph(packed, scaler);
|
H A D | GrTextStrike.cpp | 154 GrGlyph* GrTextStrike::generateGlyph(GrGlyph::PackedID packed, argument 157 if (!scaler->getPackedGlyphBounds(packed, &bounds)) { 162 glyph->init(packed, bounds); 163 fCache.insert(packed, glyph);
|
H A D | GrTextContext.cpp | 175 void GrTextContext::drawPackedGlyph(GrGlyph::PackedID packed, argument 182 GrGlyph* glyph = fStrike->getGlyph(packed, scaler);
|
H A D | SkGrFontScaler.cpp | 103 bool SkGrFontScaler::getPackedGlyphBounds(GrGlyph::PackedID packed, argument 105 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), 106 GrGlyph::UnpackFixedX(packed), 107 GrGlyph::UnpackFixedY(packed)); 125 bool SkGrFontScaler::getPackedGlyphImage(GrGlyph::PackedID packed, argument 128 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed), 129 GrGlyph::UnpackFixedX(packed), 130 GrGlyph::UnpackFixedY(packed));
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
H A D | SwitchData.java | 29 * in either a "packed" or "sparse" form. 47 /** whether the output table will be packed (vs. sparse) */ 48 private final boolean packed; field in class:SwitchData 90 this.packed = shouldPack(cases); 96 return packed ? (int) packedCodeSize(cases) : 107 if (packed) { 153 * Returns whether or not this instance's data will be output as packed. 155 * @return {@code true} iff the data is to be packed 158 return packed; 184 sb.append(packed [all...] |
/external/skia/include/gpu/ |
H A D | GrGlyph.h | 34 void init(GrGlyph::PackedID packed, const GrIRect& bounds) { argument 37 fPackedID = packed; 67 static inline GrFixed UnpackFixedX(PackedID packed) { argument 68 return ((packed >> 18) & 3) << 14; 71 static inline GrFixed UnpackFixedY(PackedID packed) { argument 72 return ((packed >> 16) & 3) << 14; 75 static inline uint16_t UnpackID(PackedID packed) { argument 76 return (uint16_t)packed;
|
/external/icu4c/test/cintltst/ |
H A D | bocu1tst.c | 126 /* The length of a byte sequence, according to its packed form. */ 127 #define BOCU1_LENGTH_FROM_PACKED(packed) \ 128 ((uint32_t)(packed)<0x04000000 ? (packed)>>24 : 4) 273 * and return a packed integer with them. 330 /* encode the length of the packed result */ 359 * @return the packed 1/2/3/4-byte encoding, see packDiff(), 599 * Write a packed BOCU-1 byte sequence into a byte array, 603 * @param packed packed BOC 610 writePacked(int32_t packed, uint8_t *p) argument 643 unpackDiff(int32_t initialPrev, int32_t packed) argument 679 int32_t packed, initialPrev; local [all...] |
/external/smali/smali/src/main/java/org/jf/smali/ |
H A D | smaliFlexLexer.java | 122 private static int zzUnpackAction(String packed, int offset, int [] result) { argument 123 int i = 0; /* index in packed string */ 125 int l = packed.length(); 127 int count = packed.charAt(i++); 128 int value = packed.charAt(i++); 289 private static int zzUnpackRowMap(String packed, int offset, int [] result) { argument 290 int i = 0; /* index in packed string */ 292 int l = packed.length(); 294 int high = packed.charAt(i++) << 16; 295 result[j++] = high | packed 2622 zzUnpackTrans(String packed, int offset, int [] result) argument 2684 zzUnpackAttribute(String packed, int offset, int [] result) argument 2925 zzUnpackCMap(String packed) argument [all...] |
/external/protobuf/src/google/protobuf/ |
H A D | extension_set.cc | 258 bool packed, LOWERCASE value, \ 265 extension->is_packed = packed; \ 269 GOOGLE_DCHECK_EQ(extension->is_packed, packed); \ 327 bool packed, int value, 334 extension->is_packed = packed; 338 GOOGLE_DCHECK_EQ(extension->is_packed, packed); 776 GOOGLE_LOG(FATAL) << "Non-primitive types can't be packed."; 1139 GOOGLE_LOG(FATAL) << "Non-primitive types can't be packed."; 1273 GOOGLE_LOG(FATAL) << "Non-primitive types can't be packed."; 326 AddEnum(int number, FieldType type, bool packed, int value, const FieldDescriptor* descriptor) argument
|
H A D | descriptor.pb.h | 1764 // optional bool packed = 2; 1768 inline bool packed() const; 3884 // optional bool packed = 2; 3892 inline bool FieldOptions::packed() const { function in class:google::protobuf::FieldOptions
|
/external/libmtp/src/ |
H A D | ptp-pack.c | 211 uint8_t packed[PTP_MAXSTRLEN*2+3], len; local 216 ptp_pack_string(params, "", (unsigned char*) packed, 0, &len); 218 ptp_pack_string(params, string, (unsigned char*) packed, 0, &len); 228 memcpy(retcopy, packed, plen); 500 #if 0 /* seems now we don't need any data packed in OI dataset... for now ;)*/ 1009 /* Allocate memory for the packed property list */ 1015 /* Copy into a nice packed list */
|
/external/valgrind/main/perf/ |
H A D | tinycc.c | 2227 int packed; 2798 DEF(TOK_PACKED1, "packed") 4130 DEF(TOK_PACKED1, "packed") 12019 - packed : force data alignment to 1 12062 ad->packed = 1; 12220 } else if (ad.packed) { 14343 } else if (ad->packed) { 2225 int packed; member in struct:AttributeDef
|