Searched refs:type_str (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
H A Dtypeannotation_test.py50 def _ParseType(self, type_str):
52 comment = self._ParseComment('/** @type {%s} **/' % type_str)
55 def assertProperReconstruction(self, type_str, matching_str=None):
62 type_str: The type string to parse.
67 parsed_type = self._ParseType(type_str)
69 self.assertListEqual(list(matching_str or type_str),
71 self.assertEquals(matching_str or type_str, repr(parsed_type))
74 self.assertEquals(type_str.replace('\n', ''), parsed_type.ToString())
77 def assertNullable(self, type_str, nullable=True):
78 parsed_type = self.assertProperReconstruction(type_str)
[all...]
/external/autotest/site_utils/
H A Djob_overhead.py33 type_str=DEFAULT_KEY, is_special_task=False):
41 @param type_str: The elastic search type string to be used when sending data
55 autotest_es.post(type_str=type_str, metadata=metadata)
79 autotest_es.post(type_str=SUITE_RUNTIME_KEY, metadata=metadata)
H A Dstable_version_utils.py79 autotest_es.post(type_str=_STABLE_VERSION_TYPE,
90 autotest_es.post(type_str=_STABLE_VERSION_TYPE,
H A Dhost_history_utils.py92 def find_most_recent_entry_before(t, type_str, hostname, fields):
96 @param type_str: _type in esdb, such as 'host_history' (string)
105 equality_constraints=[('_type', type_str),
141 t=t_start, type_str=_LOCK_HISTORY_TYPE, hostname=hostname,
147 t=t_start, type_str=_HOST_HISTORY_TYPE, hostname=hostname,
H A Dhost_label_utils.py117 autotest_es.post(use_http=True, type_str=_HOST_LABEL_TIME_INDEX_TYPE,
H A Dlxc.py248 type_str=CONTAINER_CREATE_METADB_TYPE,
757 type_str=CONTAINER_CREATE_RETRY_METADB_TYPE,
917 type_str=CONTAINER_CREATE_METADB_TYPE,
/external/dbus/dbus/
H A Ddbus-marshal-recursive.h47 const DBusString *type_str; /**< string containing signature of block */ member in struct:DBusTypeReader
74 DBusString *type_str; /**< where to write typecodes (or read type expectations) */ member in struct:DBusTypeWriter
75 int type_pos; /**< current pos in type_str */
84 int element_type_pos; /**< position of array element type in type_str */
101 const DBusString *type_str,
106 const DBusString *type_str,
141 DBusString *type_str,
150 DBusString *type_str,
155 const DBusString *type_str,
H A Ddbus-marshal-recursive.c147 const DBusString *type_str,
154 reader->type_str = type_str;
167 parent->type_str,
179 _dbus_assert (_dbus_string_get_byte (sub->type_str,
181 _dbus_string_get_byte (sub->type_str,
253 alignment = element_type_get_alignment (sub->type_str,
268 _dbus_type_to_string (_dbus_first_type_in_signature (sub->type_str,
288 sub->type_str = sub->value_str;
293 contained_alignment = _dbus_type_get_alignment (_dbus_first_type_in_signature (sub->type_str,
145 reader_init(DBusTypeReader *reader, int byte_order, const DBusString *type_str, int type_pos, const DBusString *value_str, int value_pos) argument
324 skip_one_complete_type(const DBusString *type_str, int *type_pos) argument
340 _dbus_type_signature_next(const char *type_str, int *type_pos) argument
424 find_len_of_complete_type(const DBusString *type_str, int type_pos) argument
732 _dbus_type_reader_init(DBusTypeReader *reader, int byte_order, const DBusString *type_str, int type_pos, const DBusString *value_str, int value_pos) argument
760 _dbus_type_reader_init_types_only(DBusTypeReader *reader, const DBusString *type_str, int type_pos) argument
1490 _dbus_type_writer_init(DBusTypeWriter *writer, int byte_order, DBusString *type_str, int type_pos, DBusString *value_str, int value_pos) argument
1543 _dbus_type_writer_add_types(DBusTypeWriter *writer, DBusString *type_str, int type_pos) argument
1581 _dbus_type_writer_init_values_only(DBusTypeWriter *writer, int byte_order, const DBusString *type_str, int type_pos, DBusString *value_str, int value_pos) argument
[all...]
H A Ddbus-marshal-header.h101 DBusString **type_str,
H A Ddbus-marshal-validate.h119 DBusValidity _dbus_validate_signature_with_reason (const DBusString *type_str,
H A Ddbus-message.c165 const DBusString *type_str; local
176 get_const_signature (&message->header, &type_str, &type_pos);
178 _dbus_marshal_byteswap (type_str, type_pos,
1990 const DBusString *type_str; local
1996 get_const_signature (&message->header, &type_str, &type_pos);
2003 type_str, type_pos,
2369 * @param real an iterator without a type_str
2381 if (real->u.writer.type_str != NULL)
2436 * signature string, and marks the iterator as not having a type_str
2440 * @param real an iterator without a type_str
3467 const DBusString *type_str; local
4027 const DBusString *type_str; local
4548 dbus_message_type_from_string(const char *type_str) argument
[all...]
H A Ddbus-marshal-validate.c39 * Verifies that the range of type_str from type_pos to type_end is a
45 * @param type_str the string
51 _dbus_validate_signature_with_reason (const DBusString *type_str, argument
75 _dbus_assert (type_str != NULL);
86 p = _dbus_string_get_const_data_len (type_str, type_pos, 0);
88 end = _dbus_string_get_const_data_len (type_str, type_pos + len, 0);
/external/toybox/toys/pending/
H A Dhost.c28 char *type_str;
80 if (!TT.type_str && (toys.optflags & FLAG_a)) TT.type_str = "255";
100 if (!TT.type_str) TT.type_str="12";
101 } else if (!TT.type_str) TT.type_str="1";
103 if (TT.type_str[0]-'0' < 10u) type = atoi(TT.type_str);
107 if (rrt[i].name && !strcasecmp(TT.type_str, rr
[all...]
/external/autotest/client/common_lib/cros/graphite/
H A Des_utils.py126 def _send_data_http(self, type_str, metadata):
129 @param type_str: sets the _type field in elasticsearch db.
133 self.es.index(index=self.index, doc_type=type_str, body=metadata)
140 def _send_data_udp(self, type_str, metadata):
143 @param type_str: sets the _type field in elasticsearch db.
149 {'index': {'_index': self.index, '_type': type_str}},
162 def post(self, type_str, metadata, log_time_recorded=True, **kwargs):
165 @param type_str: Sets the _type field in elasticsearch db.
181 type_str = metadata['_type']
187 self._send_data_http(type_str, metadat
[all...]
H A Dstats.py93 self.es.post(type_str=STATS_ES_TYPE, metadata=self.metadata,
111 self.es.post(type_str=STATS_ES_TYPE, metadata=self.metadata,
129 self.es.post(type_str=STATS_ES_TYPE, metadata=self.metadata,
152 self.es.post(type_str=STATS_ES_TYPE, metadata=self.metadata,
184 self.es.post(type_str=STATS_ES_TYPE, metadata=self.metadata,
/external/selinux/libsemanage/src/
H A Dfcontexts_local.c100 const char *type_str = semanage_fcontext_get_type_str(type); local
113 str, expr, type_str);
117 expr, type_str);
H A Dfcontexts_file.c23 static const char *type_str(int type) function
54 const char *print_str = type_str(type);
/external/icu/icu4c/source/i18n/
H A Dgender.cpp160 char type_str[256]; local
161 u_UCharsToChars(s, type_str, resLen + 1);
162 if (uprv_strcmp(type_str, gNeutralStr) == 0) {
165 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) {
168 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) {
/external/boringssl/src/crypto/asn1/
H A Da_mbstr.c69 static int type_str(unsigned long value, void *arg);
159 if(traverse_string(in, len, inform, type_str, &mask) < 0) {
306 static int type_str(unsigned long value, void *arg) function
/external/dbus/tools/
H A Ddbus-send.c242 const char *type_str = NULL; local
298 type_str = strchr (arg, '=') + 1;
319 if (type_str != NULL)
321 message_type = dbus_message_type_from_string (type_str);
326 type_str);
/external/autotest/scheduler/
H A Drdb_hosts.py213 def record_state(self, type_str, state, value):
216 @param type_str: sets the _type field in elasticsearch db.
227 '_type': type_str,
/external/libselinux/src/
H A Dlabel_file.h31 char *type_str; /* type string for diagnostic messages */ member in struct:spec
442 spec_arr[nspec].type_str = type;
/external/selinux/libselinux/src/
H A Dlabel_file.h28 char *type_str; /* type string for diagnostic messages */ member in struct:spec
430 spec_arr[nspec].type_str = type;
/external/selinux/libsepol/cil/src/
H A Dcil_internal.h500 char *type_str; member in struct:cil_roletype
524 char *type_str; member in struct:cil_typepermissive
690 char *type_str; member in struct:cil_context
/external/autotest/client/common_lib/hosts/
H A Dbase_classes.py196 def _construct_host_metadata(self, type_str):
197 """Returns dict of metadata with type_str, hostname, time_recorded.
199 @param type_str: String representing _type field in es db.
200 For example: type_str='reboot_total'.
205 '_type': type_str,

Completed in 704 milliseconds

12