Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 25 of 885) sorted by relevance

12345678910>>...36

/external/selinux/dbus/
Dselinux_client.py10 rec = i.split()
11 if len(rec) == 0:
13 if rec[1] == "-D":
15 if rec[0] not in cust_dict:
16 cust_dict[rec[0]] = {}
17 if rec[0] == "boolean":
18 cust_dict["boolean"][rec[-1]] = {"active": rec[2] == "-1"}
19 if rec[0] == "login":
20 cust_dict["login"][rec[-1]] = {"seuser": rec[3], "range": rec[5]}
21 if rec[0] == "interface":
[all …]
/external/skia/src/utils/
DSkMetaData.cpp47 Rec* rec = fRec; in reset() local
48 while (rec) { in reset()
49 if (kPtr_Type == rec->fType) { in reset()
50 PtrPair* pair = (PtrPair*)rec->data(); in reset()
55 Rec* next = rec->fNext; in reset()
56 Rec::Free(rec); in reset()
57 rec = next; in reset()
66 const Rec* rec = src.fRec; in operator =() local
67 while (rec) in operator =()
69 this->set(rec->name(), rec->data(), rec->fDataLen, (Type)rec->fType, rec->fDataCount); in operator =()
[all …]
/external/skqp/src/core/
DSkMetaData.cpp47 Rec* rec = fRec; in reset() local
48 while (rec) { in reset()
49 if (kPtr_Type == rec->fType) { in reset()
50 PtrPair* pair = (PtrPair*)rec->data(); in reset()
55 Rec* next = rec->fNext; in reset()
56 Rec::Free(rec); in reset()
57 rec = next; in reset()
66 const Rec* rec = src.fRec; in operator =() local
67 while (rec) in operator =()
69 this->set(rec->name(), rec->data(), rec->fDataLen, (Type)rec->fType, rec->fDataCount); in operator =()
[all …]
DSkResourceCache.cpp68 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()
69 return rec->getKey(); in GetKey()
104 Rec* rec = fHead; in ~SkResourceCache() local
105 while (rec) { in ~SkResourceCache()
106 Rec* next = rec->fNext; in ~SkResourceCache()
107 delete rec; in ~SkResourceCache()
108 rec = next; in ~SkResourceCache()
119 Rec* rec = *found; in find() local
120 if (visitor(*rec, context)) { in find()
121 this->moveToHead(rec); // for our LRU in find()
[all …]
DSkTLS.cpp25 SkTLSRec* rec = (SkTLSRec*)ptr; in Destructor() local
27 SkTLSRec* next = rec->fNext; in Destructor()
28 delete rec; in Destructor()
29 rec = next; in Destructor()
30 } while (rec); in Destructor()
41 const SkTLSRec* rec = (const SkTLSRec*)ptr; in Get() local
43 if (rec->fCreateProc == createProc) { in Get()
44 SkASSERT(rec->fDeleteProc == deleteProc); in Get()
45 return rec->fData; in Get()
47 } while ((rec = rec->fNext) != nullptr); in Get()
[all …]
/external/selinux/libselinux/src/
Dlabel.c50 typedef int (*selabel_initfunc)(struct selabel_handle *rec,
130 int selabel_validate(struct selabel_handle *rec, in selabel_validate() argument
135 if (!rec->validating || contexts->validated) in selabel_validate()
148 static int selabel_fini(struct selabel_handle *rec, in selabel_fini() argument
154 if (rec->spec_files) in selabel_fini()
155 path = rec->spec_files[0]; in selabel_fini()
156 if (compat_validate(rec, lr, path, lr->lineno)) in selabel_fini()
167 selabel_lookup_common(struct selabel_handle *rec, int translating, in selabel_lookup_common() argument
177 lr = rec->func_lookup(rec, key, type); in selabel_lookup_common()
181 if (selabel_fini(rec, lr, translating)) in selabel_lookup_common()
[all …]
/external/skia/src/core/
DSkResourceCache.cpp68 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()
69 return rec->getKey(); in GetKey()
104 Rec* rec = fHead; in ~SkResourceCache() local
105 while (rec) { in ~SkResourceCache()
106 Rec* next = rec->fNext; in ~SkResourceCache()
107 delete rec; in ~SkResourceCache()
108 rec = next; in ~SkResourceCache()
119 Rec* rec = *found; in find() local
120 if (visitor(*rec, context)) { in find()
121 this->moveToHead(rec); // for our LRU in find()
[all …]
DSkTLS.cpp25 SkTLSRec* rec = (SkTLSRec*)ptr; in Destructor() local
27 SkTLSRec* next = rec->fNext; in Destructor()
28 delete rec; in Destructor()
29 rec = next; in Destructor()
30 } while (rec); in Destructor()
41 const SkTLSRec* rec = (const SkTLSRec*)ptr; in Get() local
43 if (rec->fCreateProc == createProc) { in Get()
44 SkASSERT(rec->fDeleteProc == deleteProc); in Get()
45 return rec->fData; in Get()
47 } while ((rec = rec->fNext) != nullptr); in Get()
[all …]
/external/antlr/runtime/C/src/
Dantlr3lexer.c60 static void displayRecognitionError (pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 * tokenName…
61 static void reportError (pANTLR3_BASE_RECOGNIZER rec);
66 static void reset (pANTLR3_BASE_RECOGNIZER rec);
88 lexer->rec = antlr3BaseRecognizerNew(ANTLR3_TYPE_LEXER, sizeHint, state); in antlr3LexerNew()
90 if (lexer->rec == NULL) in antlr3LexerNew()
95 lexer->rec->super = lexer; in antlr3LexerNew()
97 lexer->rec->displayRecognitionError = displayRecognitionError; in antlr3LexerNew()
98 lexer->rec->reportError = reportError; in antlr3LexerNew()
99 lexer->rec->reset = reset; in antlr3LexerNew()
100 lexer->rec->getCurrentInputSymbol = getCurrentInputSymbol; in antlr3LexerNew()
[all …]
/external/u-boot/common/
Dbootstage.c69 struct bootstage_record *rec; in find_id() local
72 for (rec = data->record, end = rec + data->rec_count; rec < end; in find_id()
73 rec++) { in find_id()
74 if (rec->id == id) in find_id()
75 return rec; in find_id()
84 struct bootstage_record *rec; in ensure_id() local
86 rec = find_id(data, id); in ensure_id()
87 if (!rec && data->rec_count < RECORD_COUNT) { in ensure_id()
88 rec = &data->record[data->rec_count++]; in ensure_id()
89 rec->id = id; in ensure_id()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dbb_inode.c61 struct set_badblock_record rec; in ext2fs_update_bb_inode() local
69 memset(&rec, 0, sizeof(rec)); in ext2fs_update_bb_inode()
70 rec.max_ind_blocks = 10; in ext2fs_update_bb_inode()
71 retval = ext2fs_get_array(rec.max_ind_blocks, sizeof(blk_t), in ext2fs_update_bb_inode()
72 &rec.ind_blocks); in ext2fs_update_bb_inode()
75 memset(rec.ind_blocks, 0, rec.max_ind_blocks * sizeof(blk_t)); in ext2fs_update_bb_inode()
76 retval = ext2fs_get_mem(fs->blocksize, &rec.block_buf); in ext2fs_update_bb_inode()
79 memset(rec.block_buf, 0, fs->blocksize); in ext2fs_update_bb_inode()
80 rec.err = 0; in ext2fs_update_bb_inode()
87 clear_bad_block_proc, &rec); in ext2fs_update_bb_inode()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb2/
Dldr-str-imm12.ll7 %2 = type { %union.rec* }
10 %struct.LIST = type { %union.rec*, %union.rec* }
12 …FOURTH_UNION, %union.rec*, %2, %union.rec*, %union.rec*, %union.rec*, %union.rec*, %union.rec*, %u…
18 %union.rec = type { %struct.head_type }
20 @zz_hold = external global %union.rec* ; <%union.rec**> [#uses=2]
21 @zz_res = external global %union.rec* ; <%union.rec**> [#uses=1]
23rec* @Manifest(%union.rec* %x, %union.rec* %env, %struct.STYLE* %style, %union.rec** %bthr, %union…
26 %xgaps.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
27 %ycomp.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
53 store volatile %union.rec* null, %union.rec** @zz_hold, align 4
[all …]
D2009-08-04-ScavengerAssert.ll6 %3 = type { %struct.rec* } ; type %3
13 …ype { %struct.metrics*, i8*, i16*, %struct.COMPOSITE*, i32, %struct.rec*, %struct.rec*, i16, i16, …
16 %struct.LIST = type { %struct.rec*, %struct.rec* }
22 …H_UNION, %struct.rec*, %3, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %…
24 %struct.rec = type { %struct.head_type }
32 @zz_free = external global [524 x %struct.rec*] ; <[524 x %struct.rec*]*> [#uses=2]
33 @zz_hold = external global %struct.rec* ; <%struct.rec**> [#uses=5]
34 @zz_tmp = external global %struct.rec* ; <%struct.rec**> [#uses=2]
35 @zz_res = external global %struct.rec* ; <%struct.rec**> [#uses=2]
36 @xx_link = external global %struct.rec* ; <%struct.rec**> [#uses=2]
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/
Dldr-str-imm12.ll7 %2 = type { %union.rec* }
10 %struct.LIST = type { %union.rec*, %union.rec* }
12 …FOURTH_UNION, %union.rec*, %2, %union.rec*, %union.rec*, %union.rec*, %union.rec*, %union.rec*, %u…
18 %union.rec = type { %struct.head_type }
20 @zz_hold = external global %union.rec* ; <%union.rec**> [#uses=2]
21 @zz_res = external global %union.rec* ; <%union.rec**> [#uses=1]
23rec* @Manifest(%union.rec* %x, %union.rec* %env, %struct.STYLE* %style, %union.rec** %bthr, %union…
26 %xgaps.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
27 %ycomp.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
53 store %union.rec* null, %union.rec** @zz_hold, align 4
[all …]
/external/llvm/test/CodeGen/Thumb2/
Dldr-str-imm12.ll7 %2 = type { %union.rec* }
10 %struct.LIST = type { %union.rec*, %union.rec* }
12 …FOURTH_UNION, %union.rec*, %2, %union.rec*, %union.rec*, %union.rec*, %union.rec*, %union.rec*, %u…
18 %union.rec = type { %struct.head_type }
20 @zz_hold = external global %union.rec* ; <%union.rec**> [#uses=2]
21 @zz_res = external global %union.rec* ; <%union.rec**> [#uses=1]
23rec* @Manifest(%union.rec* %x, %union.rec* %env, %struct.STYLE* %style, %union.rec** %bthr, %union…
26 %xgaps.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
27 %ycomp.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0]
53 store %union.rec* null, %union.rec** @zz_hold, align 4
[all …]
D2009-08-04-ScavengerAssert.ll6 %3 = type { %struct.rec* } ; type %3
13 …ype { %struct.metrics*, i8*, i16*, %struct.COMPOSITE*, i32, %struct.rec*, %struct.rec*, i16, i16, …
16 %struct.LIST = type { %struct.rec*, %struct.rec* }
22 …H_UNION, %struct.rec*, %3, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %…
24 %struct.rec = type { %struct.head_type }
32 @zz_free = external global [524 x %struct.rec*] ; <[524 x %struct.rec*]*> [#uses=2]
33 @zz_hold = external global %struct.rec* ; <%struct.rec**> [#uses=5]
34 @zz_tmp = external global %struct.rec* ; <%struct.rec**> [#uses=2]
35 @zz_res = external global %struct.rec* ; <%struct.rec**> [#uses=2]
36 @xx_link = external global %struct.rec* ; <%struct.rec**> [#uses=2]
[all …]
/external/skia/resources/lua/
Dslides_transitions.lua10 local rec = {
23 rec.prevDrawable = prev
24 rec.nextDrawable = next
25 rec.curr_x = 0
26 rec.step_x = -15
27 rec.isDone = function (self) return self.curr_x <= -640 end
29 rec.prevDrawable = next
30 rec.nextDrawable = prev
31 rec.curr_x = -640
32 rec.step_x = 15
[all …]
/external/skqp/resources/lua/
Dslides_transitions.lua10 local rec = {
23 rec.prevDrawable = prev
24 rec.nextDrawable = next
25 rec.curr_x = 0
26 rec.step_x = -15
27 rec.isDone = function (self) return self.curr_x <= -640 end
29 rec.prevDrawable = next
30 rec.nextDrawable = prev
31 rec.curr_x = -640
32 rec.step_x = 15
[all …]
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/lua/
Dslides_transitions.lua10 local rec = {
23 rec.prevDrawable = prev
24 rec.nextDrawable = next
25 rec.curr_x = 0
26 rec.step_x = -15
27 rec.isDone = function (self) return self.curr_x <= -640 end
29 rec.prevDrawable = next
30 rec.nextDrawable = prev
31 rec.curr_x = -640
32 rec.step_x = 15
[all …]
/external/v8/src/profiler/
Dprofiler-listener.cc26 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; in CallbackEvent() local
27 rec->instruction_start = entry_point; in CallbackEvent()
28 rec->entry = NewCodeEntry(CodeEventListener::CALLBACK_TAG, GetName(name)); in CallbackEvent()
29 rec->instruction_size = 1; in CallbackEvent()
36 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; in CodeCreateEvent() local
37 rec->instruction_start = code->InstructionStart(); in CodeCreateEvent()
38 rec->entry = NewCodeEntry(tag, GetName(name), CodeEntry::kEmptyResourceName, in CodeCreateEvent()
42 RecordInliningInfo(rec->entry, code); in CodeCreateEvent()
43 rec->instruction_size = code->InstructionSize(); in CodeCreateEvent()
50 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; in CodeCreateEvent() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2008-03-07-APIntBug.ll6 %struct.LIST = type { %struct.rec*, %struct.rec* }
10 …, %struct.rec*, { %struct.rec* }, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.
11 %struct.rec = type { %struct.head_type }
12 …OND_UNION, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %st…
15 define void @InsertSym_bb1163(%struct.rec** %s) {
21 %tmp1164 = load %struct.rec*, %struct.rec** %s, align 4 ; <%struct.rec*> [#uses=1]
22 …%tmp1165 = getelementptr %struct.rec, %struct.rec* %tmp1164, i32 0, i32 0 ; <%struct.head_type*> …
24 …r %struct.symbol_type, %struct.symbol_type* %tmp11651166, i32 0, i32 3 ; <%struct.rec**> [#uses=1]
25 %tmp1168 = load %struct.rec*, %struct.rec** %tmp1167, align 1 ; <%struct.rec*> [#uses=2]
26 %tmp1169 = load %struct.rec*, %struct.rec** %s, align 4 ; <%struct.rec*> [#uses=1]
[all …]
/external/llvm/test/CodeGen/X86/
D2008-03-07-APIntBug.ll6 %struct.LIST = type { %struct.rec*, %struct.rec* }
10 …, %struct.rec*, { %struct.rec* }, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.
11 %struct.rec = type { %struct.head_type }
12 …OND_UNION, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %st…
15 define void @InsertSym_bb1163(%struct.rec** %s) {
21 %tmp1164 = load %struct.rec*, %struct.rec** %s, align 4 ; <%struct.rec*> [#uses=1]
22 …%tmp1165 = getelementptr %struct.rec, %struct.rec* %tmp1164, i32 0, i32 0 ; <%struct.head_type*> …
24 …r %struct.symbol_type, %struct.symbol_type* %tmp11651166, i32 0, i32 3 ; <%struct.rec**> [#uses=1]
25 %tmp1168 = load %struct.rec*, %struct.rec** %tmp1167, align 1 ; <%struct.rec*> [#uses=2]
26 %tmp1169 = load %struct.rec*, %struct.rec** %s, align 4 ; <%struct.rec*> [#uses=1]
[all …]
/external/skqp/src/shaders/
DSkShader.cpp79 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext() argument
82 if (rec.fMatrix->hasPerspective() || in makeContext()
84 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext()
85 !this->computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, nullptr)) { in makeContext()
89 return this->onMakeContext(rec, alloc); in makeContext()
95 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context() argument
96 : fShader(shader), fCTM(*rec.fMatrix) in Context()
99 SkASSERT(!rec.fMatrix->hasPerspective()); in Context()
100 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context()
105 SkAssertResult(fShader.computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, &fTotalInverse)); in Context()
[all …]
/external/skia/src/shaders/
DSkShader.cpp80 SkShaderBase::Context* SkShaderBase::makeContext(const ContextRec& rec, SkArenaAlloc* alloc) const { in makeContext() argument
83 if (rec.fMatrix->hasPerspective() || in makeContext()
85 (rec.fLocalMatrix && rec.fLocalMatrix->hasPerspective()) || in makeContext()
86 !this->computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, nullptr)) { in makeContext()
90 return this->onMakeContext(rec, alloc); in makeContext()
96 SkShaderBase::Context::Context(const SkShaderBase& shader, const ContextRec& rec) in Context() argument
97 : fShader(shader), fCTM(*rec.fMatrix) in Context()
100 SkASSERT(!rec.fMatrix->hasPerspective()); in Context()
101 SkASSERT(!rec.fLocalMatrix || !rec.fLocalMatrix->hasPerspective()); in Context()
106 SkAssertResult(fShader.computeTotalInverse(*rec.fMatrix, rec.fLocalMatrix, &fTotalInverse)); in Context()
[all …]
/external/pdfium/core/fpdfapi/font/
Dcfx_cttgsubtable.cpp184 void CFX_CTTGSUBTable::ParseScript(FT_Bytes raw, TScriptRecord* rec) { in ParseScript() argument
186 rec->DefaultLangSys = GetUInt16(sp); in ParseScript()
187 rec->LangSysRecords = std::vector<TLangSysRecord>(GetUInt16(sp)); in ParseScript()
188 for (auto& sysRecord : rec->LangSysRecords) { in ParseScript()
194 void CFX_CTTGSUBTable::ParseLangSys(FT_Bytes raw, TLangSysRecord* rec) { in ParseLangSys() argument
196 rec->LookupOrder = GetUInt16(sp); in ParseLangSys()
197 rec->ReqFeatureIndex = GetUInt16(sp); in ParseLangSys()
198 rec->FeatureIndices = std::vector<uint16_t>(GetUInt16(sp)); in ParseLangSys()
199 for (auto& element : rec->FeatureIndices) in ParseLangSys()
212 void CFX_CTTGSUBTable::ParseFeature(FT_Bytes raw, TFeatureRecord* rec) { in ParseFeature() argument
[all …]

12345678910>>...36