Searched defs:rec (Results 176 - 200 of 291) sorted by relevance

1234567891011>>

/external/skia/src/core/
H A DSkShader.cpp76 bool SkShader::computeTotalInverse(const ContextRec& rec, SkMatrix* totalInverse) const { argument
78 total.setConcat(*rec.fMatrix, fLocalMatrix);
81 if (rec.fLocalMatrix) {
82 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
289 onCreateContext(const ContextRec& rec, void* storage) const argument
293 ColorShaderContext(const SkColorShader& shader, const ContextRec& rec) argument
[all...]
H A DSkWriteBuffer.cpp221 SkFactorySet* SkWriteBuffer::setFactoryRecorder(SkFactorySet* rec) { argument
222 SkRefCnt_SafeAssign(fFactorySet, rec);
227 return rec;
230 SkNamedFactorySet* SkWriteBuffer::setNamedFactoryRecorder(SkNamedFactorySet* rec) { argument
231 SkRefCnt_SafeAssign(fNamedFactorySet, rec);
236 return rec;
239 SkRefCntSet* SkWriteBuffer::setTypefaceRecorder(SkRefCntSet* rec) { argument
240 SkRefCnt_SafeAssign(fTFSet, rec);
241 return rec;
/external/skia/src/effects/gradients/
H A DSkSweepGradient.cpp59 SkShader::Context* SkSweepGradient::onCreateContext(const ContextRec& rec, void* storage) const { argument
60 return SkNEW_PLACEMENT_ARGS(storage, SweepGradientContext, (*this, rec));
64 const SkSweepGradient& shader, const ContextRec& rec)
65 : INHERITED(shader, rec) {}
63 SweepGradientContext( const SkSweepGradient& shader, const ContextRec& rec) argument
/external/skia/src/utils/
H A DSkCamera.cpp291 Rec* rec = fRec; local
292 while (rec != &fInitialRec) {
293 Rec* next = rec->fNext;
294 SkDELETE(rec);
295 rec = next;
300 Rec* rec = SkNEW(Rec); local
301 rec->fNext = fRec;
302 rec->fMatrix = fRec->fMatrix;
303 fRec = rec;
/external/skia/src/views/
H A DSkTouchGesture.cpp137 Rec* rec = fTouches.append(); local
138 rec->fOwner = owner;
139 rec->fStartX = rec->fPrevX = rec->fLastX = x;
140 rec->fStartY = rec->fPrevY = rec->fLastY = y;
141 rec->fLastT = rec
216 Rec& rec = fTouches[index]; local
266 const Rec& rec = fTouches[index]; local
[all...]
/external/smack/src/org/xbill/DNS/
H A DCache.java45 CacheRRset(Record rec, int cred, long maxttl) { argument
48 this.expire = limitExpire(rec.getTTL(), maxttl);
49 addRR(rec);
H A DRecord.java54 Record proto, rec;
59 rec = proto.getObject();
61 rec = new UNKRecord();
63 rec = new EmptyRecord();
64 rec.name = name;
65 rec.type = type;
66 rec.dclass = dclass;
67 rec.ttl = ttl;
68 return rec;
81 Record rec;
562 sameRRset(Record rec) argument
[all...]
H A DZoneTransferIn.java378 getSOASerial(Record rec) { argument
379 SOARecord soa = (SOARecord) rec;
405 parseRR(Record rec) throws ZoneTransferException { argument
406 int type = rec.getType();
413 initialsoa = rec;
416 end_serial = getSOASerial(rec);
431 getSOASerial(rec) == ixfr_serial)
444 parseRR(rec); // Restart...
448 handler.startIXFRDeletes(rec);
454 current_serial = getSOASerial(rec);
[all...]
/external/zlib/src/examples/
H A Dgzlog.c721 FILE *rec; local
725 rec = fopen(log->path, "a");
726 if (rec == NULL)
728 fprintf(rec, "%.24s %s recovery: %s\n", ctime(&now), op == APPEND_OP ?
730 fclose(rec);
/external/bluetooth/bluedroid/stack/include/
H A Dsdp_api.h181 tSDP_DI_RECORD rec; member in struct:t_sdp_di_get_record
/external/chromium_org/third_party/boringssl/src/ssl/
H A Ds3_cbc.c102 * record in |rec| by updating |rec->length| in constant time.
110 SSL3_RECORD *rec,
119 if (overhead > rec->length)
122 padding_length = rec->data[rec->length-1];
123 good = constant_time_ge(rec->length, padding_length+overhead);
127 rec->length -= padding_length;
128 rec->type |= padding_length<<8; /* kludge: pass padding length */
133 * record in |rec| i
109 ssl3_cbc_remove_padding(const SSL* s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument
143 tls1_cbc_remove_padding(const SSL* s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument
227 ssl3_cbc_copy_mac(unsigned char* out, const SSL3_RECORD *rec, unsigned md_size,unsigned orig_len) argument
[all...]
/external/chromium_org/third_party/libyuv/util/
H A Dssim.cc101 double GetSSIM(const uint8 *org, const uint8 *rec, argument
106 rec += (yo - KERNEL) * stride;
107 rec += (xo - KERNEL);
108 for (int y_ = 0; y_ < KERNEL_SIZE; ++y_, org += stride, rec += stride) {
115 const int rec_x = rec[x_];
128 double GetSSIMFullKernel(const uint8 *org, const uint8 *rec, argument
136 rec += yo * stride + xo;
159 const int ul2 = rec[-dy2 - x];
160 const int ur2 = rec[-dy2 + x];
161 const int ll2 = rec[dy
271 CalcSSIM(const uint8 *org, const uint8 *rec, const int image_width, const int image_height) argument
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkGlyphCache.cpp149 const CharGlyphRec& rec = fCharToGlyphHash[ID2HashIndex(id)]; local
151 if (rec.fID == id) {
152 return rec.fGlyph->getGlyphID();
171 CharGlyphRec* rec = &fCharToGlyphHash[ID2HashIndex(id)]; local
173 if (rec->fID != id) {
175 rec->fID = id;
178 rec->fGlyph = this->lookupMetrics(id, kJustAdvance_MetricsType);
180 return *rec->fGlyph;
201 CharGlyphRec* rec = &fCharToGlyphHash[ID2HashIndex(id)]; local
203 if (rec
224 CharGlyphRec* rec = &fCharToGlyphHash[ID2HashIndex(id)]; local
409 const AuxProcRec* rec = fAuxProcList; local
427 AuxProcRec* rec = fAuxProcList; local
444 AuxProcRec* rec = fAuxProcList; local
[all...]
H A DSkString.cpp209 Rec* rec; local
212 rec = const_cast<Rec*>(&gEmptyRec);
217 rec = (Rec*)sk_malloc_throw(SizeOfRec() + SkAlign4(len + 1));
218 rec->fLength = SkToU32(len);
219 rec->fRefCnt = 1;
221 memcpy(rec->data(), text, len);
223 rec->data()[len] = 0;
225 return rec;
356 Rec* rec = AllocRec(fRec->data(), fRec->fLength); local
360 // data (fRec and rec), s
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkSweepGradient.cpp70 SkShader::Context* SkSweepGradient::onCreateContext(const ContextRec& rec, void* storage) const { argument
71 return SkNEW_PLACEMENT_ARGS(storage, SweepGradientContext, (*this, rec));
75 const SkSweepGradient& shader, const ContextRec& rec)
76 : INHERITED(shader, rec) {}
74 SweepGradientContext( const SkSweepGradient& shader, const ContextRec& rec) argument
H A DSkTwoPointConicalGradient.cpp18 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
223 onCreateContext(const ContextRec& rec, void* storage) const argument
228 TwoPointConicalGradientContext( const SkTwoPointConicalGradient& shader, const ContextRec& rec) argument
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDistanceFieldTextContext.cpp110 SkScalerContext::Rec rec; local
111 SkScalerContext::MakeRec(paint, &fDeviceProperties, NULL, &rec);
112 return rec.getFormat() != SkMask::kARGB32_Format;
/external/chromium_org/third_party/skia/src/ports/
H A DSkScalerContext_win_dw.cpp33 static bool isLCD(const SkScalerContext::Rec& rec) { argument
34 return SkMask::kLCD16_Format == rec.fMaskFormat ||
35 SkMask::kLCD32_Format == rec.fMaskFormat;
186 static bool is_axis_aligned(const SkScalerContext::Rec& rec) { argument
187 return 0 == rec.fPreSkewX &&
188 (both_zero(rec.fPost2x2[0][1], rec.fPost2x2[1][0]) ||
189 both_zero(rec.fPost2x2[0][0], rec.fPost2x2[1][1]));
/external/chromium_org/third_party/skia/src/views/mac/
H A DSkOSWindow_Mac.cpp442 static void sk_timer_proc(TMTask* rec) argument
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dsymrec.c84 /*@owned@*/ yasm_symrec *rec; member in struct:non_table_symrec_s
163 yasm_symrec *rec = yasm_xmalloc(sizeof(yasm_symrec)); local
171 rec->name = name;
172 rec->type = SYM_UNKNOWN;
173 rec->def_line = 0;
174 rec->decl_line = 0;
175 rec->use_line = 0;
176 rec->visibility = YASM_SYM_LOCAL;
177 rec->size = 0;
178 rec
186 yasm_symrec *rec = symrec_new_common(name, symtab->case_sensitive); local
256 yasm_symrec *rec = symtab_get_or_new(symtab, "", 1); local
270 yasm_symrec *rec = symtab_get_or_new(symtab, name, 1); local
297 yasm_symrec *rec = symtab_get_or_new(symtab, name, in_table); local
322 yasm_symrec *rec = symtab_define(symtab, name, SYM_EQU, 1, line); local
335 yasm_symrec *rec = symtab_define(symtab, name, SYM_LABEL, in_table, line); local
348 yasm_symrec *rec = symtab_define(symtab, name, SYM_CURPOS, 0, line); local
359 yasm_symrec *rec = symtab_define(symtab, name, SYM_SPECIAL, 1, 0); local
371 yasm_symrec *rec = symtab_get_or_new(symtab, name, 1); local
377 yasm_symrec_declare(yasm_symrec *rec, yasm_sym_vis vis, unsigned long line) argument
[all...]
/external/freetype/src/sfnt/
H A Dsfobjs.c152 TT_NameEntryRec* rec; local
166 rec = face->name_table.names;
167 for ( n = 0; n < face->num_names; n++, rec++ )
178 if ( rec->nameID == nameid && rec->stringLength > 0 )
180 switch ( rec->platformID )
196 if ( rec->languageID == TT_MAC_LANGID_ENGLISH )
198 else if ( rec->encodingID == TT_MAC_ID_ROMAN )
206 if ( found_win == -1 || ( rec->languageID & 0x3FF ) == 0x009 )
208 switch ( rec
[all...]
/external/libselinux/src/
H A Dlabel_file.c281 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/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-record.c81 static void advance_output(struct perf_record *rec, size_t size) argument
83 rec->bytes_written += size;
86 static int write_output(struct perf_record *rec, void *buf, size_t size) argument
89 int ret = write(rec->output, buf, size);
99 rec->bytes_written += ret;
110 struct perf_record *rec = container_of(tool, struct perf_record, tool); local
111 if (write_output(rec, event, event->header.size) < 0)
117 static int perf_record__mmap_read(struct perf_record *rec, argument
122 unsigned char *data = md->base + rec->page_size;
130 rec
176 struct perf_record *rec = arg; local
194 perf_record__open(struct perf_record *rec) argument
254 process_buildids(struct perf_record *rec) argument
269 struct perf_record *rec = arg; local
324 perf_record__mmap_read_all(struct perf_record *rec) argument
346 __cmd_record(struct perf_record *rec, int argc, const char **argv) argument
934 struct perf_record *rec = &record; local
[all...]
/external/llvm/utils/TableGen/
H A DX86RecognizableInstr.cpp166 /// @param rec - The record from which to extract the value.
169 static uint8_t byteFromRec(const Record* rec, const std::string &name) { argument
170 BitsInit* bits = rec->getValueAsBitsInit(name);
/external/openssl/ssl/
H A Ds3_cbc.c72 * record in |rec| by updating |rec->length| in constant time.
80 SSL3_RECORD *rec,
89 if (overhead > rec->length)
92 padding_length = rec->data[rec->length-1];
93 good = constant_time_ge(rec->length, padding_length+overhead);
97 rec->length -= padding_length;
98 rec->type |= padding_length<<8; /* kludge: pass padding length */
103 * record in |rec| i
79 ssl3_cbc_remove_padding(const SSL* s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument
113 tls1_cbc_remove_padding(const SSL* s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument
218 ssl3_cbc_copy_mac(unsigned char* out, const SSL3_RECORD *rec, unsigned md_size,unsigned orig_len) argument
[all...]

Completed in 424 milliseconds

1234567891011>>