/external/expat/amiga/include/interfaces/ |
expat.h | 27 uint32 APICALL (*Obtain)(struct ExpatIFace *Self); 28 uint32 APICALL (*Release)(struct ExpatIFace *Self); 29 void APICALL (*Expunge)(struct ExpatIFace *Self); 30 struct Interface * APICALL (*Clone)(struct ExpatIFace *Self); 31 XML_Parser APICALL (*XML_ParserCreate)(struct ExpatIFace *Self, const XML_Char * encodingName); 32 XML_Parser APICALL (*XML_ParserCreateNS)(struct ExpatIFace *Self, const XML_Char * encodingName, XML_Char nsSep); 33 XML_Parser APICALL (*XML_ParserCreate_MM)(struct ExpatIFace *Self, const XML_Char * encoding, const XML_Memory_Handling_Suite * memsuite, const XML_Char * namespaceSeparator); 34 XML_Parser APICALL (*XML_ExternalEntityParserCreate)(struct ExpatIFace *Self, XML_Parser parser, const XML_Char * context, const XML_Char * encoding); 35 void APICALL (*XML_ParserFree)(struct ExpatIFace *Self, XML_Parser parser); 36 enum XML_Status APICALL (*XML_Parse)(struct ExpatIFace *Self, XML_Parser parser, const char * s, int len, int isFinal) [all...] |
/external/srec/portable/src/ |
ArrayList.c | 27 ESR_ReturnCode ArrayListAdd(ArrayList* self, void* element) 29 if (self == NULL) 34 return self->add(self, element); 37 ESR_ReturnCode ArrayListInsertAt(ArrayList* self, size_t index, void* element) 39 if (self == NULL) 44 return self->insertAt(self, index, element); 47 ESR_ReturnCode ArrayListRemove(ArrayList* self, void* element) 49 if (self == NULL [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/ |
test.py | 41 def __init__(self, port_name=None, options=None): 42 base.Port.__init__(self, port_name, options) 44 def base_platforms(self): 47 def baseline_path(self): 49 self.topdir = curdir[0:curdir.index("WebKitTools")] 50 return os.path.join(self.topdir, 'LayoutTests', 'platform', 'test') 52 def baseline_search_path(self): 53 return [self.baseline_path()] 55 def check_sys_deps(self): 58 def diff_image(self, actual_filename, expected_filename, diff_filename) [all...] |
/external/srec/srec/Grammar/src/ |
SR_Grammar.c | 28 ESR_ReturnCode SR_GrammarCompile(SR_Grammar* self) 30 if (self == NULL) 35 return self->compile(self); 38 ESR_ReturnCode SR_GrammarAddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word, 42 if ( self == NULL ) 47 return self->addWordToSlot(self, slot, word, pronunciation, weight, tag); 51 ESR_ReturnCode SR_GrammarResetAllSlots(SR_Grammar* self) 53 if (self == NULL [all...] |
/external/webkit/WebKitTools/pywebsocket/test/ |
test_mock.py | 44 def setUp(self): 45 self._conn = mock.MockConn('ABC\r\nDEFG\r\n\r\nHIJK') 47 def test_readline(self): 48 self.assertEqual('ABC\r\n', self._conn.readline()) 49 self.assertEqual('DEFG\r\n', self._conn.readline()) 50 self.assertEqual('\r\n', self._conn.readline()) 51 self.assertEqual('HIJK', self._conn.readline() [all...] |
mock.py | 45 def __init__(self): 46 self._write_data = [] 48 def write(self, data): 51 self._write_data.append(data) 53 def written_data(self): 56 return ''.join(self._write_data) 66 def __init__(self, read_data): 74 _MockConnBase.__init__(self) 75 self._read_data = read_data 76 self._read_pos = [all...] |
/external/clearsilver/python/examples/trans/ |
db_trans.py | 15 def _defineRows(self): 16 self.d_addColumn("string_id", kInteger, primarykey=1, autoincrement=1) 18 self.d_addColumn("string", kBigString, indexed=1) 29 def _defineRows(self): 30 self.d_addColumn("loc_id", kInteger, primarykey=1, autoincrement=1) 31 self.d_addColumn("string_id", kInteger, indexed=1) 32 self.d_addColumn("version", kInteger, default=0) 33 self.d_addColumn("filename", kVarString, 255, indexed=1) 34 self.d_addColumn("location", kVarString, 255) 43 def _defineRows(self) [all...] |
/external/srec/srec/AcousticModels/src/ |
AcousticModels.c | 26 ESR_ReturnCode SR_AcousticModelsDestroy(SR_AcousticModels* self) 28 if (self == NULL) 33 return self->destroy(self); 36 ESR_ReturnCode SR_AcousticModelsSave(SR_AcousticModels* self, const LCHAR* filename) 38 if (self == NULL) 43 return self->save(self, filename); 46 ESR_ReturnCode SR_AcousticModelsSetParameter(SR_AcousticModels* self, const LCHAR* key, LCHAR* value) 48 if (self == NULL [all...] |
/external/quake/quake/src/QW/progs/ |
subs.qc | 5 void() SUB_Remove = {remove(self);}; 14 if (self.angles == '0 -1 0') 15 self.movedir = '0 0 1'; 16 else if (self.angles == '0 -2 0') 17 self.movedir = '0 0 -1'; 20 makevectors (self.angles); 21 self.movedir = v_forward; 24 self.angles = '0 0 0'; 36 if (self.angles != '0 0 0') 38 self.solid = SOLID_TRIGGER [all...] |
/external/v8/tools/ |
tickprocessor.py | 34 def __init__(self, start_addr, name): 35 self.start_addr = start_addr 36 self.tick_count = 0 37 self.name = name 38 self.stacks = {} 40 def Tick(self, pc, stack): 41 self.tick_count += 1 43 stack.insert(0, self.ToString()) 45 self.stacks[stack_key] = self.stacks.setdefault(stack_key, 0) + [all...] |
/external/srec/shared/src/ |
Int8ArrayList.c | 26 ESR_ReturnCode Int8ArrayListAdd(Int8ArrayList* self, asr_int8_t element) 28 if (self == NULL) 33 return self->add(self, element); 36 ESR_ReturnCode Int8ArrayListRemove(Int8ArrayList* self, asr_int8_t element) 38 if (self == NULL) 43 return self->remove(self, element); 46 ESR_ReturnCode Int8ArrayListRemoveAll(Int8ArrayList* self) 48 if (self == NULL [all...] |
/external/v8/test/sputnik/ |
testcfg.py | 38 def __init__(self, case, path, context, mode): 39 super(SputnikTestCase, self).__init__(context, path) 40 self.case = case 41 self.mode = mode 42 self.tmpfile = None 43 self.source = None 45 def IsNegative(self): 46 return '@negative' in self.GetSource() 48 def IsFailureOutput(self, output): 54 def BeforeRun(self) [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/ |
queueengine_unittest.py | 39 def __init__(self, test): 40 self._test = test 41 self._callbacks = [] 42 self._run_before = False 55 def record(self, method_name): 56 self._callbacks.append(method_name) 58 def queue_log_path(self): 59 self.record("queue_log_path") 60 return os.path.join(self._test.temp_dir, "queue_log_path") 62 def work_item_log_path(self, work_item) [all...] |
networktransaction_unittest.py | 37 def test_success(self): 39 self.assertEqual(transaction.run(lambda: 42), 42) 41 def _raise_exception(self): 42 raise self.exception 44 def test_exception(self): 49 transaction.run(lambda: self._raise_exception()) 53 self.assertEqual(e, self.exception) 54 self.assertTrue(did_throw_exception) 55 self.assertTrue(did_process_exception [all...] |
/development/testrunner/ |
coverage_targets.py | 42 def __init__(self, ): 43 self._target_map= {} 45 def __iter__(self): 46 return iter(self._target_map.values()) 48 def Parse(self, file_path): 66 target_elements = doc.getElementsByTagName(self._TARGET_TAG_NAME) 70 self._AddTarget(target) 72 def _AddTarget(self, target): 73 self._target_map[target.GetName()] = target 75 def GetBuildTargets(self) [all...] |
/external/clearsilver/python/examples/base/ |
odb.py | 24 # def _defineRows(self): 25 # self.d_addColumn("agent_id",kInteger,None,primarykey = 1,autoincrement = 1) 26 # self.d_addColumn("login",kVarString,200,notnull=1) 27 # self.d_addColumn("ticket_count",kIncInteger,None) 93 def __init__(self, db, debug=0): 94 self._tables = {} 95 self.db = db 96 self._cursor = None 97 self.compression_enabled = 0 98 self.debug = debu [all...] |
/bionic/libc/kernel/tools/ |
cpp.py | 72 def __init__(self): 73 self.id = None 74 self.value = None 75 self.lineno = 0 76 self.colno = 0 78 def set(self,id,val=None): 79 self.id = id 81 self.value = val 83 self.value = id 86 def copyFrom(self,src) [all...] |
/external/clearsilver/scripts/ |
cs_lint.py | 10 def __init__ (self): 11 self.context = "" 12 self.data = "" 13 self.at = 0 14 self.cmd = "" 15 self.tokens = [] 17 def error(self, s): 18 lineno = self.lineno(self.data, self.at [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/commands/ |
queues.py | 57 def __init__(self, options=None): # Default values should never be collections (like []) as default values are shared between invocations 61 Command.__init__(self, "Run the %s" % self.name, options=options_list) 63 def _cc_watchers(self, bug_id): 65 self.tool.bugs.add_cc_to_bug(bug_id, self.watchers) 70 def _update_status(self, message, patch=None, results_file=None): 71 self.tool.status_server.update_status(self.name, message, patch, results_file) 73 def _did_pass(self, patch) [all...] |
/external/srec/srec/Nametag/src/ |
Nametags.c | 23 ESR_ReturnCode SR_NametagsLoad(SR_Nametags* self, const LCHAR* filename) 25 if (self == NULL) 30 return self->load(self, filename); 33 ESR_ReturnCode SR_NametagsSave(SR_Nametags* self, const LCHAR* filename) 35 if (self == NULL) 40 return self->save(self, filename); 43 ESR_ReturnCode SR_NametagsAdd(SR_Nametags* self, SR_Nametag* nametag) 45 if (self == NULL [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/ |
test_shell_thread.py | 116 def __init__(self, filename, failures, test_run_time, 118 self.filename = filename 119 self.failures = failures 120 self.test_run_time = test_run_time 121 self.total_time_for_all_diffs = total_time_for_all_diffs 122 self.time_for_diffs = time_for_diffs 128 def __init__(self, port, image_path, shell_args, test_info, 138 threading.Thread.__init__(self) 139 self._port = port 140 self._image_path = image_pat [all...] |
/external/v8/test/cctest/ |
testcfg.py | 39 def __init__(self, path, executable, mode, raw_name, dependency, context): 40 super(CcTestCase, self).__init__(context, path) 41 self.executable = executable 42 self.mode = mode 43 self.raw_name = raw_name 44 self.dependency = dependency 46 def GetLabel(self): 47 return "%s %s %s" % (self.mode, self.path[-2], self.path[-1] [all...] |
/external/webkit/WebKitTools/BuildSlaveSupport/build.webkit.org-config/ |
master.cfg | 25 def __init__(self, platform, configuration, architecture, buildOnly, *args, **kwargs): 26 buildstep.BuildStep.__init__(self, *args, **kwargs) 27 self.platform = platform.split('-', 1)[0] 28 self.fullPlatform = platform 29 self.configuration = configuration 30 self.architecture = architecture 31 self.buildOnly = buildOnly 32 self.addFactoryArguments(platform=platform, configuration=configuration, architecture=architecture, buildOnly=buildOnly) 34 def start(self): 35 self.setProperty("platform", self.platform [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/style/processors/ |
cpp_unittest.py | 55 def __init__(self, assert_fn): 57 self._assert_fn = assert_fn 58 self._errors = [] 60 def __call__(self, unused_linenum, category, confidence, message): 61 self._assert_fn(category in self._all_style_categories, 64 self._seen_style_categories[category] = 1 65 self._errors.append('%s [%s] [%d]' % (message, category, confidence)) 67 def results(self): 68 if len(self._errors) < 2 [all...] |
/external/srec/srec/Recognizer/src/ |
RecognizerResult.c | 25 ESR_ReturnCode SR_RecognizerResultGetWaveform(const SR_RecognizerResult* self, 28 if (self == NULL) 33 return self->getWaveform(self, waveform, size); 36 ESR_ReturnCode SR_RecognizerResultGetSize(const SR_RecognizerResult* self, size_t* count) 38 if (self == NULL) 43 return self->getSize(self, count); 46 ESR_ReturnCode SR_RecognizerResultGetKeyCount(const SR_RecognizerResult* self, const size_t nbest, size_t* count) 48 if (self == NULL [all...] |