/external/chromium_org/third_party/freetype/src/truetype/ |
H A D | ttpload.c | 510 /* The maximum number of bytes in an hdmx device record is the */ 583 FT_Byte* record = face->hdmx_table + 8; local 591 result = record + nn * record_size + gindex;
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | log_reader.cc | 47 // Skip to start of first block that can contain the initial record 59 bool Reader::ReadRecord(Slice* record, std::string* scratch) { argument 67 record->clear(); 69 // Record offset of the logical record that we're reading 81 // it could emit an empty kFirstType record at the tail end 82 // of a block followed by a kFullType or kFirstType record 87 ReportCorruption(scratch->size(), "partial record without end(1)"); 92 *record = fragment; 99 // it could emit an empty kFirstType record at the tail end 100 // of a block followed by a kFullType or kFirstType record [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkPicture.cpp | 109 bool WillPlaybackBitmaps(const SkRecord& record) { argument 111 for (unsigned i = 0; i < record.count(); i++) { 112 if (record.visit<bool>(i, tester)) { 197 SkPicture::Analysis::Analysis(const SkRecord& record) { argument 198 fWillPlaybackBitmaps = WillPlaybackBitmaps(record); 201 for (unsigned i = 0; i < record.count(); i++) { 202 record.visit<void>(i, counter); 211 for (unsigned i = 0; i < record.count(); i++) { 212 if (record.visit<bool>(i, text)) { 255 const SkPictureRecord& record, [all...] |
H A D | SkRecord.h | 48 // R operator()(const T& record) { ... } 58 // R operator()(T* record) { ... } 136 // 2) store the type data manually in fAlloc at the start of each record 143 // decoupling between the SkRecords::* record types and the operations performed on them in 157 void operator()(T* record) { record->~T(); } argument 186 // Point this record to its data in fAlloc. Returns ptr for convenience. 197 // Visit this record with functor F (see public API above) assuming the record we're 208 // Mutate this record wit [all...] |
H A D | SkRecordOpts.cpp | 16 void SkRecordOptimize(SkRecord* record) { argument 21 //SkRecordNoopSaveRestores(record); 23 SkRecordNoopSaveLayerDrawRestores(record); 33 // record, and [begin,end) span of the commands that matched. 35 static bool apply(Pass* pass, SkRecord* record) { argument 40 while (pattern.search(record, &begin, &end)) { 41 changed |= pass->onMatch(record, &pattern, begin, end); 53 bool onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) { argument 54 record->replace<NoOp>(begin); // Save 55 record 71 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 79 SkRecordNoopSaveRestores(SkRecord* record) argument 92 onMatch(SkRecord* record, Pattern* pattern, unsigned begin, unsigned end) argument 125 KillSaveLayerAndRestore(SkRecord* record, unsigned saveLayerIndex) argument 149 SkRecordNoopSaveLayerDrawRestores(SkRecord* record) argument [all...] |
H A D | SkRecordPattern.h | 103 // - search scans through the record to look for matches; 112 SK_ALWAYS_INLINE unsigned match(SkRecord* record, unsigned i) { argument 113 i = this->matchHead(&fHead, record, i); 114 return i == 0 ? 0 : fTail.match(record, i); 119 SK_ALWAYS_INLINE bool search(SkRecord* record, unsigned* begin, unsigned* end) { argument 120 for (*begin = *end; *begin < record->count(); ++(*begin)) { 121 *end = this->match(record, *begin); 139 unsigned matchHead(T*, SkRecord* record, unsigned i) { argument 140 if (i < record->count()) { 141 if (record 150 matchHead(Star<T>*, SkRecord* record, unsigned i) argument [all...] |
/external/chromium_org/third_party/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), 182 SkOTTableName::Iterator::Record record; local 185 while (familyNameIter.next(record)) { 187 SkOTTableName::Record::NameID::Predefined::FontFamilyName == record [all...] |
H A D | RecordDrawTest.cpp | 33 SkRecord record; local 34 SkRecorder recorder(&record, W, H); 42 SkRecordDraw(record, &canvas, NULL/*bbh*/, &callback); 51 SkRecord record; local 52 SkRecorder recorder(&record, W, H); 57 SkRecordDraw(record, &canvas, NULL/*bbh*/, NULL/*callback*/); 132 SkRecord record; local 133 SkRecorder recorder(&record, W, H); 141 SkRecordFillBounds(record, &bbh); 153 SkRecord record; local 186 SkRecord record; local 211 SkRecord record; local 235 SkRecord record; local [all...] |
/external/freetype/src/truetype/ |
H A D | ttpload.c | 510 /* The maximum number of bytes in an hdmx device record is the */ 583 FT_Byte* record = face->hdmx_table + 8; local 591 result = record + nn * record_size + gindex;
|
/external/icu/icu4c/source/layout/ |
H A D | PairPositioningSubtables.cpp | 138 const PairValueRecord *record = records; local 141 if (SWAPW(record->secondGlyph) == glyphID) { 142 return record; 145 record = (const PairValueRecord *) ((char *) record + recordSize); 152 const PairValueRecord *record = records; 153 const PairValueRecord *trial = (const PairValueRecord *) ((char *) record + extra); 156 record = trial; 161 trial = (const PairValueRecord *) ((char *) record + probe); 164 record [all...] |
/external/libsepol/src/ |
H A D | context.c | 141 * Create a context structure from the given record 146 const sepol_context_t * record) 155 char *user = strdup(sepol_context_get_user(record)); 156 char *role = strdup(sepol_context_get_role(record)); 157 char *type = strdup(sepol_context_get_type(record)); 158 const char *mls = sepol_context_get_mls(record); 240 * Create a record from the given context structure 245 sepol_context_t ** record) 278 *record = tmp_record; 282 ERR(handle, "could not create context record"); 143 context_from_record(sepol_handle_t * handle, const policydb_t * policydb, context_struct_t ** cptr, const sepol_context_t * record) argument 242 context_to_record(sepol_handle_t * handle, const policydb_t * policydb, const context_struct_t * context, sepol_context_t ** record) argument [all...] |
H A D | interfaces.c | 11 /* Create a low level structure from record */ 14 ocontext_t ** iface, const sepol_iface_t * record) 25 tmp_iface->u.name = strdup(sepol_iface_get_name(record)); 31 &tmp_con, sepol_iface_get_ifcon(record)) < 0) 40 &tmp_con, sepol_iface_get_msgcon(record)) < 0) 68 ocontext_t * iface, sepol_iface_t ** record) 98 *record = tmp_record; 102 ERR(handle, "could not convert interface %s to record", name); 12 iface_from_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t ** iface, const sepol_iface_t * record) argument 66 iface_to_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t * iface, sepol_iface_t ** record) argument
|
H A D | nodes.c | 85 ocontext_t * node, int proto, sepol_node_t ** record) 136 *record = tmp_record; 140 ERR(handle, "could not convert node to record"); 83 node_to_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t * node, int proto, sepol_node_t ** record) argument
|
H A D | ports.c | 102 ocontext_t * port, sepol_port_t ** record) 131 *record = tmp_record; 136 "to record", low, high, sepol_port_get_proto_str(rec_proto)); 100 port_to_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t * port, sepol_port_t ** record) argument
|
H A D | users.c | 17 int user_idx, sepol_user_t ** record) 92 *record = tmp_record; 15 user_to_record(sepol_handle_t * handle, const policydb_t * policydb, int user_idx, sepol_user_t ** record) argument
|
/external/skia/src/core/ |
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 | 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...] |
/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...] |
/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/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
H A D | ConsoleHandlerTest.java | 147 * Test close() when having sufficient privilege, and a record has been 185 * Test close() when having sufficient privilege, and no record has been 204 * Test publish(), use no filter, having output stream, normal log record. 264 * Test publish(), use a filter, having output stream, normal log record. 303 * Test publish(), null log record, having output stream, spec said 318 * Test publish(), a log record with empty msg, having output stream 334 * Test publish(), a log record with null msg, having output stream 425 public boolean isLoggable(LogRecord record) { argument 426 CallVerificationStack.getInstance().push(record);
|
H A D | FileHandlerTest.java | 202 // output 3 times, and only one record left 228 // if one record is null and is not the last record, means 610 public boolean isLoggable(LogRecord record) { argument 611 return !record.getMessage().equals("false");
|
H A D | HandlerTest.java | 342 public void publish(LogRecord record) { argument 355 public boolean isLoggable(LogRecord record) { argument 356 CallVerificationStack.getInstance().push(record);
|
H A D | LogRecordTest.java | 377 public void publish(LogRecord record) { argument 378 className = record.getSourceClassName(); 379 methodName = record.getSourceMethodName(); 422 public void log(LogRecord record) { argument 423 if (isLoggable(record.getLevel())) { 428 ha[i].publish(record); 436 ha[i].publish(record);
|