/external/zlib/src/examples/ |
H A D | gzlog.c | 717 /* log a repair record to the .repairs file */ 718 local void log_log(struct log *log, int op, char *record) argument 729 "append" : (op == COMPRESS_OP ? "compress" : "replace"), record);
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | ndef.c | 36 struct ndef_record *record) 42 record->type_length = *pos++; 46 record->payload_length = *pos++; 50 record->payload_length = ntohl(*(u32 *)pos); 57 record->id_length = *pos++; 59 record->id_length = 0; 61 record->type = record->type_length == 0 ? NULL : pos; 62 pos += record->type_length; 64 record 35 ndef_parse_record(const u8 *data, u32 size, struct ndef_record *record) argument 80 struct ndef_record record; local 105 struct wpabuf *record; local 149 wifi_filter(struct ndef_record *record) argument 175 p2p_filter(struct ndef_record *record) argument [all...] |
/external/wpa_supplicant_8/src/wps/ |
H A D | ndef.c | 36 struct ndef_record *record) 42 record->type_length = *pos++; 46 record->payload_length = *pos++; 50 record->payload_length = ntohl(*(u32 *)pos); 57 record->id_length = *pos++; 59 record->id_length = 0; 61 record->type = record->type_length == 0 ? NULL : pos; 62 pos += record->type_length; 64 record 35 ndef_parse_record(const u8 *data, u32 size, struct ndef_record *record) argument 80 struct ndef_record record; local 105 struct wpabuf *record; local 149 wifi_filter(struct ndef_record *record) argument 175 p2p_filter(struct ndef_record *record) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | ndef.c | 36 struct ndef_record *record) 42 record->type_length = *pos++; 46 record->payload_length = *pos++; 50 record->payload_length = ntohl(*(u32 *)pos); 57 record->id_length = *pos++; 59 record->id_length = 0; 61 record->type = record->type_length == 0 ? NULL : pos; 62 pos += record->type_length; 64 record 35 ndef_parse_record(const u8 *data, u32 size, struct ndef_record *record) argument 80 struct ndef_record record; local 105 struct wpabuf *record; local 149 wifi_filter(struct ndef_record *record) argument 175 p2p_filter(struct ndef_record *record) argument [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | readdwarf.c | 3653 Bool record, 3676 if (record && loc_prev != ctx->loc) { 3688 if (record) { 3765 so we can binary-search them in the code below. We also record 3876 /* Allocate a new CIE record. */ 3652 run_CF_instructions( struct _DebugInfo* di, Bool record, UnwindContext* ctx, DiCursor instrs, Int ilen, UWord fde_arange, UnwindContext* restore_ctx, AddressDecodingInfo* adi ) argument
|
/external/valgrind/main/drd/tests/ |
H A D | std_string.cpp | 38 std::list<std::string> record; local 39 record.push_back("some data");
|
/external/srec/audio/AudioIn/UNIX/src/ |
H A D | audioinwrapper.cpp | 59 static AudioRecord* record; variable 97 // TODO: get record buffer size from hardware. 98 record = new android::AudioRecord( 105 if (!record) return -1; 107 return record->start() == NO_ERROR ? 0 : -1; 116 record->stop(); 117 delete record; 134 n = record->read(buffer, nreq);
|
/external/srec/srec/EventLog/src/ |
H A D | EventLogImpl.c | 312 static int quote_delimiter(LCHAR *record, size_t len) argument 317 s = record; 330 LSTRCPY(record, qrecord); 503 /* write the header,bar,evtt, and record */
|
/external/skia/samplecode/ |
H A D | SampleAll.cpp | 311 SkCanvas* record = recorder.beginRecording(320, 480, NULL, 0); local 312 this->drawPicture(record, 120);
|
/external/skia/src/animator/ |
H A D | SkDisplayXMLParser.cpp | 250 Parent record = { displayable, type }; local 251 *fParents.append() = record;
|
/external/skia/src/core/ |
H A D | SkPicture.cpp | 134 const SkPictureRecord& record, 143 fPlayback = SkNEW_ARGS(SkPicturePlayback, (record, info, deepCopyOps)); 133 SkPicture(int width, int height, const SkPictureRecord& record, bool deepCopyOps) argument
|
H A D | SkPicturePlayback.cpp | 71 SkPicturePlayback::SkPicturePlayback(const SkPictureRecord& record, argument 78 int bitmaps = record.bitmaps(&bitmapBytes); 79 int matrices = record.matrices(&matricesBytes); 80 int paints = record.paints(&paintBytes); 81 int paths = record.paths(&pathBytes); 82 int pictures = record.pictures(&pictureBytes); 83 int regions = record.regions(®ionBytes); 84 SkDebugf("picture record mem used %zd (stream %zd) ", record.size(), 85 record [all...] |
H A D | SkRecord.h | 45 // R operator()(const T& record) { ... } 55 // R operator()(T* record) { ... } 132 // 2) store the type data manually in fAlloc at the start of each record 139 // decoupling between the SkRecords::* record types and the operations performed on them in 153 void operator()(T* record) { record->~T(); } argument 182 // Point this record to its data in fAlloc. Returns ptr for convenience. 193 // Visit this record with functor F (see public API above) assuming the record we're 204 // Mutate this record wit [all...] |
H A D | SkRecordDraw.cpp | 10 void SkRecordDraw(const SkRecord& record, SkCanvas* canvas) { argument 11 for (SkRecords::Draw draw(canvas); draw.index() < record.count(); draw.next()) { 12 record.visit<void>(draw.index(), draw);
|
H A D | SkRecordOpts.cpp | 16 void SkRecordOptimize(SkRecord* record) { argument 18 SkRecordNoopCulls(record); 19 SkRecordNoopSaveRestores(record); 21 //SkRecordNoopSaveLayerDrawRestores(record); 23 SkRecordAnnotateCullingPairs(record); 24 SkRecordReduceDrawPosTextStrength(record); // Helpful to run this before BoundDrawPosTextH. 25 SkRecordBoundDrawPosTextH(record); 35 // record, and [begin,end) span of the commands that matched. 37 static bool apply(Pass* pass, SkRecord* record) { argument 42 while (pattern.search(record, 51 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 58 SkRecordNoopCulls(SkRecord* record) argument 70 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 86 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 99 SkRecordNoopSaveRestores(SkRecord* record) argument 112 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 145 KillSaveLayerAndRestore(SkRecord* record, unsigned saveLayerIndex) argument 169 SkRecordNoopSaveLayerDrawRestores(SkRecord* record) argument 179 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 213 SkRecordReduceDrawPosTextStrength(SkRecord* record) argument 223 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 254 SkRecordBoundDrawPosTextH(SkRecord* record) argument 284 apply(SkRecord* record) argument 300 SkRecordAnnotateCullingPairs(SkRecord* record) argument [all...] |
H A D | SkRecordPattern.h | 99 // - search scans through the record to look for matches; 108 SK_ALWAYS_INLINE unsigned match(SkRecord* record, unsigned i) { argument 109 i = this->matchHead(&fHead, record, i); 110 return i == 0 ? 0 : fTail.match(record, i); 115 SK_ALWAYS_INLINE bool search(SkRecord* record, unsigned* begin, unsigned* end) { argument 116 for (*begin = *end; *begin < record->count(); ++(*begin)) { 117 *end = this->match(record, *begin); 135 unsigned matchHead(T*, SkRecord* record, unsigned i) { argument 136 if (i < record->count()) { 137 if (record 146 matchHead(Star<T>*, SkRecord* record, unsigned i) argument [all...] |
H A D | SkRecorder.cpp | 12 SkRecorder::SkRecorder(SkRecord* record, int width, int height) argument 13 : SkCanvas(width, height), fRecord(record) {} 34 // unexpectedly on a profile of record time. Otherwise don't bother.
|
H A D | SkRecording.cpp | 8 #include "../../include/record/SkRecording.h" 17 SkPlayback::SkPlayback(const SkRecord* record) : fRecord(record) {} argument
|
/external/skia/src/sfnt/ |
H A D | SkOTUtils.cpp | 64 // The required 'name' record types: Family, Style, Unique, Full and PostScript. 184 SkOTTableName::Iterator::Record record; local 185 if (fFamilyNameIter.next(record)) { 186 localizedString->fString = record.name; 187 localizedString->fLanguage = record.language;
|
/external/skia/tests/ |
H A D | FontNamesTest.cpp | 115 SkOTTableName::Iterator::Record record; local 117 while (nameIndex < test[i].nameCount && iter.next(record)) { 119 strcmp(test[i].names[nameIndex].name, record.name.c_str()) == 0, 124 strcmp(test[i].names[nameIndex].language, record.language.c_str()) == 0, 128 //printf("%s <%s>\n", record.name.c_str(), record.language.c_str()); 136 REPORTER_ASSERT_MESSAGE(reporter, !iter.next(record), 186 SkOTTableName::Iterator::Record record; local 189 while (familyNameIter.next(record)) { 191 SkOTTableName::Record::NameID::Predefined::FontFamilyName == record [all...] |
H A D | RecordDrawTest.cpp | 31 static void record_clipped(const SkRecord& record, SkRect clip, SkRecord* clipped) { argument 34 SkRecordDraw(record, &recorder); 38 SkRecord record; local 39 SkRecorder recorder(&record, W, H); 44 SkRecordBoundDrawPosTextH(&record); 47 record_clipped(record, SkRect::MakeLTRB(20, 20, 200, 200), &clipped); 55 SkRecord record; local 56 SkRecorder recorder(&record, W, H); 67 SkRecordAnnotateCullingPairs(&record); 71 record_clipped(record, SkRec [all...] |
H A D | RecordOptsTest.cpp | 20 SkRecord record; local 21 SkRecorder recorder(&record, W, H); 33 SkRecordAnnotateCullingPairs(&record); 35 REPORTER_ASSERT(r, 6 == assert_type<SkRecords::PairedPushCull>(r, record, 1)->skip); 36 REPORTER_ASSERT(r, 2 == assert_type<SkRecords::PairedPushCull>(r, record, 4)->skip); 40 SkRecord record; local 41 SkRecorder recorder(&record, W, H); 56 SkRecordNoopCulls(&record); 59 assert_type<SkRecords::NoOp>(r, record, i); 61 assert_type<SkRecords::PushCull>(r, record, 79 SkRecord record; local 93 SkRecord record; local 116 SkRecord record; local 138 SkRecord record; local 152 SkRecord record; local 174 assert_savelayer_restore(skiatest::Reporter* r, SkRecord* record, unsigned i, bool shouldBeNoOped) argument 189 SkRecord record; local [all...] |
H A D | RecordPatternTest.cpp | 17 SkRecord record; local 18 REPORTER_ASSERT(r, !pattern.match(&record, 0)); 20 SkRecorder recorder(&record, 1920, 1200); 24 REPORTER_ASSERT(r, !pattern.match(&record, 0)); 27 REPORTER_ASSERT(r, !pattern.match(&record, 0)); 30 REPORTER_ASSERT(r, pattern.match(&record, 0)); 39 SkRecord record; local 40 SkRecorder recorder(&record, 1920, 1200); 52 REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); 54 REPORTER_ASSERT(r, !pattern.match(&record, 62 SkRecord record; local 76 SkRecord record; local 98 SkRecord record; local 137 SkRecord record; local 194 SkRecord record; local [all...] |
H A D | RecordTest.cpp | 26 void apply(const SkRecord& record) { argument 27 for (unsigned i = 0; i < record.count(); i++) { 28 record.visit<void>(i, *this); 44 void apply(SkRecord* record) { argument 45 for (unsigned i = 0; i < record->count(); i++) { 46 record->mutate<void>(i, *this); 53 SkRecord record; local 58 SkNEW_PLACEMENT_ARGS(record.append<SkRecords::DrawRect>(), SkRecords::DrawRect, (paint, rect)); 62 summer.apply(record); 67 stretch.apply(&record); [all...] |
H A D | RecordTestUtils.h | 21 // Assert that the ith command in record is of type T, and return it. 23 static const T* assert_type(skiatest::Reporter* r, const SkRecord& record, unsigned index) { argument 25 record.visit<void>(index, reader);
|