/external/chromium_org/tools/telemetry/telemetry/core/heap/ |
retaining_edge.py | 17 type_string: str, the type of the RetainingEdge. 22 def __init__(self, from_object_id, to_object_id, type_string, name_string): 32 type_string: str, the type of the RetainingEdge. 40 self.type_string = type_string 52 return 'RetainingEdge(' + self.type_string + ' ' + self.name_string + ')'
|
live_heap_object.py | 10 type_string: str, describes the type of the node. 21 def __init__(self, object_id, type_string, class_name): 26 type_string: str, the type of the node. 30 self.type_string = type_string 55 if self.type_string == 'object': 57 return prefix + self.type_string + ')'
|
chrome_js_heap_snapshot_parser.py | 101 if edge.type_string == 'property': 103 if edge.type_string == 'element': 147 type_string = self._node_types[int(type_ix)] 154 if ChromeJsHeapSnapshotParser._IsNodeTypeUninteresting(type_string): 160 def ConstructorName(type_string, node_name_ix): 161 if type_string == 'object': 163 return '(%s)' % type_string 165 ctor_name = ConstructorName(type_string, name_ix) 166 n = live_heap_object.LiveHeapObject(node_id, type_string, ctor_name) 167 if type_string == 'string' [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
file_change.cc | 29 const char* type_string = "UNKNOWN"; local 32 type_string = "FILE"; 35 type_string = "DIRECTORY"; 38 type_string = "UNKNOWN"; 41 return base::StringPrintf("%s:%s", change_string, type_string);
|
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/ |
glX_proto_recv.py | 203 t = param.type_string() 276 type_string = param.type_string() 281 print '%s %s const %s = (%s) (%s(pc + %s));' % (indent, type_string, param.name, type_string, cond, offset) 291 print '%s const %s %s = %s;' % (indent, type_string, param.name, location) 296 print '%s %s %s = %s%s;' % (indent, type_string, param.name, cond, location) 298 print '%s %s %s;' % (indent, type_string, param.name) 351 print ' %s = (%s) (pc + %s); break;' % (param.name, param.type_string(), o) 354 print ' %s = (%s) %s( (%s *) (pc + %s), %s ); break;' % (param.name, param.type_string(), swap_func, self.real_types[sub[0]], o, count_name [all...] |
typeexpr.py | 115 def __init__(self, type_string, extra_types = None): 118 if not type_string: 121 self.original_string = type_string 126 # Replace '*' with ' * ' in type_string. Then, split the string 128 tokens = string.split( string.replace( type_string, "*", " * " ) )
|
/external/mesa3d/src/mapi/glapi/gen/ |
glX_proto_recv.py | 203 t = param.type_string() 276 type_string = param.type_string() 281 print '%s %s const %s = (%s) (%s(pc + %s));' % (indent, type_string, param.name, type_string, cond, offset) 291 print '%s const %s %s = %s;' % (indent, type_string, param.name, location) 296 print '%s %s %s = %s%s;' % (indent, type_string, param.name, cond, location) 298 print '%s %s %s;' % (indent, type_string, param.name) 351 print ' %s = (%s) (pc + %s); break;' % (param.name, param.type_string(), o) 354 print ' %s = (%s) %s( (%s *) (pc + %s), %s ); break;' % (param.name, param.type_string(), swap_func, self.real_types[sub[0]], o, count_name [all...] |
typeexpr.py | 115 def __init__(self, type_string, extra_types = None): 118 if not type_string: 121 self.original_string = type_string 126 # Replace '*' with ' * ' in type_string. Then, split the string 128 tokens = string.split( string.replace( type_string, "*", " * " ) )
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
idl_definitions.py | 366 type_string = self.base_type 368 return type_string + '[]' 370 return 'sequence<%s>' % type_string 371 return type_string 374 def from_string(cls, type_string): 376 if type_string.endswith('[]'): 377 type_string = type_string[:-2] 378 sequence_match = re.match(sequence_re, type_string) 381 return cls(type_string, is_array=True [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
content_settings_handler.cc | 468 StringValue type_string( 471 type_string, exceptions); 495 StringValue type_string( 498 type_string, exceptions); 515 StringValue type_string(ContentSettingsTypeToGroupName(type)); 516 web_ui_->CallJavascriptFunction("ContentSettings.setExceptions", type_string, 541 StringValue type_string(ContentSettingsTypeToGroupName(type)); 543 type_string, otr_exceptions); 596 std::string type_string; local 597 CHECK(args->GetString(arg_i++, &type_string)); 654 std::string type_string; local [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_context_menu_api.cc | 89 std::string type_string; local 90 if (!properties.GetString(kTypeKey, &type_string)) 93 if (type_string == "normal") { 95 } else if (type_string == "checkbox") { 97 } else if (type_string == "radio") { 99 } else if (type_string == "separator") { 103 type_string);
|
/external/chromium_org/chromeos/network/ |
network_ui_data.cc | 91 std::string type_string; local 92 dict.GetString(kKeyCertificateType, &type_string); 94 StringToEnum(kClientCertTable, type_string, CLIENT_CERT_TYPE_NONE); 128 std::string type_string = EnumToString(kClientCertTable, certificate_type_); local 129 dict->SetString(kKeyCertificateType, type_string);
|
/external/chromium_org/webkit/browser/fileapi/ |
obfuscated_file_util.h | 80 // |type_string| must be ascii string. 81 virtual bool HasTypeDirectory(const std::string& type_string) const = 0; 184 // Returns the topmost origin directory if |type_string| is empty. 192 const std::string& type_string, 198 // Deletes the topmost origin directory if |type_string| is empty. 201 const std::string& type_string); 211 const std::string& type_string); 296 const std::string& type_string);
|
obfuscated_file_util.cc | 237 virtual bool HasTypeDirectory(const std::string& type_string) const OVERRIDE { 240 if (type_string.empty()) { 245 base_file_path_.Append(current_.path).AppendASCII(type_string); 847 const std::string& type_string, 853 if (type_string.empty()) 855 base::FilePath path = origin_dir.AppendASCII(type_string); 871 const std::string& type_string) { 874 origin, type_string, false, &error); 883 if (!type_string.empty()) 884 DestroyDirectoryDatabase(origin, type_string); 967 const std::string type_string = type_strings_to_prepopulate[i]; local [all...] |
/external/chromium_org/webkit/common/fileapi/ |
file_system_util.cc | 182 std::string type_string = GetFileSystemTypeString(type); local 183 DCHECK(!type_string.empty()); 184 return origin_identifier + ":" + type_string; 315 const std::string type_string, 318 if (type_string == "Temporary") { 322 if (type_string == "Persistent") { 326 if (type_string == "Isolated") { 330 if (type_string == "External") {
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
wallet_items.cc | 45 TypeFromString(const std::string& type_string) { 46 if (type_string == "VISA") 48 if (type_string == "MASTER_CARD") 50 if (type_string == "AMEX") 52 if (type_string == "DISCOVER") 54 if (type_string == "SOLO") 56 if (type_string == "MAESTRO") 58 if (type_string == "SWITCH") 128 std::string type_string; local 130 if (dictionary.GetString("type", &type_string)) { [all...] |
/external/chromium/chrome/browser/bookmarks/ |
bookmark_codec.cc | 130 if (checksum_value->GetType() != Value::TYPE_STRING) 231 std::string type_string; local 232 if (!value.GetString(kTypeKey, &type_string)) 235 if (type_string != kTypeURL && type_string != kTypeFolder) 238 if (type_string == kTypeURL) {
|
bookmark_html_writer.cc | 230 std::string title, date_added_string, type_string; local 233 !value.GetString(BookmarkCodec::kTypeKey, &type_string) || 234 (type_string != BookmarkCodec::kTypeURL && 235 type_string != BookmarkCodec::kTypeFolder)) { 240 if (type_string == BookmarkCodec::kTypeURL) {
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
content_settings_handler.cc | 1284 std::string type_string; local 1303 std::string type_string; local 1339 std::string type_string; local [all...] |
/external/chromium_org/components/policy/core/common/ |
schema.cc | 55 bool SchemaTypeToValueType(const std::string& type_string, 68 { schema::kString, base::Value::TYPE_STRING }, 71 if (kSchemaToValueTypeMap[i].schema_type == type_string) { 246 std::string type_string; local 248 if (!schema.GetString(schema::kType, &type_string) || 249 !SchemaTypeToValueType(type_string, &type)) { 297 std::string type_string; local 298 if (!schema.GetString(schema::kType, &type_string)) { 304 if (!SchemaTypeToValueType(type_string, &type)) { 305 *error = "Type not supported: " + type_string; [all...] |
/external/chromium/chrome/browser/ui/views/ |
select_file_dialog.cc | 388 std::string type_string; local 391 type_string = "folder"; 394 type_string = "open"; 397 type_string = "open_multiple"; 400 type_string = "save"; 451 type_string.c_str(),
|
/external/chromium_org/ppapi/tests/clang/ |
find_affected_interfaces.cc | 43 std::string type_string( 47 StringBoolMap::value_type(type_string, false));
|
/external/chromium_org/net/base/ |
mime_util.cc | 72 bool IsMimeType(const std::string& type_string) const; 632 bool MimeUtil::IsMimeType(const std::string& type_string) const { 635 if (!IsStringASCII(type_string)) 638 if (type_string == "*/*" || type_string == "*") 642 if (StartsWithASCII(type_string, legal_top_level_types[i], false) && 643 type_string.length() > strlen(legal_top_level_types[i])) { 650 size_t slash = type_string.find('/'); 652 slash == std::string::npos || slash == type_string.length() - 1) { 656 if (StartsWithASCII(type_string, "x-", false) [all...] |
mime_util.h | 58 // Returns true if the |type_string| is a correctly-formed mime type specifier. 61 NET_EXPORT bool IsMimeType(const std::string& type_string);
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_html_writer.cc | 247 std::string title, date_added_string, type_string; local 250 !value.GetString(BookmarkCodec::kTypeKey, &type_string) || 251 (type_string != BookmarkCodec::kTypeURL && 252 type_string != BookmarkCodec::kTypeFolder)) { 257 if (type_string == BookmarkCodec::kTypeURL) {
|