Searched defs:packed (Results 1 - 12 of 12) sorted by relevance

/external/skia/gpu/src/
H A DGrTextStrike_impl.h103 GrGlyph* GrTextStrike::getGlyph(GrGlyph::PackedID packed, argument
105 GrGlyph* glyph = fCache.find(packed);
107 glyph = this->generateGlyph(packed, scaler);
H A DGrTextContext.cpp162 void GrTextContext::drawPackedGlyph(GrGlyph::PackedID packed, argument
169 GrGlyph* glyph = fStrike->getGlyph(packed, scaler);
H A DGrTextStrike.cpp158 GrGlyph* GrTextStrike::generateGlyph(GrGlyph::PackedID packed, argument
161 if (!scaler->getPackedGlyphBounds(packed, &bounds)) {
166 glyph->init(packed, bounds);
167 fCache.insert(packed, glyph);
/external/skia/src/core/
H A DSkFloatBits.cpp20 static inline int unpack_exp(uint32_t packed) { argument
21 return (packed << 1 >> 24);
26 static inline int unpack_matissa(uint32_t packed) {
28 return (packed & ~0xFF000000) | MATISSA_MAGIC_BIG;
33 static inline int unpack_matissa_dirty(uint32_t packed) { argument
34 return packed & ~0xFF000000;
38 int32_t SkFloatBits_toIntCast(int32_t packed) { argument
39 int exp = unpack_exp(packed) - EXP_BIAS;
40 int value = unpack_matissa_dirty(packed) | MATISSA_MAGIC_BIG;
55 return SkApplySign(value, SkExtractSign(packed));
59 SkFloatBits_toIntFloor(int32_t packed) argument
89 SkFloatBits_toIntRound(int32_t packed) argument
119 SkFloatBits_toIntCeil(int32_t packed) argument
[all...]
H A DSkFloat.cpp22 static int get_unsigned_exp(uint32_t packed) argument
24 return (packed << 1 >> 24);
27 static unsigned get_unsigned_value(uint32_t packed) argument
29 return (packed << 9 >> 9) | (1 << 23);
32 static int get_signed_value(int32_t packed) argument
34 return SkApplySign(get_unsigned_value(packed), SkExtractSign(packed));
39 int SkFloat::GetShift(int32_t packed, int shift) argument
41 if (packed == 0)
44 int exp = get_unsigned_exp(packed)
103 int32_t packed = sign << 31; // set the sign-bit local
123 Neg(int32_t packed) argument
191 MulInt(int32_t packed, int n) argument
212 DivInt(int32_t packed, int n) argument
217 Invert(int32_t packed) argument
222 Sqrt(int32_t packed) argument
244 CubeRoot(int32_t packed) argument
[all...]
H A DSkFloat.h100 static int GetShift(int32_t packed, int shift);
103 static int32_t Abs(int32_t packed) { return (uint32_t)(packed << 1) >> 1; } argument
/external/skia/gpu/include/
H A DGrGlyph.h41 void init(GrGlyph::PackedID packed, const GrIRect& bounds) { argument
44 fPackedID = packed;
74 static inline GrFixed UnpackFixedX(PackedID packed) { argument
75 return ((packed >> 18) & 3) << 14;
78 static inline GrFixed UnpackFixedY(PackedID packed) { argument
79 return ((packed >> 16) & 3) << 14;
82 static inline uint16_t UnpackID(PackedID packed) { argument
83 return (uint16_t)packed;
/external/skia/src/gpu/
H A DSkGrFontScaler.cpp108 bool SkGrFontScaler::getPackedGlyphBounds(GrGlyph::PackedID packed, argument
110 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed),
111 GrGlyph::UnpackFixedX(packed),
112 GrGlyph::UnpackFixedY(packed));
130 bool SkGrFontScaler::getPackedGlyphImage(GrGlyph::PackedID packed, argument
133 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(packed),
134 GrGlyph::UnpackFixedX(packed),
135 GrGlyph::UnpackFixedY(packed));
/external/icu4c/test/cintltst/
H A Dbocu1tst.c126 /* 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/protobuf/src/google/protobuf/
H A Dextension_set.cc258 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 Ddescriptor.pb.h1764 // 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/valgrind/main/perf/
H A Dtinycc.c2227 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

Completed in 246 milliseconds