Home
last modified time | relevance | path

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

12345678910>>...37

/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/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/arm-trusted-firmware/plat/brcm/board/common/
Dbcm_elog_ddr.c23 struct elog_meta_record rec; in elog_init_ddr_log() local
59 memset(&rec, 0, sizeof(rec)); in elog_init_ddr_log()
61 rec.type = rec_idx; in elog_init_ddr_log()
63 rec.format = ELOG_REC_FMT_ASCII; in elog_init_ddr_log()
64 rec.src_mem_type = ELOG_SRC_MEM_TYPE_DDR; in elog_init_ddr_log()
65 rec.alt_src_mem_type = ELOG_SRC_MEM_TYPE_FS4_SCRATCH; in elog_init_ddr_log()
66 rec.src_mem_addr = BCM_ELOG_BL31_BASE; in elog_init_ddr_log()
67 rec.alt_src_mem_addr = BCM_ELOG_BL2_BASE; in elog_init_ddr_log()
68 rec.rec_size = ELOG_APBOOTLG_REC_SIZE; in elog_init_ddr_log()
70 rec.type = IDM_ELOG_REC_TYPE; in elog_init_ddr_log()
[all …]
/external/selinux/libselinux/src/
Dlabel.c50 typedef int (*selabel_initfunc)(struct selabel_handle *rec,
131 int selabel_validate(struct selabel_handle *rec, in selabel_validate() argument
136 if (!rec->validating || contexts->validated) in selabel_validate()
149 static int selabel_fini(struct selabel_handle *rec, in selabel_fini() argument
155 if (rec->spec_files) in selabel_fini()
156 path = rec->spec_files[0]; in selabel_fini()
157 if (compat_validate(rec, lr, path, lr->lineno)) in selabel_fini()
168 selabel_lookup_common(struct selabel_handle *rec, int translating, in selabel_lookup_common() argument
178 lr = rec->func_lookup(rec, key, type); in selabel_lookup_common()
182 if (selabel_fini(rec, lr, translating)) in selabel_lookup_common()
[all …]
Dlabel_backends_android.c85 static int process_line(struct selabel_handle *rec, in process_line() argument
91 struct saved_data *data = (struct saved_data *)rec->data; in process_line()
126 if (rec->validating) { in process_line()
127 if (selabel_validate(rec, &spec_arr[nspec].lr) < 0) { in process_line()
142 static int process_file(struct selabel_handle *rec, const char *path) in process_file() argument
144 struct saved_data *data = (struct saved_data *)rec->data; in process_file()
177 if (process_line(rec, path, line_buf, pass, ++lineno)) in process_file()
201 status = digest_add_specfile(rec->digest, fp, NULL, sb.st_size, path); in process_file()
208 static void closef(struct selabel_handle *rec);
210 static int init(struct selabel_handle *rec, const struct selinux_opt *opts, in init() argument
[all …]
/external/skia/tools/
DSkMetaData.cpp15 Rec* rec = fRec; in reset() local
16 while (rec) { in reset()
17 Rec* next = rec->fNext; in reset()
18 Rec::Free(rec); in reset()
19 rec = next; in reset()
59 Rec* rec; in set() local
60 bool reuseRec = result.rec && in set()
61 result.rec->fDataLen == dataSize && in set()
62 result.rec->fDataCount == count; in set()
64 rec = result.rec; in set()
[all …]
/external/skia/src/core/
DSkResourceCache.cpp69 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()
70 return rec->getKey(); in GetKey()
107 Rec* rec = fHead; in ~SkResourceCache() local
108 while (rec) { in ~SkResourceCache()
109 Rec* next = rec->fNext; in ~SkResourceCache()
110 delete rec; in ~SkResourceCache()
111 rec = next; in ~SkResourceCache()
122 Rec* rec = *found; in find() local
123 if (visitor(*rec, context)) { in find()
124 this->moveToHead(rec); // for our LRU in find()
[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/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/rust/crates/csv/src/
Dbyte_record.rs867 let mut rec = ByteRecord::new(); in record_1() localVariable
868 rec.push_field(b"foo"); in record_1()
870 assert_eq!(rec.len(), 1); in record_1()
871 assert_eq!(rec.get(0), Some(b("foo"))); in record_1()
872 assert_eq!(rec.get(1), None); in record_1()
873 assert_eq!(rec.get(2), None); in record_1()
878 let mut rec = ByteRecord::new(); in record_2() localVariable
879 rec.push_field(b"foo"); in record_2()
880 rec.push_field(b"quux"); in record_2()
882 assert_eq!(rec.len(), 2); in record_2()
[all …]
Dreader.rs1917 rec: StringRecord, field
1931 rec: StringRecord::new(), in new()
1959 match self.rdr.read_record(&mut self.rec) { in next()
1962 Ok(true) => Some(self.rec.deserialize(self.headers.as_ref())), in next()
1975 rec: StringRecord, field
1989 rec: StringRecord::new(), in new()
2012 match self.rdr.read_record(&mut self.rec) { in next()
2015 Ok(true) => Some(self.rec.deserialize(self.headers.as_ref())), in next()
2023 rec: StringRecord, field
2028 StringRecordsIntoIter { rdr: rdr, rec: StringRecord::new() } in new()
[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/llvm-project/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/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/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/effects/
DSkLayerDrawLooper.cpp39 Rec* rec = fRecs; in ~SkLayerDrawLooper() local
40 while (rec) { in ~SkLayerDrawLooper()
41 Rec* next = rec->fNext; in ~SkLayerDrawLooper()
42 delete rec; in ~SkLayerDrawLooper()
43 rec = next; in ~SkLayerDrawLooper()
157 const Rec* rec = fRecs; in asABlurShadow() local
160 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow()
163 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow()
166 const SkMaskFilter* mf = rec->fPaint.getMaskFilter(); in asABlurShadow()
175 rec = rec->fNext; in asABlurShadow()
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
D2008-03-07-APIntBug.ll7 %struct.LIST = type { %struct.rec*, %struct.rec* }
11 …, %struct.rec*, { %struct.rec* }, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.
12 %struct.rec = type { %struct.head_type }
13 …OND_UNION, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %st…
16 define void @InsertSym_bb1163(%struct.rec** %s) {
32 %tmp1164 = load %struct.rec*, %struct.rec** %s, align 4 ; <%struct.rec*> [#uses=1]
33 …%tmp1165 = getelementptr %struct.rec, %struct.rec* %tmp1164, i32 0, i32 0 ; <%struct.head_type*> …
35 …r %struct.symbol_type, %struct.symbol_type* %tmp11651166, i32 0, i32 3 ; <%struct.rec**> [#uses=1]
36 %tmp1168 = load %struct.rec*, %struct.rec** %tmp1167, align 1 ; <%struct.rec*> [#uses=2]
37 %tmp1169 = load %struct.rec*, %struct.rec** %s, align 4 ; <%struct.rec*> [#uses=1]
[all …]
/external/pdfium/core/fpdfapi/font/
Dcfx_cttgsubtable.cpp189 void CFX_CTTGSUBTable::ParseScript(FT_Bytes raw, TScriptRecord* rec) { in ParseScript() argument
191 rec->DefaultLangSys = GetUInt16(sp); in ParseScript()
192 rec->LangSysRecords = std::vector<TLangSysRecord>(GetUInt16(sp)); in ParseScript()
193 for (auto& sysRecord : rec->LangSysRecords) { in ParseScript()
199 void CFX_CTTGSUBTable::ParseLangSys(FT_Bytes raw, TLangSysRecord* rec) { in ParseLangSys() argument
201 rec->LookupOrder = GetUInt16(sp); in ParseLangSys()
202 rec->ReqFeatureIndex = GetUInt16(sp); in ParseLangSys()
203 rec->FeatureIndices = std::vector<uint16_t>(GetUInt16(sp)); in ParseLangSys()
204 for (auto& element : rec->FeatureIndices) in ParseLangSys()
217 void CFX_CTTGSUBTable::ParseFeature(FT_Bytes raw, TFeatureRecord* rec) { in ParseFeature() argument
[all …]
/external/skqp/src/effects/
DSkLayerDrawLooper.cpp37 Rec* rec = fRecs; in ~SkLayerDrawLooper() local
38 while (rec) { in ~SkLayerDrawLooper()
39 Rec* next = rec->fNext; in ~SkLayerDrawLooper()
40 delete rec; in ~SkLayerDrawLooper()
41 rec = next; in ~SkLayerDrawLooper()
170 const Rec* rec = fRecs; in asABlurShadow() local
173 if ((rec->fInfo.fPaintBits & ~kMaskFilter_Bit)) { in asABlurShadow()
176 if (SkBlendMode::kSrc != (SkBlendMode)rec->fInfo.fColorMode) { in asABlurShadow()
179 const SkMaskFilter* mf = rec->fPaint.getMaskFilter(); in asABlurShadow()
188 rec = rec->fNext; in asABlurShadow()
[all …]

12345678910>>...37