/external/selinux/libselinux/src/ |
H A D | label_file.c | 153 static int process_line(struct selabel_handle *rec, argument 159 struct saved_data *data = (struct saved_data *)rec->data; 206 if (rec->validating && compile_regex(data, &spec_arr[nspec], &errbuf)) { 230 if (strcmp(context, "<<none>>") && rec->validating) 231 compat_validate(rec, &spec_arr[nspec].lr, path, lineno); 238 static int load_mmap(struct selabel_handle *rec, const char *path, struct stat *sb) argument 240 struct saved_data *data = (struct saved_data *)rec->data; 446 static int process_file(const char *path, const char *suffix, struct selabel_handle *rec, const char *prefix) argument 478 rc = load_mmap(rec, path, &sb); 487 rc = process_line(rec, pat 498 init(struct selabel_handle *rec, struct selinux_opt *opts, unsigned n) argument 570 closef(struct selabel_handle *rec) argument 614 lookup(struct selabel_handle *rec, const char *key, int type) argument 697 stats(struct selabel_handle *rec) argument 721 selabel_file_init(struct selabel_handle *rec, struct selinux_opt *opts, unsigned nopts) argument [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
H A D | DNSOutgoing.java | 154 void writeRecord(DNSRecord rec, long now) { argument 155 writeName(rec.getName()); 156 writeShort(rec.getRecordType().indexValue()); 157 writeShort(rec.getRecordClass().indexValue() | ((rec.isUnique() && _out.isMulticast()) ? DNSRecordClass.CLASS_UNIQUE : 0)); 158 writeInt((now == 0) ? rec.getTTL() : rec.getRemainingTTL(now)); 162 rec.write(record); 239 * @param rec 242 public void addQuestion(DNSQuestion rec) throw argument 261 addAnswer(DNSIncoming in, DNSRecord rec) argument 274 addAnswer(DNSRecord rec, long now) argument 296 addAuthorativeAnswer(DNSRecord rec) argument 315 addAdditionalAnswer(DNSIncoming in, DNSRecord rec) argument [all...] |
/external/skia/src/effects/gradients/ |
H A D | SkTwoPointConicalGradient.cpp | 18 TwoPtRadialContext(const TwoPtRadial& rec, SkScalar fx, SkScalar fy, 97 TwoPtRadialContext::TwoPtRadialContext(const TwoPtRadial& rec, SkScalar fx, SkScalar fy, argument 99 : fRec(rec) 100 , fRelX(SkScalarToFloat(fx) - rec.fCenterX) 101 , fRelY(SkScalarToFloat(fy) - rec.fCenterY) 104 , fB(-2 * (rec.fDCenterX * fRelX + rec.fDCenterY * fRelY + rec.fRDR)) 105 , fDB(-2 * (rec.fDCenterX * fIncX + rec 138 twopoint_clamp(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 155 twopoint_repeat(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 172 twopoint_mirror(TwoPtRadialContext* rec, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int toggle, int count) argument 218 onCreateContext(const ContextRec& rec, void* storage) const argument 223 TwoPointConicalGradientContext( const SkTwoPointConicalGradient& shader, const ContextRec& rec) argument [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | tdb.c | 267 static int tdb_free(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec); 268 static tdb_off_t tdb_allocate(struct tdb_context *tdb, tdb_len_t length, struct list_struct *rec); 273 static int tdb_rec_read(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec); 274 static int tdb_rec_write(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec); 275 static int tdb_do_delete(struct tdb_context *tdb, tdb_off_t rec_ptr, struct list_struct *rec); 283 struct list_struct *rec); 287 struct list_struct *rec); 1052 struct list_struct rec; local 1104 memset(&rec,'\0',sizeof(rec)); 1191 tdb_rec_read(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec) argument 1204 tdb_rec_write(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec) argument 1794 struct list_struct rec; local 1877 struct list_struct *rec; local 2137 struct list_struct rec; local 2257 tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec) argument 2307 update_tailer(struct tdb_context *tdb, tdb_off_t offset, const struct list_struct *rec) argument 2320 tdb_free(struct tdb_context *tdb, tdb_off_t offset, struct list_struct *rec) argument 2422 tdb_allocate_ofs(struct tdb_context *tdb, tdb_len_t length, tdb_off_t rec_ptr, struct list_struct *rec, tdb_off_t last_ptr) argument 2483 tdb_allocate(struct tdb_context *tdb, tdb_len_t length, struct list_struct *rec) argument 2580 struct list_struct rec; local 2643 tdb_next_lock(struct tdb_context *tdb, struct tdb_traverse_lock *tlock, struct list_struct *rec) argument 2755 struct list_struct rec; local 2865 struct list_struct rec; local 2891 struct list_struct rec; local 2951 struct list_struct rec; local 3016 struct list_struct rec; local 3131 tdb_find_lock_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, int locktype, struct list_struct *rec) argument 3150 struct list_struct rec; local 3185 struct list_struct rec; local 3223 struct list_struct rec; local 3250 struct list_struct rec; local 3303 struct list_struct rec; local 3327 struct list_struct rec; local 3363 struct list_struct rec; local 3454 struct list_struct rec; local [all...] |
/external/skia/src/core/ |
H A D | SkShader.cpp | 64 bool SkShader::computeTotalInverse(const ContextRec& rec, SkMatrix* totalInverse) const { argument 66 total.setConcat(*rec.fMatrix, fLocalMatrix); 69 if (rec.fLocalMatrix) { 70 total.setConcat(*m, *rec.fLocalMatrix); 88 SkShader::Context* SkShader::createContext(const ContextRec& rec, void* storage) const { argument 89 if (!this->computeTotalInverse(rec, NULL)) { 92 return this->onCreateContext(rec, storage); 95 SkShader::Context* SkShader::onCreateContext(const ContextRec& rec, void*) const { argument 103 SkShader::Context::Context(const SkShader& shader, const ContextRec& rec) argument 104 : fShader(shader), fCTM(*rec 281 onCreateContext(const ContextRec& rec, void* storage) const argument 285 ColorShaderContext(const SkColorShader& shader, const ContextRec& rec) argument [all...] |
H A D | SkPathEffect.cpp | 74 SkStrokeRec* rec, const SkRect* cullRect) const { 83 if (fPE1->filterPath(&tmp, src, rec, cullRect)) { 86 return fPE0->filterPath(dst, *ptr, rec, cullRect); 107 SkStrokeRec* rec, const SkRect* cullRect) const { 109 return fPE0->filterPath(dst, src, rec, cullRect) | 110 fPE1->filterPath(dst, src, rec, cullRect); 73 filterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, const SkRect* cullRect) const argument 106 filterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, const SkRect* cullRect) const argument
|
H A D | SkComposeShader.cpp | 78 SkShader::Context* SkComposeShader::onCreateContext(const ContextRec& rec, void* storage) const { argument 85 tmpM.setConcat(*rec.fMatrix, this->getLocalMatrix()); 90 SkPaint opaquePaint(*rec.fPaint); 93 ContextRec newRec(rec); 105 return SkNEW_PLACEMENT_ARGS(storage, ComposeShaderContext, (*this, rec, contextA, contextB)); 109 const SkComposeShader& shader, const ContextRec& rec, 111 : INHERITED(shader, rec) 120 bool SkComposeShader::asACompose(ComposeRec* rec) const { 121 if (rec) { 122 rec 108 ComposeShaderContext( const SkComposeShader& shader, const ContextRec& rec, SkShader::Context* contextA, SkShader::Context* contextB) argument [all...] |
H A D | SkFilterShader.cpp | 59 SkShader::Context* SkFilterShader::onCreateContext(const ContextRec& rec, void* storage) const { argument 61 SkShader::Context* shaderContext = fShader->createContext(rec, shaderContextStorage); 65 return SkNEW_PLACEMENT_ARGS(storage, FilterShaderContext, (*this, shaderContext, rec)); 74 const ContextRec& rec) 75 : INHERITED(filterShader, rec) 72 FilterShaderContext(const SkFilterShader& filterShader, SkShader::Context* shaderContext, const ContextRec& rec) argument
|
H A D | SkBitmapCache.cpp | 78 const BitmapRec& rec = static_cast<const BitmapRec&>(baseRec); local 81 *result = rec.fBitmap; 113 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (src.getGenerationID(), invScaleX, invScaleY, local 115 CHECK_LOCAL(localCache, add, Add, rec); 137 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (pr->getGenerationID(), 1, 1, subset, result)); local 139 CHECK_LOCAL(localCache, add, Add, rec); 178 const MipMapRec& rec = static_cast<const MipMapRec&>(baseRec); local 179 const SkMipMap* mm = SkRef(rec.fMipMap); 215 MipMapRec* rec = SkNEW_ARGS(MipMapRec, (src, mipmap)); local 216 CHECK_LOCAL(localCache, add, Add, rec); [all...] |
H A D | SkYUVPlanesCache.cpp | 53 const YUVPlanesRec& rec = static_cast<const YUVPlanesRec&>(baseRec); local 56 SkCachedData* tmpData = rec.fValue.fData; 63 result->fInfo = rec.fValue.fInfo;
|
/external/skia/src/utils/ |
H A D | SkDashPath.cpp | 79 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { argument 80 SkScalar radius = SkScalarHalf(rec.getWidth()); 84 if (SkPaint::kMiter_Join == rec.getJoin()) { 85 radius = SkScalarMul(radius, rec.getMiter()); 92 static bool cull_path(const SkPath& srcPath, const SkStrokeRec& rec, argument 105 outset_for_stroke(&bounds, rec); 154 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, argument 156 if (rec->isHairlineStyle() || !src.isLine(fPts)) { 161 if (SkPaint::kButt_Cap != rec->getCap()) { 175 fNormal.scale(SkScalarHalf(rec 221 FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, const SkRect* cullRect, const SkScalar aIntervals[], int32_t count, SkScalar initialDashLength, int32_t initialDashIndex, SkScalar intervalLength) argument 320 FilterDashPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, const SkRect* cullRect, const SkPathEffect::DashInfo& info) argument [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3rewritestreams.c | 102 stream->rec->state->rStreams->add(stream->rec->state->rStreams, stream, (void(*)(void *))expungeRS); 171 stream->rec->state->rStreams->add(stream->rec->state->rStreams, stream, (void(*)(void *))expungeRS); 187 antlr3RewriteRuleElementStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description) argument 195 if (rec->state->rStreams->count > 0) 200 stream = rec->state->rStreams->remove(rec->state->rStreams, rec->state->rStreams->count - 1); 224 stream->rec 257 antlr3RewriteRuleElementStreamNewAEE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void * oneElement) argument 280 antlr3RewriteRuleElementStreamNewAEV(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector) argument 309 antlr3RewriteRuleTOKENStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description) argument 333 antlr3RewriteRuleTOKENStreamNewAEE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void * oneElement) argument 352 antlr3RewriteRuleTOKENStreamNewAEV(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector) argument 373 antlr3RewriteRuleSubtreeStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description) argument 395 antlr3RewriteRuleSubtreeStreamNewAEE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void * oneElement) argument 418 antlr3RewriteRuleSubtreeStreamNewAEV(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector) argument 442 antlr3RewriteRuleNODEStreamNewAE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description) argument 466 antlr3RewriteRuleNODEStreamNewAEE(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, void * oneElement) argument 485 antlr3RewriteRuleNODEStreamNewAEV(pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 description, pANTLR3_VECTOR vector) argument [all...] |
/external/libselinux/src/ |
H A D | label_file.c | 281 static int process_line(struct selabel_handle *rec, argument 288 struct saved_data *data = (struct saved_data *)rec->data; 331 if (rec->validating && compile_regex(data, &spec_arr[nspec], &errbuf)) { 382 if (strcmp(context, "<<none>>") && rec->validating) { 383 if (selabel_validate(rec, &spec_arr[nspec].lr) < 0) { 399 static int init(struct selabel_handle *rec, const struct selinux_opt *opts, argument 402 struct saved_data *data = (struct saved_data *)rec->data; 465 if (process_line(rec, path, prefix, line_buf, 479 (rec, homedir_path, prefix, 489 (rec, local_pat 543 closef(struct selabel_handle *rec) argument 575 lookup_common(struct selabel_handle *rec, const char *key, int type, bool partial) argument 664 lookup(struct selabel_handle *rec, const char *key, int type) argument 674 partial_match(struct selabel_handle *rec, const char *key) argument 679 lookup_best_match(struct selabel_handle *rec, const char *key, const char **aliases, int type) argument 734 stats(struct selabel_handle *rec) argument 758 selabel_file_init(struct selabel_handle *rec, const struct selinux_opt *opts, unsigned nopts) argument [all...] |
/external/skia/src/opts/ |
H A D | SkXfermode_opts_arm_neon.h | 8 SkNEONProcCoeffXfermode(const ProcCoeff& rec, SkXfermode::Mode mode, argument 10 : INHERITED(rec, mode), fProcSIMD(procSIMD) {}
|
/external/skia/src/effects/ |
H A D | SkDashPathEffect.cpp | 39 SkStrokeRec* rec, const SkRect* cullRect) const { 40 return SkDashPath::FilterDashPath(dst, src, rec, cullRect, fIntervals, fCount, 44 static void outset_for_stroke(SkRect* rect, const SkStrokeRec& rec) { argument 45 SkScalar radius = SkScalarHalf(rec.getWidth()); 49 if (SkPaint::kMiter_Join == rec.getJoin()) { 50 radius = SkScalarMul(radius, rec.getMiter()); 58 static bool cull_line(SkPoint* pts, const SkStrokeRec& rec, argument 74 outset_for_stroke(&bounds, rec); 160 const SkStrokeRec& rec, 164 if (fInitialDashLength < 0 || 0 >= rec 38 filterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, const SkRect* cullRect) const argument 158 asPoints(PointData* results, const SkPath& src, const SkStrokeRec& rec, const SkMatrix& matrix, const SkRect* cullRect) const argument [all...] |
H A D | SkTransparentShader.cpp | 14 SkShader::Context* SkTransparentShader::onCreateContext(const ContextRec& rec, argument 16 return SkNEW_PLACEMENT_ARGS(storage, TransparentShaderContext, (*this, rec)); 24 const SkTransparentShader& shader, const ContextRec& rec) 25 : INHERITED(shader, rec) 26 , fDevice(rec.fDevice) {} 23 TransparentShaderContext( const SkTransparentShader& shader, const ContextRec& rec) argument
|
H A D | SkBlurDrawLooper.cpp | 87 bool SkBlurDrawLooper::asABlurShadow(BlurShadowRec* rec) const { 92 if (rec) { 93 rec->fSigma = fSigma; 94 rec->fColor = fBlurColor; 95 rec->fOffset.set(fDx, fDy); 96 rec->fStyle = kNormal_SkBlurStyle; 97 rec->fQuality = (fBlurFlags & kHighQuality_BlurFlag) ?
|
/external/v8/src/ |
H A D | unbound-queue-inl.h | 46 bool UnboundQueue<Record>::Dequeue(Record* rec) { argument 49 *rec = next->value; 56 void UnboundQueue<Record>::Enqueue(const Record& rec) { argument 58 next = new Node(rec);
|
/external/v8/test/mjsunit/tools/ |
H A D | profile.js | 294 var rec = flatProfile[i]; 295 assertTrue(rec.label in testDriver.counters, 'uncounted: ' + rec.label); 296 var reference = testDriver.counters[rec.label]; 297 assertEquals(reference.self, rec.selfWeight, 'self of ' + rec.label); 298 assertEquals(reference.total, rec.totalWeight, 'total of ' + rec.label); 340 var rec = flatProfile[i]; 341 assertTrue(rec [all...] |
/external/llvm/include/llvm/Support/ |
H A D | Mutex.h | 94 explicit SmartMutex(bool rec = true) : 95 impl(rec), acquired(0), recursive(rec) { }
|
/external/speex/include/speex/ |
H A D | speex_echo.h | 97 * @param rec Signal from the microphone (near end + far end echo) 101 void speex_echo_cancellation(SpeexEchoState *st, const spx_int16_t *rec, const spx_int16_t *play, spx_int16_t *out); 104 void speex_echo_cancel(SpeexEchoState *st, const spx_int16_t *rec, const spx_int16_t *play, spx_int16_t *out, spx_int32_t *Yout); 109 * @param rec Signal from the microphone (near end + far end echo) 112 void speex_echo_capture(SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out);
|
/external/harfbuzz_ng/src/hb-ucdn/ |
H A D | ucdn.c | 222 const unsigned short *rec; local 228 rec = get_decomp_record(code); 229 len = rec[0] >> 8; 231 if ((rec[0] & 0xff) != 0 || len == 0) 234 rec++; 235 *a = decode_utf16(&rec); 237 *b = decode_utf16(&rec); 270 const unsigned short *rec = get_decomp_record(code); local 271 len = rec[0] >> 8; 276 rec [all...] |
/external/selinux/libsemanage/src/ |
H A D | database.h | 24 int (*create) (struct semanage_handle * handle, record_t ** rec); 28 const record_t * rec, record_key_t ** key); 36 int (*compare) (const record_t * rec, const record_key_t * key); 41 int (*compare2) (const record_t * rec, const record_t * rec2); 46 int (*compare2_qsort) (const record_t ** rec, const record_t ** rec2); 50 const record_t * rec, record_t ** new_rec); 53 void (*free) (record_t * rec);
|
/external/skia/src/image/ |
H A D | SkImage.cpp | 42 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, srcX, srcY); 43 if (!rec.trim(this->width(), this->height())) { 46 return as_IB(this)->onReadPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY);
|
/external/skia/gm/ |
H A D | picture.cpp | 13 SkPictureRecorder rec; local 14 SkCanvas* canvas = rec.beginRecording(100, 100); 35 return rec.endRecording();
|