HomeSort by relevance Sort by last modified time
    Searched full:self (Results 76 - 100 of 1842) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/clearsilver/python/examples/base/
SafeHtml.py 37 def __init__ (self, fp, extra_safe=1, base=None, map_urls=None, new_window=1):
38 self._extra_safe = extra_safe
39 PassSGMLParser.__init__ (self, fp, extra_safe)
40 self._matchDict = {}
41 self._stripping = 0
42 self._base = base
43 self._map_urls = map_urls
44 self._new_window = new_window
46 def safe_start_strip (self):
47 if self._stripping == 0
    [all...]
sgmllib.py 37 # between tags is passed to the parser by calling self.handle_data()
40 # self.handle_entityref() with the entity reference as argument.
72 def __init__(self, verbose=0):
73 self.verbose = verbose
74 self.reset()
77 def reset(self):
78 self.rawdata = ''
79 self.stack = []
80 self.lasttag = '???'
81 self.nomoretags =
    [all...]
odb_mysql.py 16 def __init__(self,db, debug=0):
17 odb.Database.__init__(self, db, debug=debug)
18 self.SQLError = MySQLdb.Error
20 def escape(self,str):
24 def listTables(self, cursor=None):
25 if cursor is None: cursor = self.defaultCursor()
33 def listIndices(self, cursor=None):
36 def listFieldsDict(self, table_name, cursor=None):
37 if cursor is None: cursor = self.defaultCursor()
49 def alterTableToMatch(self)
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/
json_results_generator.py 79 def __init__(self, port, builder_name, build_name, build_number,
99 self._port = port
100 self._builder_name = builder_name
101 self._build_name = build_name
102 self._build_number = build_number
103 self._builder_base_url = builder_base_url
104 self._results_file_path = os.path.join(results_file_base_path,
105 self.RESULTS_FILENAME)
106 self._test_timings = test_timings
107 self._failures = failure
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/
networktransaction.py 40 def __init__(self, initial_backoff_seconds=10, grown_factor=1.1, timeout_seconds=5*60*60):
41 self._initial_backoff_seconds = initial_backoff_seconds
42 self._grown_factor = grown_factor
43 self._timeout_seconds = timeout_seconds
45 def run(self, request):
46 self._total_sleep = 0
47 self._backoff_seconds = self._initial_backoff_seconds
52 self._check_for_timeout()
53 log("Received HTTP status %s from server. Retrying in %s seconds..." % (e.code, self._backoff_seconds)
    [all...]
patchcollection.py 31 def collection_name(self):
34 def fetch_potential_patch_ids(self):
37 def status_server(self):
40 def is_terminal_status(self, status):
45 def __init__(self, delegate):
46 self._delegate = delegate
47 self._name = self._delegate.collection_name()
48 self._status = self._delegate.status_server(
    [all...]
multicommandtool.py 45 def __init__(self, help_text, argument_names=None, options=None, long_help=None, requires_local_commits=False):
46 self.help_text = help_text
47 self.long_help = long_help
48 self.argument_names = argument_names
49 self.required_arguments = self._parse_required_arguments(argument_names)
50 self.options = options
51 self.requires_local_commits = requires_local_commits
52 self.tool = None
55 self.option_parser = HelpPrintingOptionParser(usage=SUPPRESS_USAGE, add_help_option=False, option_list= (…)
    [all...]
statusserver.py 43 def __init__(self, host=default_host):
44 self.set_host(host)
45 self.browser = Browser()
47 def set_host(self, host):
48 self.host = host
49 self.url = "http://%s" % self.host
51 def results_url_for_status(self, status_id):
52 return "%s/results/%s" % (self.url, status_id)
54 def _add_patch(self, patch)
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/steps/
abstractstep.py 34 def __init__(self, tool, options):
35 self._tool = tool
36 self._options = options
37 self._port = None
39 def _run_script(self, script_name, quiet=False, port=WebKitPort):
41 # FIXME: This should use self.port()
42 self._tool.executive.run_and_throw_if_fail(port.script_path(script_name), quiet)
45 def port(self):
46 if self._port:
47 return self._por
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/style/
checker_unittest.py 55 def test_init(self):
59 self.assertEquals(options.extra_flag_values, {})
60 self.assertEquals(options.filter_configuration, FilterConfiguration())
61 self.assertEquals(options.git_commit, None)
62 self.assertEquals(options.max_reports_per_category, {})
63 self.assertEquals(options.output_format, "emacs")
64 self.assertEquals(options.verbosity, 1)
67 self.assertRaises(ValueError, ProcessorOptions, output_format="bad")
70 self.assertRaises(ValueError, ProcessorOptions, verbosity=0)
71 self.assertRaises(ValueError, ProcessorOptions, verbosity=6
    [all...]
filter_unittest.py 56 def test_validate_filter_rules(self):
75 self.assertRaises(ValueError, validate_filter_rules,
87 def test_init(self):
91 self.assertEquals(["+"], filter._filter_rules)
93 def test_init_default_arguments(self):
96 self.assertEquals([], filter._filter_rules)
98 def test_str(self):
101 self.assertEquals(str(filter), "+a,-b")
103 def test_eq(self):
111 self.assertTrue(filter1.__eq__(filter2)
    [all...]
  /external/webkit/WebCore/bindings/objc/
DOMCSS.mm 132 return [self getPropertyValue:@"azimuth"];
137 [self setProperty:@"azimuth" value:azimuth priority:@""];
142 return [self getPropertyValue:@"background"];
147 [self setProperty:@"background" value:background priority:@""];
152 return [self getPropertyValue:@"background-attachment"];
157 [self setProperty:@"background-attachment" value:backgroundAttachment priority:@""];
162 return [self getPropertyValue:@"background-color"];
167 [self setProperty:@"background-color" value:backgroundColor priority:@""];
172 return [self getPropertyValue:@"background-image"];
177 [self setProperty:@"background-image" value:backgroundImage priority:@""]
    [all...]
  /external/srec/portable/src/
PFile.c 28 ESR_ReturnCode PFileDestroy(PFile* self)
30 if (self == NULL)
35 return self->destroy(self);
38 ESR_ReturnCode PFileOpen(PFile* self, const LCHAR* mode)
40 if (self == NULL)
45 return self->open(self, mode);
48 ESR_ReturnCode PFileClose(PFile* self)
50 if (self == NULL
    [all...]
  /packages/apps/IM/libwbxml/src/
expat_parser.cpp 41 ExpatParser * self = (ExpatParser *)userData; local
42 if (self->mHandler) {
43 self->mHandler->startElement(name, atts);
49 ExpatParser * self = (ExpatParser *)userData; local
50 if (self->mHandler) {
51 self->mHandler->endElement(name);
57 ExpatParser * self = (ExpatParser *)userData; local
58 if (self->mHandler) {
59 self->mHandler->characters(data, len);
69 ExpatParser * self = (ExpatParser *)userData local
77 ExpatParser * self = (ExpatParser *)userData; local
    [all...]
  /external/srec/srec/Nametag/src/
Nametag.c 26 ESR_ReturnCode SR_NametagGetID(const SR_Nametag* self, LCHAR** id)
28 if (self == NULL)
33 return self->getID(self, id);
36 ESR_ReturnCode SR_NametagGetValue(const SR_Nametag* self, const char** pvalue, size_t* plen)
38 if (self == NULL || pvalue == NULL || plen == NULL)
43 return self->getValue(self, pvalue, plen);
46 ESR_ReturnCode SR_NametagSetID(SR_Nametag* self, const LCHAR* id)
48 if (self == NULL
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/
chromium_win.py 44 def __init__(self, port_name=None, options=None):
46 port_name = 'chromium-win' + self.version()
47 chromium.ChromiumPort.__init__(self, port_name, options)
49 def baseline_search_path(self):
51 if self._name == 'chromium-win-xp':
52 dirs.append(self._chromium_baseline_path(self._name))
53 if self._name in ('chromium-win-xp', 'chromium-win-vista'):
54 dirs.append(self._chromium_baseline_path('chromium-win-vista'))
55 dirs.append(self._chromium_baseline_path('chromium-win')
    [all...]
websocket_server.py 87 def __init__(self, port_obj, output_dir, port=_DEFAULT_WS_PORT,
94 http_server.Lighttpd.__init__(self, port_obj, output_dir,
98 self._output_dir = output_dir
99 self._process = None
100 self._port = port
101 self._root = root
102 self._use_tls = use_tls
103 self._private_key = self._pem_file
104 self._certificate = self._pem_fil
    [all...]
  /bionic/libc/kernel/tools/
kernel.py 64 def __init__(self,config={}):
66 self.reset()
67 self.config = config
69 def reset(self,config={}):
70 self.files = set() # set of files being parsed for headers
71 self.headers = {} # maps headers to set of users
72 self.config = config
74 def checkInclude(self, line, from_file, kernel_root=None):
84 self.files.add(from_file)
95 if not header in self.headers
    [all...]
  /external/webkit/WebKitTools/BuildSlaveSupport/build.webkit.org-config/webkit/
steps.py 7 def __init__(self, *args, **kwargs):
8 SVN.__init__(self, baseURL=self.baseURL, defaultBranch="trunk", mode=self.mode, *args, **kwargs)
13 def __init__(self, *args, **kwargs):
15 self.command = self.command + ['--' + configuration]
16 self.name = "set-configuration-%s" % (configuration, )
17 self.description = ["set configuration %s" % (configuration, )]
18 self.descriptionDone = ["set configuration %s" % (configuration, )
    [all...]
  /external/srec/srec/Recognizer/include/
SR_Recognizer.h 146 * @param self SR_Recognizer handle
147 * @return ESR_INVALID_ARGUMENT if self is null, if no acoustic models have been associated with the recognizer,
150 ESR_ReturnCode(*start)(struct SR_Recognizer_t* self);
156 * @param self SR_Recognizer handle
157 * @return ESR_INVALID_ARGUMENT if self is null; ESR_INVALID_STATE if an internal error has occured
159 ESR_ReturnCode(*stop)(struct SR_Recognizer_t* self);
163 * @param self SR_Recognizer handle
164 * @return ESR_INVALID_ARGUMENT if self is null; ESR_INVALID_STATE if an internal error has occured
166 ESR_ReturnCode(*destroy)(struct SR_Recognizer_t* self);
170 * @param self SR_Recognizer handl
    [all...]
  /external/srec/shared/include/
Int8ArrayList.h 45 * @param self Int8ArrayList handle
48 ESR_ReturnCode(*add)(struct Int8ArrayList_t* self, asr_int8_t element);
53 * @param self Int8ArrayList handle
56 ESR_ReturnCode(*remove)(struct Int8ArrayList_t* self, asr_int8_t element);
61 * @param self Int8ArrayList handle
63 ESR_ReturnCode(*removeAll)(struct Int8ArrayList_t* self);
68 * @param self Int8ArrayList handle
72 ESR_ReturnCode(*contains)(struct Int8ArrayList_t* self, asr_int8_t element, ESR_BOOL* exists);
77 * @param self Int8ArrayList handle
80 ESR_ReturnCode(*getSize)(struct Int8ArrayList_t* self, size_t* size)
    [all...]
HashMap.h 47 * @param self HashMap handle
50 * @return ESR_INVALID_ARGUMENT if self is null; ESR_OUT_OF_MEMORY if system is out of memory
52 ESR_ReturnCode(*put)(struct HashMap_t* self, const LCHAR* key, void* value);
57 * @param self HashMap handle
59 * @return ESR_INVALID_ARGUMENT if self is null
61 ESR_ReturnCode(*remove)(struct HashMap_t* self, const LCHAR* key);
66 * @param self HashMap handle
68 * @return ESR_INVALID_ARGUMENT if self is null
70 ESR_ReturnCode(*removeAndFree)(struct HashMap_t* self, const LCHAR* key);
75 * @param self HashMap handl
    [all...]
  /external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/
handshake.py 101 def __init__(self, request, dispatcher, strict=False):
115 self._request = request
116 self._dispatcher = dispatcher
117 self._strict = strict
119 def do_handshake(self):
122 self._check_header_lines()
123 self._set_resource()
124 self._set_origin()
125 self._set_location()
126 self._set_protocol(
    [all...]
  /development/scripts/
divide_and_compress_test.py 37 def NoOp(self):
44 def setUp(self):
49 self.my_mox = mox.Mox()
58 self.files = {'file1': file1, 'file2': file2}
60 def tearDown(self):
62 self.my_mox.UnsetStubs()
64 def testArchiveIsValid(self):
70 self.my_mox.StubOutWithMock(os, 'stat')
72 self.my_mox.StubOutWithMock(stat, 'ST_SIZE')
79 self.assertEqual(False, test_target.ArchiveIsValid()
    [all...]
  /external/srec/portable/include/
ArrayList.h 45 * @param self ArrayList handle
47 * @return ESR_INVALID_ARGUMENT if self is null; ESR_OUT_OF_MEMORY is system is out of memory
49 ESR_ReturnCode(*add)(struct ArrayList_t* self, void* element);
56 * @param self ArrayList handle
59 * @return ESR_INVALID_ARGUMENT if self is null; ESR_SUCCESS if success or anaother value indicating
63 ESR_ReturnCode(*insertAt)(struct ArrayList_t* self, size_t index,
69 * @param self ArrayList handle
71 * @return ESR_INVALID_ARGUMENT if self is null; ESR_OUT_OF_MEMORY is system is out of memory
73 ESR_ReturnCode(*remove)(struct ArrayList_t* self, const void* element);
78 * @param self ArrayList handl
    [all...]

Completed in 72 milliseconds

1 2 34 5 6 7 8 91011>>