/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | debug.py | 743 Subclasses can override the record() method (which defaults to printing to 744 stdout) to record the events in a different way. 754 def record(self, event): member in class:TraceDebugEventListener 758 self.record("enterRule "+ruleName) 761 self.record("exitRule "+ruleName) 764 self.record("enterSubRule") 767 self.record("exitSubRule") 770 self.record("location %s:%s" % (line, pos)) 775 self.record("consumeNode %s %s %s" % ( 781 self.record("L 828 def record(self, event): member in class:RecordDebugEventListener [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
H A D | record-event-listener.rb | 19 def record( event_message, *interpolation_arguments ) method in class:ANTLR3.Debug.RecordEventListener
|
H A D | trace-event-listener.rb | 10 Subclasses can override the record() method (which defaults to printing to 11 stdout) to record the events in a different way. 23 def record( event_message, *interpolation_arguments ) method in class:ANTLR3.Debug.TraceEventListener 29 record "(%s): number=%s", __method__, alt_number 33 record "(%s): rule=%s", __method__, rule_name 37 record "(%s): rule=%s", __method__, rule_name 41 record "(%s): decision=%s", __method__, decision_number 45 record "(%s): decision=%s", __method__, decision_number 49 record '(%s): line=%s position=%s', __method__, line, position 53 record '( [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 | FilterTest.java | 39 public boolean isLoggable(LogRecord record) { argument
|
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 | LogManagerTest.java | 963 public void publish(LogRecord record) { argument
|
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);
|
H A D | LoggerTest.java | 2600 * Test log(LogRecord) for a normal log record. Meanwhile the logger has an 2624 * Test log(LogRecord) with null log record. 2636 * Test log(LogRecord) for a normal log record. Meanwhile the logger has an 2654 * Test log(LogRecord) for a normal log record. Meanwhile the logger has an 2655 * appropriate level, a filter that accepts the fed log record, no parent. 2682 * Test log(LogRecord) for a normal log record. Meanwhile the logger has an 2683 * appropriate level, a filter that rejects the fed log record, no parent. 2709 * Test that the parent's handler is notified for a new log record when 2754 // set the record off 2761 * Test that the ancestor's handler is notified for a new log record whe 3055 log(LogRecord record) argument 3076 publish(LogRecord record) argument 3095 publish(LogRecord record) argument 3106 isLoggable(LogRecord record) argument 3117 isLoggable(LogRecord record) argument [all...] |
H A D | MemoryHandlerTest.java | 138 LogRecord record = new LogRecord(Level.FINER, "MSG1"); 139 assertFalse(handler.isLoggable(record)); 141 record = new LogRecord(Level.FINE, "MSG2"); 142 assertTrue(handler.isLoggable(record)); 144 record = new LogRecord(Level.CONFIG, "MSG3"); 145 assertTrue(handler.isLoggable(record)); 147 record = new LogRecord(Level.CONFIG, "false"); 148 assertFalse(handler.isLoggable(record)); 151 record = new LogRecord(Level.CONFIG, "false"); 152 assertTrue(handler.isLoggable(record)); 360 isLoggable(LogRecord record) argument 374 publish(LogRecord record) argument [all...] |
H A D | SocketHandlerTest.java | 407 * Test close() when having sufficient privilege, and a record has been 435 * Test close() when having sufficient privilege, and no record has been 461 * Test publish(), use no filter, having output stream, normal log record. 500 * Test publish(), use a filter, having output stream, normal log record. 530 * Test publish(), null log record, having output stream 557 * Test publish(), a log record with empty msg, having output stream 582 * Test publish(), a log record with null msg, having output stream 643 public boolean isLoggable(LogRecord record) { argument 644 CallVerificationStack.getInstance().push(record);
|
H A D | StreamHandlerTest.java | 296 * Test close() when having sufficient privilege, and a record has been 329 * Test close() when having sufficient privilege, and no record has been 435 * Test isLoggable(), null log record, having output stream. Handler should 445 * Test isLoggable(), null log record, without output stream 453 * Test publish(), use no filter, having output stream, normal log record. 472 * Test publish(), use no filter, having output stream, normal log record. 506 * Test publish(), use a filter, having output stream, normal log record. 541 * Test publish(), null log record, handler should call ErrorManager to 551 * Test publish(), null log record, without output stream 560 LogRecord record 804 isLoggable(LogRecord record) argument [all...] |
H A D | XMLFormatterTest.java | 96 assertTrue(output.indexOf("<record>") >= 0); 117 assertTrue(output.indexOf("<record>") >= 0); 228 public void publish(LogRecord record) { argument
|
/external/bluetooth/bluedroid/main/ |
H A D | bte_conf.c | 103 tBTA_DI_RECORD record; local 104 record.vendor = config_get_int(config, section_name, "vendorId", LMP_COMPID_BROADCOM); 105 record.vendor_id_source = config_get_int(config, section_name, "vendorIdSource", DI_VENDOR_ID_SOURCE_BTSIG); 106 record.product = config_get_int(config, section_name, "productId", 0); 107 record.version = config_get_int(config, section_name, "version", 0); 108 record.primary_record = config_get_bool(config, section_name, "primaryRecord", false); 109 strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL", ""), sizeof(record.client_executable_url)); 110 strlcpy(record.service_description, config_get_string(config, section_name, "serviceDescription", ""), sizeof(record [all...] |
/external/bluetooth/bluedroid/stack/sdp/ |
H A D | sdpint.h | 120 /* Define the attribute element of the SDP database record */ 129 /* An SDP record consists of a handle, and 1 or more attributes */ 143 UINT32 di_primary_handle; /* Device ID Primary record or NULL if nonexistent */ 146 tSDP_RECORD record[SDP_MAX_RECORDS]; member in struct:__anon1708 162 tSDP_RECORD *prev_sdp_rec; /* last sdp record that was completely sent in the response */ 194 UINT32 handles[SDP_MAX_DISC_SERVER_RECS]; /* Discovered server record handles */
|
/external/chromium_org/chrome/browser/ |
H A D | crash_upload_list_win.cc | 37 EVENTLOGRECORD* record = (EVENTLOGRECORD*)&buffer[record_offset]; local 38 DCHECK(record_offset + record->Length <= bytes_read); 39 if (IsPossibleCrashLogRecord(record)) 40 ProcessPossibleCrashLogRecord(record); 41 record_offset += record->Length; 58 EVENTLOGRECORD* record) const { 59 LPWSTR provider_name = (LPWSTR)((uint8*)record + sizeof(EVENTLOGRECORD)); 61 record->EventType == EVENTLOG_INFORMATION_TYPE && 62 record->NumStrings >= 1; 65 void CrashUploadListWin::ProcessPossibleCrashLogRecord(EVENTLOGRECORD* record) { argument [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | crx_installer_browsertest.cc | 102 void set_record_oauth2_grant(bool record) { record_oauth2_grant_ = record; } argument
|
/external/chromium_org/chrome/browser/signin/ |
H A D | local_auth.cc | 59 std::string EncodePasswordHashRecord(const std::string& record, argument 65 const bool success = OSCrypt::EncryptString(record, &encoded); 68 // Convert binary record to text for preference database. 88 // Stored record is base64; convert to binary. 93 // Decrypt the record using the OS account-password protection (if available). 135 // Group all fields into a single record for storage; 136 std::string record; local 137 record.append(salt_str); 138 record.append(password_hash); 141 std::string encoded = EncodePasswordHashRecord(record, kHash1Encodin 159 std::string record; local [all...] |
/external/chromium_org/chrome/browser/sync/ |
H A D | abstract_profile_sync_service_test.cc | 25 syncer::ChangeRecord record; local 26 record.action = action; 27 record.id = node_id; 28 syncer::ChangeRecordList records(1, record); 36 syncer::ChangeRecord record; local 37 record.action = syncer::ChangeRecord::ACTION_DELETE; 38 record.id = node_id; 39 record.specifics = specifics; 40 syncer::ChangeRecordList records(1, record);
|
H A D | profile_sync_service_bookmark_unittest.cc | 107 syncer::ChangeRecord record; local 108 record.action = syncer::ChangeRecord::ACTION_ADD; 109 record.id = node.GetId(); 110 changes_.push_back(record); 170 syncer::ChangeRecord record; local 171 record.action = syncer::ChangeRecord::ACTION_DELETE; 172 record.id = id; 176 // children before parents. Thus, we must insert the deletion record 178 changes_.insert(changes_.begin(), record); 242 // Helper function to push an ACTION_UPDATE record ont [all...] |
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
H A D | nfc_debug_ui.cc | 208 const NfcNdefRecord* record) OVERRIDE; 213 const NfcNdefRecord* record) OVERRIDE; 234 // Called by the UI to push an NDEF record to a remote device or tag. |args| 235 // will contain one dictionary that contains the record data. 352 const NfcNdefRecord* record) { 363 const NfcNdefRecord* record) { 488 NfcNdefRecord record; local 489 if (!record.Populate(RecordTypeStringValueToEnum(type), record_data)) { 490 OnSubmitRecordFormFailed("Invalid record data provided. Missing required " 503 message.AddRecord(&record); 350 RecordReceived( NfcTag* tag, const NfcNdefRecord* record) argument 361 RecordReceived( NfcPeer* peer, const NfcNdefRecord* record) argument 646 const NfcNdefRecord* record = (*iter); local [all...] |
/external/chromium_org/chrome/common/local_discovery/ |
H A D | service_discovery_client_impl.cc | 129 const net::RecordParsed* record) { 131 if (record->type() == net::dns_protocol::kTypePTR) { 132 DCHECK(record->name() == GetServiceType()); 133 const net::PtrRecordRdata* rdata = record->rdata<net::PtrRecordRdata>(); 147 DCHECK(record->type() == net::dns_protocol::kTypeSRV || 148 record->type() == net::dns_protocol::kTypeTXT); 149 DCHECK(services_.find(record->name()) != services_.end()); 151 if (record->type() == net::dns_protocol::kTypeSRV) { 153 RemoveSRV(record->name()); 155 AddSRV(record 127 OnRecordUpdate( net::MDnsListener::UpdateType update, const net::RecordParsed* record) argument 172 OnTransactionResponse( scoped_ptr<net::MDnsTransaction>* transaction, net::MDnsTransaction::Result result, const net::RecordParsed* record) argument 228 OnSRVRecord( net::MDnsTransaction::Result result, const net::RecordParsed* record) argument 404 SrvRecordTransactionResponse( net::MDnsTransaction::Result status, const net::RecordParsed* record) argument 417 TxtRecordTransactionResponse( net::MDnsTransaction::Result status, const net::RecordParsed* record) argument 431 ARecordTransactionResponse( net::MDnsTransaction::Result status, const net::RecordParsed* record) argument 542 OnTransactionComplete( net::MDnsTransaction::Result result, const net::RecordParsed* record) argument [all...] |
/external/chromium_org/cloud_print/gcp20/prototype/ |
H A D | dns_packet_parser.h | 13 // Parsed response record. 41 // Parses the next query record into |record|. Returns true if succeeded. 42 bool ReadRecord(DnsQueryRecord* record); 44 // Parses the next resource record into |record|. Returns true if succeeded. 45 bool ReadRecord(net::DnsResourceRecord* record) { argument 46 return record_parser_.ReadRecord(record);
|
/external/chromium_org/components/sync_driver/ |
H A D | generic_change_processor.cc | 43 sync_pb::AttachmentMetadataRecord record; local 44 *record.mutable_id() = attachment_id.GetProto(); 45 return record;
|