/third_party/protobuf/php/src/Google/Protobuf/Field/ |
H A D | Kind.php | 132 self::TYPE_UNKNOWN => 'TYPE_UNKNOWN', 133 self::TYPE_DOUBLE => 'TYPE_DOUBLE', 134 self::TYPE_FLOAT => 'TYPE_FLOAT', 135 self::TYPE_INT64 => 'TYPE_INT64', 136 self::TYPE_UINT64 => 'TYPE_UINT64', 137 self::TYPE_INT32 => 'TYPE_INT32', 138 self::TYPE_FIXED64 => 'TYPE_FIXED64', 139 self::TYPE_FIXED32 => 'TYPE_FIXED32', 140 self::TYPE_BOOL => 'TYPE_BOOL', 141 self [all...] |
/test/testfwk/developer_test/aw/python/distributed/distribute/ |
H A D | distribute.py | 82 def __init__(self, suite_dir, major, agent_list, hdc_tools): 83 self.suite_dir = suite_dir 84 self.major = major 85 self.agent_list = agent_list 86 self.hdc_tools = hdc_tools 217 def exec_agent(self, device, target_name, result_path, options): 218 driver = get_current_driver(device, target_name, self.hdc_tools) 223 resource_dir = get_resource_dir(self.suite_dir, device.name) 225 self._make_agent_desc_file(device) 226 device.push_file(os.path.join(self [all...] |
/third_party/python/Lib/idlelib/ |
H A D | pyparse.py | 114 def __missing__(self, key): 127 def __init__(self, indentwidth, tabwidth): 128 self.indentwidth = indentwidth 129 self.tabwidth = tabwidth 131 def set_code(self, s): 133 self.code = s 134 self.study_level = 0 136 def find_good_parse_start(self, is_char_in_string): 149 code, pos = self.code, None 188 def set_lo(self, l [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | gen_builtin_symbols.py | 753 def __init__(self, hashfn, num_names): 754 self.objs = OrderedDict() 755 self.max_name_length = 0 756 self.hashfn = hashfn 757 self.num_names = num_names 758 self.rule_offset = 0 760 def add_entry(self, essl_level, glsl_level, shader_type, name, symbol, essl_extension, 766 if len(name) > self.max_name_length: 767 self.max_name_length = len(name) 769 name_hash = mangledNameHash(name, self [all...] |
/third_party/ffmpeg/doc/ |
H A D | t2h.pm | 65 my $self = shift; 74 if ($self->in_string) { 75 $result .= $self->command_string($command) ."\n" if ($cmdname ne 'node'); 80 my $element_id = $self->command_id($command); 86 if ($self->get_conf('DEBUG')); 95 $result .= &{get_formatting_function($self, 'format_element_header')}($self, $cmdname, 117 my $heading = $self->command_text($command); 124 my $content_href = $self->command_contents_href($command, 'contents', 125 $self [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | hash_longest_match64_inc.h | 61 HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, in Initialize() 63 self->common_ = common; in Initialize() 66 self->hash_shift_ = 64 - common->params.bucket_bits; in Initialize() 67 self->hash_mask_ = (~((uint64_t)0U)) >> (64 - 8 * common->params.hash_len); in Initialize() 68 self->bucket_size_ = (size_t)1 << common->params.bucket_bits; in Initialize() 69 self->block_bits_ = common->params.block_bits; in Initialize() 70 self->block_size_ = (size_t)1 << common->params.block_bits; in Initialize() 71 self->block_mask_ = (uint32_t)(self->block_size_ - 1); in Initialize() 72 self in Initialize() 60 Initialize( HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderParams* params) Initialize() argument 78 Prepare( HashLongestMatch* BROTLI_RESTRICT self, BROTLI_BOOL one_shot, size_t input_size, const uint8_t* BROTLI_RESTRICT data) Prepare() argument 109 Store( HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix) Store() argument 122 StoreRange(HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix_start, const size_t ix_end) StoreRange() argument 131 StitchToPreviousBlock( HashLongestMatch* BROTLI_RESTRICT self, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask) StitchToPreviousBlock() argument 145 PrepareDistanceCache( HashLongestMatch* BROTLI_RESTRICT self, int* BROTLI_RESTRICT distance_cache) PrepareDistanceCache() argument 162 FindLongestMatch( HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderDictionary* dictionary, const uint8_t* BROTLI_RESTRICT data, const size_t ring_buffer_mask, const int* BROTLI_RESTRICT distance_cache, const size_t cur_ix, const size_t max_length, const size_t max_backward, const size_t dictionary_distance, const size_t max_distance, HasherSearchResult* BROTLI_RESTRICT out) FindLongestMatch() argument [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | hash_longest_match64_inc.h | 61 HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, in Initialize() 63 self->common_ = common; in Initialize() 66 self->hash_shift_ = 64 - common->params.bucket_bits; in Initialize() 67 self->hash_mask_ = (~((uint64_t)0U)) >> (64 - 8 * common->params.hash_len); in Initialize() 68 self->bucket_size_ = (size_t)1 << common->params.bucket_bits; in Initialize() 69 self->block_bits_ = common->params.block_bits; in Initialize() 70 self->block_size_ = (size_t)1 << common->params.block_bits; in Initialize() 71 self->block_mask_ = (uint32_t)(self->block_size_ - 1); in Initialize() 72 self in Initialize() 60 Initialize( HasherCommon* common, HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderParams* params) Initialize() argument 78 Prepare( HashLongestMatch* BROTLI_RESTRICT self, BROTLI_BOOL one_shot, size_t input_size, const uint8_t* BROTLI_RESTRICT data) Prepare() argument 109 Store( HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix) Store() argument 122 StoreRange(HashLongestMatch* BROTLI_RESTRICT self, const uint8_t* BROTLI_RESTRICT data, const size_t mask, const size_t ix_start, const size_t ix_end) StoreRange() argument 131 StitchToPreviousBlock( HashLongestMatch* BROTLI_RESTRICT self, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask) StitchToPreviousBlock() argument 145 PrepareDistanceCache( HashLongestMatch* BROTLI_RESTRICT self, int* BROTLI_RESTRICT distance_cache) PrepareDistanceCache() argument 162 FindLongestMatch( HashLongestMatch* BROTLI_RESTRICT self, const BrotliEncoderDictionary* dictionary, const uint8_t* BROTLI_RESTRICT data, const size_t ring_buffer_mask, const int* BROTLI_RESTRICT distance_cache, const size_t cur_ix, const size_t max_length, const size_t max_backward, const size_t dictionary_distance, const size_t max_distance, HasherSearchResult* BROTLI_RESTRICT out) FindLongestMatch() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_readline.py | 49 def testHistoryUpdates(self): 55 self.assertEqual(readline.get_history_item(0), None) 56 self.assertEqual(readline.get_history_item(1), "first line") 57 self.assertEqual(readline.get_history_item(2), "second line") 60 self.assertEqual(readline.get_history_item(0), None) 61 self.assertEqual(readline.get_history_item(1), "replaced line") 62 self.assertEqual(readline.get_history_item(2), "second line") 64 self.assertEqual(readline.get_current_history_length(), 2) 67 self.assertEqual(readline.get_history_item(0), None) 68 self [all...] |
H A D | test_resource.py | 15 def test_args(self): 16 self.assertRaises(TypeError, resource.getrlimit) 17 self.assertRaises(TypeError, resource.getrlimit, 42, 42) 18 self.assertRaises(TypeError, resource.setrlimit) 19 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42) 23 def test_fsize_ismax(self): 34 self.assertEqual(resource.RLIM_INFINITY, max) 37 def test_fsize_enforced(self): 84 def test_fsize_toobig(self): 102 def test_getrusage(self) [all...] |
/third_party/python/Lib/multiprocessing/ |
H A D | sharedctypes.py | 158 def get%s(self): 159 self.acquire() 161 return self._obj.%s 163 self.release() 164 def set%s(self, value): 165 self.acquire() 167 self._obj.%s = value 169 self.release() 182 def __init__(self, obj, lock=None, ctx=None): 183 self [all...] |
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 81 def __init__(self, name, copyright, instructions, operand_kinds, version = None, revision = None): 82 self.name = name 83 self.copyright = copyright 84 self.instructions = instructions 85 self.operand_kinds = operand_kinds 86 self.version = version 87 self.revision = revision 93 def __init__(self): 94 self.upper_case_initial = re.compile('^[A-Z]') 97 def comment_prefix(self) [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 81 def __init__(self, name, copyright, instructions, operand_kinds, version = None, revision = None): 82 self.name = name 83 self.copyright = copyright 84 self.instructions = instructions 85 self.operand_kinds = operand_kinds 86 self.version = version 87 self.revision = revision 93 def __init__(self): 94 self.upper_case_initial = re.compile('^[A-Z]') 97 def comment_prefix(self) [all...] |
/third_party/spirv-headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 81 def __init__(self, name, copyright, instructions, operand_kinds, version = None, revision = None): 82 self.name = name 83 self.copyright = copyright 84 self.instructions = instructions 85 self.operand_kinds = operand_kinds 86 self.version = version 87 self.revision = revision 93 def __init__(self): 94 self.upper_case_initial = re.compile('^[A-Z]') 97 def comment_prefix(self) [all...] |
/third_party/python/Modules/ |
H A D | xxlimited.c | 10 local variables other than 'self'. If your object type is needed in 19 def __init__(self): 21 self._x_attr = {} 22 self._x_exports = 0 24 def __getattr__(self, name): 25 return self._x_attr[name] 27 def __setattr__(self, name, value): 28 self._x_attr[name] = value 30 def __delattr__(self, name): 31 del self 99 XxoObject *self; newXxoObject() local 119 XxoObject *self = (XxoObject *)self_obj; Xxo_traverse() local 125 Xxo_clear(XxoObject *self) Xxo_clear() argument 134 XxoObject *self = (XxoObject *)self_obj; Xxo_finalize() local 139 Xxo_dealloc(PyObject *self) Xxo_dealloc() argument 153 Xxo_getattro(XxoObject *self, PyObject *name) Xxo_getattro() argument 169 Xxo_setattro(XxoObject *self, PyObject *name, PyObject *v) Xxo_setattro() argument 197 Xxo_demo(XxoObject *self, PyTypeObject *defining_class, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) Xxo_demo() argument 236 Xxo_getbuffer(XxoObject *self, Py_buffer *view, int flags) Xxo_getbuffer() argument 248 Xxo_releasebuffer(XxoObject *self, Py_buffer *view) Xxo_releasebuffer() argument 254 Xxo_get_x_exports(XxoObject *self, void *c) Xxo_get_x_exports() argument [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_searchengine.py | 32 def __init__(self, *args, **kwargs): pass 36 def test_get(self): 42 self.assertIsInstance(engine, se.SearchEngine) 43 self.assertIs(root._searchengine, engine) 44 self.assertIs(se.get(root), engine) 50 def test_get_line_col(self): 51 self.assertEqual(se.get_line_col('1.0'), (1, 0)) 52 self.assertEqual(se.get_line_col('1.11'), (1, 11)) 54 self.assertRaises(ValueError, se.get_line_col, ('1.0 lineend')) 55 self [all...] |
/third_party/python/Lib/distutils/command/ |
H A D | install_egg_info.py | 19 def initialize_options(self): 20 self.install_dir = None 22 def finalize_options(self): 23 self.set_undefined_options('install_lib',('install_dir','install_dir')) 25 to_filename(safe_name(self.distribution.get_name())), 26 to_filename(safe_version(self.distribution.get_version())), 29 self.target = os.path.join(self.install_dir, basename) 30 self.outputs = [self [all...] |
/third_party/python/Lib/ctypes/test/ |
H A D | test_unicode.py | 9 def test_wcslen(self): 14 self.assertEqual(wcslen("abc"), 3) 15 self.assertEqual(wcslen("ab\u2070"), 3) 16 self.assertRaises(ctypes.ArgumentError, wcslen, b"ab\xe4") 18 def test_buffers(self): 20 self.assertEqual(len(buf), 3+1) 23 self.assertEqual(buf[:], "ab\xe4\xf6\xfc\0") 24 self.assertEqual(buf[::], "ab\xe4\xf6\xfc\0") 25 self.assertEqual(buf[::-1], '\x00\xfc\xf6\xe4ba') 26 self [all...] |
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | android.py | 21 def __init__(self, timeout, output=None): 22 self.timeout = timeout 23 self.output = output 27 def __init__(self, status, output): 28 self.status = status 29 self.output = output 34 def __init__(self, device=None): 53 self.device = device_utils.DeviceUtils.HealthyDevices( 57 self.pushed = set() 59 def tear_down(self) [all...] |
/third_party/mesa3d/src/util/perf/ |
H A D | u_trace.py | 35 def __init__(self, name, args=[], toggle_name=None, 53 self.name = name 54 self.args = args 57 self.tp_struct = tp_struct 58 self.tp_print = tp_print 59 self.tp_perfetto = tp_perfetto 60 self.end_of_pipe = end_of_pipe 61 self.toggle_name = toggle_name 63 TRACEPOINTS[name] = self 67 def can_generate_print(self) [all...] |
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_meta_path.py | 17 def test_first_called(self): 22 self.assertIs(self.__import__(mod), first.modules[mod]) 24 def test_continuing(self): 29 first.find_spec = lambda self, fullname, path=None, parent=None: None 31 self.assertIs(self.__import__(mod_name), second.modules[mod_name]) 33 def test_empty(self): 43 self.assertIsNone(importlib._bootstrap._find_spec('nothing', 45 self [all...] |
/third_party/vk-gl-cts/scripts/log/ |
H A D | log_to_xml.py | 35 def __init__ (self, doc): 36 self.doc = doc 37 self.elementStack = [] 38 self.rootElements = [] 40 def getRootElements (self): 41 return self.rootElements 43 def pushElement (self, elem): 44 if len(self.elementStack) == 0: 45 self.rootElements.append(elem) 47 self [all...] |
/third_party/node/deps/v8/tools/testrunner/ |
H A D | standard_runner.py | 69 def __init__(self, *args, **kwargs): 70 super(StandardTestRunner, self).__init__(*args, **kwargs) 72 self.sancov_dir = None 73 self._variants = None 76 def framework_name(self): 79 def _get_default_suite_names(self): 82 def _add_parser_options(self, parser): 152 def _process_options(self, options): 154 self.sancov_dir = options.sancov_dir 155 if not os.path.exists(self [all...] |
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | message.c | 42 MessageHeader* self = (MessageHeader *)_self; in Message_mark() local 43 layout_mark(self->descriptor->layout, Message_data(self)); in Message_mark() 46 void Message_free(void* self) { in Message_free() argument 47 stringsink* unknown = ((MessageHeader *)self)->unknown_fields; in Message_free() 52 xfree(self); in Message_free() 81 static const upb_fielddef* which_oneof_field(MessageHeader* self, const upb_oneofdef* o) { in which_oneof_field() argument 86 slot_read_oneof_case(self->descriptor->layout, Message_data(self), o); in which_oneof_field() 146 static int extract_method_call(VALUE method_name, MessageHeader* self, in extract_method_call() argument 288 MessageHeader* self; Message_method_missing() local 381 MessageHeader* self; Message_respond_to_missing() local 408 MessageHeader* self; Message_initialize_kwarg() local 483 MessageHeader* self; Message_initialize() local 511 MessageHeader* self; Message_dup() local 528 MessageHeader* self; Message_deep_copy() local 553 MessageHeader* self; Message_eq() local 577 MessageHeader* self; Message_hash() local 592 MessageHeader* self; Message_inspect() local 612 MessageHeader* self; Message_to_h() local 675 MessageHeader* self; Message_index() local 694 MessageHeader* self; Message_index_set() local 771 enum_lookup(VALUE self, VALUE number) enum_lookup() argument 791 enum_resolve(VALUE self, VALUE sym) enum_resolve() argument 812 enum_descriptor(VALUE self) enum_descriptor() argument 850 Google_Protobuf_deep_copy(VALUE self, VALUE obj) Google_Protobuf_deep_copy() argument [all...] |
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | sequence.py | 18 def __init__(self, max_heavy): 25 super(SequenceProc, self).__init__() 27 self.max_heavy = max_heavy 28 self.n_heavy = 0 29 self.buffer = deque() 31 def next_test(self, test): 33 if self.n_heavy < self.max_heavy: 36 used = self._send_test(test) 38 self [all...] |
/test/testfwk/developer_test/aw/python/distributed/common/ |
H A D | manager.py | 28 def __init__(self, result_path): 29 self.is_hdc = True 30 self.phone_device_list = [] 31 self.ivi_device_list = [] 32 self.tv_device_list = [] 33 self.watch_device_list = [] 34 self.make_device_list(result_path) 53 def make_device_adapter(self, device_info_list, device_name): 54 device = DeviceShell(self.is_hdc, device_sn=device_info_list[0], 60 def make_device_list(self, result_pat [all...] |