/external/selinux/libselinux/src/ |
seusers.c | 276 char *rec = NULL; local 287 free(rec); 288 rec = strdup(buffer); 296 free(rec); 297 rec = strdup(buffer); 302 if (! rec) goto err; 303 seuser = strchr(rec, ':'); 328 free(rec);
|
/external/skia/bench/ |
ClipMaskBench.cpp | 33 SkCanvas::SaveLayerRec rec(nullptr, nullptr, nullptr, fClip.get(), nullptr, 0); 36 canvas->saveLayer(rec);
|
/external/skia/src/core/ |
SkMipMap.h | 37 static SkDestinationSurfaceColorMode DeduceColorMode(const SkShaderBase::ContextRec& rec) { 38 return (SkShaderBase::ContextRec::kPMColor_DstType == rec.fPreferredDstType)
|
/external/skia/src/utils/ |
SkShadowUtils.cpp | 184 * records are immutable this is not itself a Rec. When we need to update it we return this on 185 * the FindVisitor and let the cache destroy the Rec. We'll update the tessellations and then add 186 * a new Rec with an adjusted size for any deletions/additions. 279 class CachedTessellationsRec : public SkResourceCache::Rec { 312 * mesh then we inform SkResourceCache to destroy the Rec and we return the CachedTessellations 338 bool FindVisitor(const SkResourceCache::Rec& baseRec, void* ctx) { 340 const CachedTessellationsRec& rec = static_cast<const CachedTessellationsRec&>(baseRec); local 342 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); 346 // We ref the tessellations and let the cache destroy the Rec. Once the tessellations have been 347 // manipulated we will add a new Rec 428 auto rec = new CachedTessellationsRec(*key, std::move(tessellations)); local 530 SkDrawShadowRec rec; local [all...] |
SkDashPath.cpp | 75 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { 76 SkScalar radius = SkScalarHalf(rec.getWidth()); 80 if (SkPaint::kMiter_Join == rec.getJoin()) { 81 radius *= rec.getMiter(); 171 static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, 185 outset_for_stroke(&bounds, rec); 249 outset_for_stroke(&bounds, rec); 287 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, 289 if (rec->isHairlineStyle() || !src.isLine(fPts)) { 294 if (SkPaint::kButt_Cap != rec->getCap()) [all...] |
/external/skqp/bench/ |
ClipMaskBench.cpp | 33 SkCanvas::SaveLayerRec rec(nullptr, nullptr, nullptr, fClip.get(), nullptr, 0); 36 canvas->saveLayer(rec);
|
/external/skqp/src/core/ |
SkMipMap.h | 36 static SkDestinationSurfaceColorMode DeduceColorMode(const SkShaderBase::ContextRec& rec) { 37 return (SkShaderBase::ContextRec::kPMColor_DstType == rec.fPreferredDstType)
|
/frameworks/base/core/java/android/os/storage/ |
IStorageEventListener.aidl | 52 void onVolumeRecordChanged(in VolumeRecord rec) = 3;
|
/external/clang/lib/ARCMigrate/ |
TransRetainReleaseDealloc.cpp | 84 if (Expr *rec = E->getInstanceReceiver()) { 85 rec = rec->IgnoreParenImpCasts(); 86 if (rec->getType().getObjCLifetime() == Qualifiers::OCL_ExplicitNone && 91 Pass.TA.reportError(err, rec->getLocStart()); 95 if (isGlobalVar(rec) && 100 Pass.TA.reportError(err, rec->getLocStart()); 104 if (E->getMethodFamily() == OMF_release && isDelegateMessage(rec)) { 108 "properly retained", rec->getLocStart()); 131 Expr *rec = E->getInstanceReceiver() local [all...] |
/external/skia/tools/ |
remote_demo.cpp | 54 Op(OpCode opCode, SkFontID typefaceId, const SkScalerContextRec& rec) 57 , descriptor{rec} { } 80 const SkScalerContextRec& rec, 82 Op* op = this->createOp(OpCode::kFontMetrics, tf, rec); 90 const SkScalerContextRec& rec, 92 Op* op = this->createOp(OpCode::kGlyphMetrics, tf, rec); 101 const SkScalerContextRec& rec, 104 Op* op = this->createOp(OpCode::kGlyphImage, tf, rec); 113 const SkScalerContextRec& rec, 116 Op* op = this->createOp(OpCode::kGlyphMetricsAndImage, tf, rec); [all...] |
/external/skia/tests/ |
GradientTest.cpp | 76 static void color_gradproc(skiatest::Reporter* reporter, const GradRec& rec, const GradRec&) { 77 sk_sp<SkShader> s(new SkColorShader(rec.fColors[0])); 170 GradRec rec; local 171 rec.fColorCount = SK_ARRAY_COUNT(gColors); 172 rec.fColors = gColors; 173 rec.fPos = gPos; 174 rec.fPoint = gPts; 175 rec.fRadius = gRad; 176 rec.fTileMode = SkShader::kClamp_TileMode; 188 gProcs[i](reporter, rec, rec) 253 GradRec rec; local [all...] |
/external/skqp/src/utils/ |
SkDashPath.cpp | 75 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { 76 SkScalar radius = SkScalarHalf(rec.getWidth()); 80 if (SkPaint::kMiter_Join == rec.getJoin()) { 81 radius *= rec.getMiter(); 171 static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, 185 outset_for_stroke(&bounds, rec); 249 outset_for_stroke(&bounds, rec); 287 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, 289 if (rec->isHairlineStyle() || !src.isLine(fPts)) { 294 if (SkPaint::kButt_Cap != rec->getCap()) [all...] |
/external/skqp/tests/ |
GradientTest.cpp | 76 static void color_gradproc(skiatest::Reporter* reporter, const GradRec& rec, const GradRec&) { 77 sk_sp<SkShader> s(new SkColorShader(rec.fColors[0])); 170 GradRec rec; local 171 rec.fColorCount = SK_ARRAY_COUNT(gColors); 172 rec.fColors = gColors; 173 rec.fPos = gPos; 174 rec.fPoint = gPts; 175 rec.fRadius = gRad; 176 rec.fTileMode = SkShader::kClamp_TileMode; 188 gProcs[i](reporter, rec, rec) 249 GradRec rec; local [all...] |
/external/ltp/testcases/realtime/lib/ |
libstats.c | 81 int stats_container_append(stats_container_t * data, stats_record_t rec) 90 data->records[myindex] = rec; 322 stats_record_t *rec; local 347 rec = &data->records[i]; 348 minx = MIN(minx, rec->x); 349 maxx = MAX(maxx, rec->x); 350 miny = MIN(miny, rec->y); 351 maxy = MAX(maxy, rec->y); 352 fprintf(dat_fd, "%ld %ld\n", rec->x, rec->y) [all...] |
/system/core/storaged/ |
storaged_service.cpp | 47 for (const auto& rec : merged_entries) { 50 rec.first.c_str(), 51 rec.second.bytes[READ][FOREGROUND][CHARGER_OFF], 52 rec.second.bytes[WRITE][FOREGROUND][CHARGER_OFF], 53 rec.second.bytes[READ][BACKGROUND][CHARGER_OFF], 54 rec.second.bytes[WRITE][BACKGROUND][CHARGER_OFF], 55 rec.second.bytes[READ][FOREGROUND][CHARGER_ON], 56 rec.second.bytes[WRITE][FOREGROUND][CHARGER_ON], 57 rec.second.bytes[READ][BACKGROUND][CHARGER_ON], 58 rec.second.bytes[WRITE][BACKGROUND][CHARGER_ON]) [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
DNSIncoming.java | 209 DNSRecord rec = this.readAnswer(source); local 210 if (rec != null) { 212 _answers.add(rec); 219 DNSRecord rec = this.readAnswer(source); local 220 if (rec != null) { 222 _authoritativeAnswers.add(rec); 229 DNSRecord rec = this.readAnswer(source); local 230 if (rec != null) { 232 _additionals.add(rec); 296 DNSRecord rec = null local [all...] |
/external/skia/gm/ |
gradients_no_texture.cpp | 153 static void make0(ColorPos* rec) { 179 rec->construct(colors, pos, N); 182 static void make1(ColorPos* rec) { 188 rec->construct(colors, nullptr, SK_ARRAY_COUNT(colors)); 191 static void make2(ColorPos* rec) { 202 rec->construct(colors, pos, N); 205 static void make3(ColorPos* rec) { 212 rec->construct(colors, pos, SK_ARRAY_COUNT(colors)); 256 ColorPos rec; variable 257 procs[i](&rec); variable [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType.cpp | 78 static bool isLCD(const SkScalerContextRec& rec) { 79 return SkMask::kLCD16_Format == rec.fMaskFormat; 284 static void ft_face_setup_axes(SkFaceRec* rec, const SkFontData& data) { 285 if (!(rec->fFace->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS)) { 291 rec->fNamedVariationSpecified = true; 297 if (FT_Get_MM_Var(rec->fFace.get(), &variations)) { 299 rec->fFace->family_name)); 306 rec->fFace->family_name, variations->num_axis, data.getAxisCount())); 315 if (FT_Set_Var_Design_Coordinates(rec->fFace.get(), data.getAxisCount(), coords.get())) { 317 rec->fFace->family_name)) 396 SkFaceRec* rec = gFaceRecHead; local [all...] |
/external/skqp/gm/ |
gradients_no_texture.cpp | 153 static void make0(ColorPos* rec) { 179 rec->construct(colors, pos, N); 182 static void make1(ColorPos* rec) { 188 rec->construct(colors, nullptr, SK_ARRAY_COUNT(colors)); 191 static void make2(ColorPos* rec) { 202 rec->construct(colors, pos, N); 205 static void make3(ColorPos* rec) { 212 rec->construct(colors, pos, SK_ARRAY_COUNT(colors)); 256 ColorPos rec; variable 257 procs[i](&rec); variable [all...] |
/external/skqp/src/ports/ |
SkFontHost_FreeType.cpp | 78 static bool isLCD(const SkScalerContextRec& rec) { 79 return SkMask::kLCD16_Format == rec.fMaskFormat; 284 static void ft_face_setup_axes(SkFaceRec* rec, const SkFontData& data) { 285 if (!(rec->fFace->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS)) { 291 rec->fNamedVariationSpecified = true; 297 if (FT_Get_MM_Var(rec->fFace.get(), &variations)) { 299 rec->fFace->family_name)); 306 rec->fFace->family_name, variations->num_axis, data.getAxisCount())); 315 if (FT_Set_Var_Design_Coordinates(rec->fFace.get(), data.getAxisCount(), coords.get())) { 317 rec->fFace->family_name)) 396 SkFaceRec* rec = gFaceRecHead; local [all...] |
/external/syslinux/core/fs/xfs/ |
xfs.c | 95 xfs_bmbt_irec_t rec; local 120 bmbt_irec_get(&rec, (xfs_bmbt_rec_t *)&core->di_literal_area[0] + 123 bno = fsblock_to_bytes(fs, rec.br_startblock) >> BLOCK_SHIFT(fs); 125 XFS_PVT(inode)->i_offset = rec.br_startoff; 128 inode->next_extent.len = ((rec.br_blockcount << BLOCK_SHIFT(fs)) + 154 bmbt_irec_get(&rec, XFS_BMDR_REC_ADDR(blk, index + 1)); 156 bno = fsblock_to_bytes(fs, rec.br_startblock) 159 XFS_PVT(inode)->i_offset = rec.br_startoff; 163 inode->next_extent.len = ((rec.br_blockcount 258 xfs_bmbt_irec_t rec; local [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 1147 struct mx_srv_record *rec; local 1182 for (rec = daemon->mxnames; rec; rec = rec->next) 1183 rec->offset = 0; [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
exceptions.py | 104 for rec in records: 105 if rec[6] is not None: 106 yield (rec[4], rec[5], rec[2], rec[6]) 108 yield tuple(rec[0:4])
|
/external/skia/experimental/docs/ |
animationCommon.js | 280 function loopOver(rec, timeline) { 282 if (rec.for) { 283 funcStr += "for (" + rec.for[0] + "; " + rec.for[1] + "; " + rec.for[2] + ") {\n"; 285 funcStr += " var time = " + ('time' in rec ? rec.time : 0) + ";\n"; 286 funcStr += " var duration = " + ('duration' in rec ? rec.duration : 0) + ";\n"; 288 var len = rec.actions.length [all...] |
/external/skqp/experimental/docs/ |
animationCommon.js | 280 function loopOver(rec, timeline) { 282 if (rec.for) { 283 funcStr += "for (" + rec.for[0] + "; " + rec.for[1] + "; " + rec.for[2] + ") {\n"; 285 funcStr += " var time = " + ('time' in rec ? rec.time : 0) + ";\n"; 286 funcStr += " var duration = " + ('duration' in rec ? rec.duration : 0) + ";\n"; 288 var len = rec.actions.length [all...] |