Searched refs:rec (Results 126 - 150 of 515) sorted by relevance

1234567891011>>

/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...]
/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/jmdns/src/javax/jmdns/impl/
H A DDNSOutgoing.java154 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 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/e2fsprogs/lib/ext2fs/
H A Dtdb.c267 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 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...]
/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/usrsctp/usrsctplib/netinet/
H A Dsctp_indata.c176 read_queue_e->sinfo_stream = chk->rec.data.stream_number;
177 read_queue_e->sinfo_ssn = chk->rec.data.stream_seq;
178 read_queue_e->sinfo_flags = (chk->rec.data.rcv_flags << 8);
179 read_queue_e->sinfo_ppid = chk->rec.data.payloadtype;
182 read_queue_e->sinfo_tsn = chk->rec.data.TSN_seq;
183 read_queue_e->sinfo_cumtsn = chk->rec.data.TSN_seq;
425 if (chk->rec.data.TSN_seq != (asoc->tsn_last_delivered + 1)) {
429 stream_no = chk->rec.data.stream_number;
431 if (nxt_todel != chk->rec.data.stream_seq &&
432 (chk->rec
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkDashPath.cpp79 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/skia/src/utils/
H A DSkDashPath.cpp79 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);
153 bool init(const SkPath& src, SkPath* dst, SkStrokeRec* rec, argument
155 if (rec->isHairlineStyle() || !src.isLine(fPts)) {
160 if (SkPaint::kButt_Cap != rec->getCap()) {
174 fNormal.scale(SkScalarHalf(rec
220 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
319 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 Dantlr3rewritestreams.c102 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/chromium_org/third_party/skia/src/core/
H A DSkPixelRef.cpp137 bool SkPixelRef::lockPixels(LockRec* rec) { argument
146 LockRec rec; local
147 if (!this->onNewLockPixels(&rec)) {
150 SkASSERT(!rec.isZero()); // else why did onNewLock return true?
151 fRec = rec;
154 *rec = fRec;
159 LockRec rec; local
160 return this->lockPixels(&rec);
H A DSkLocalMatrixShader.cpp37 SkShader::Context* SkLocalMatrixShader::onCreateContext(const ContextRec& rec, argument
39 ContextRec newRec(rec);
41 if (rec.fLocalMatrix) {
42 tmp.setConcat(*rec.fLocalMatrix, this->getLocalMatrix());
/external/chromium_org/third_party/skia/src/opts/
H A DSkXfermode_opts_arm_neon.h8 SkNEONProcCoeffXfermode(const ProcCoeff& rec, SkXfermode::Mode mode, argument
10 : INHERITED(rec, mode), fProcSIMD(procSIMD) {}
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_fontconfig.cpp73 const FindRec* rec = (const FindRec*)ctx; local
75 return rec->fStyle == style && fci->isFamilyName(rec->fFamilyName);
92 FindRec rec(familyName, style);
93 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_proc, &rec);
110 rec.fFamilyName = outFamilyName.c_str();
111 rec.fStyle = outStyle;
112 face = SkTypefaceCache::FindByProcAndRef(find_proc, &rec);
/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/skia/src/ports/
H A DSkFontHost_fontconfig.cpp77 const FindRec* rec = (const FindRec*)ctx; local
79 return rec->fStyle == style && fci->isFamilyName(rec->fFamilyName);
96 FindRec rec(familyName, style);
97 SkTypeface* face = SkTypefaceCache::FindByProcAndRef(find_proc, &rec);
114 rec.fFamilyName = outFamilyName.c_str();
115 rec.fStyle = outStyle;
116 face = SkTypefaceCache::FindByProcAndRef(find_proc, &rec);
/external/srec/srec/include/
H A Dsrec_eosd.h61 EOSrc srec_check_end_of_speech(srec_eos_detector_parms* eosd_parms, srec* rec);
62 EOSrc srec_check_end_of_speech_end(srec* rec);
/external/chromium_org/third_party/skia/src/effects/
H A DSkDashPathEffect.cpp39 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...]
/external/chromium_org/v8/src/
H A Dunbound-queue-inl.h46 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/chromium_org/v8/test/mjsunit/tools/
H A Dprofile.js294 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/qemu/telephony/
H A Dsms.h111 extern void sms_receiver_destroy( SmsReceiver rec );
113 extern int sms_receiver_add_submit_pdu( SmsReceiver rec, SmsPDU submit_pdu );
114 extern int sms_receiver_get_text_message( SmsReceiver rec, int index, unsigned char* utf8, int utf8len );
115 extern SmsPDU* sms_receiver_create_deliver( SmsReceiver rec, int index, const SmsAddressRec* from );
/external/skia/src/lazy/
H A DSkCachingPixelRef.cpp43 bool SkCachingPixelRef::onNewLockPixels(LockRec* rec) { argument
87 rec->fPixels = pixels;
88 rec->fColorTable = NULL;
89 rec->fRowBytes = bitmap.rowBytes();
/external/smack/src/org/xbill/DNS/
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...]
/external/chromium_org/third_party/skia/gm/
H A Dpicture.cpp13 SkPictureRecorder rec; local
14 SkCanvas* canvas = rec.beginRecording(100, 100);
35 return rec.endRecording();

Completed in 3438 milliseconds

1234567891011>>