Searched refs:child_name (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dmanifest_features.py26 def add_child(features, parent, child_name, value):
27 value['name'] = child_name
30 features[parent]['children'][child_name] = value
36 parent, child_name = name.split('.', 1)
37 add_child(features, parent, child_name, value)
H A Dpatched_file_system.py88 child_name = child_path[0:child_path.find('/') + 1]
90 child_name = child_path
91 result.append(child_name)
/external/chromium_org/third_party/protobuf/python/
H A Dstubout.py109 def Set(self, parent, child_name, new_child):
110 """Replace child_name's old definition with new_child, in the context
116 This method supports the case where child_name is a staticmethod or a
119 old_child = getattr(parent, child_name)
121 old_attribute = parent.__dict__.get(child_name)
125 self.cache.append((parent, old_child, child_name))
126 setattr(parent, child_name, new_child)
138 for (parent, old_child, child_name) in self.cache:
139 setattr(parent, child_name, old_child)
/external/protobuf/python/
H A Dstubout.py109 def Set(self, parent, child_name, new_child):
110 """Replace child_name's old definition with new_child, in the context
116 This method supports the case where child_name is a staticmethod or a
119 old_child = getattr(parent, child_name)
121 old_attribute = parent.__dict__.get(child_name)
125 self.cache.append((parent, old_child, child_name))
126 setattr(parent, child_name, new_child)
138 for (parent, old_child, child_name) in self.cache:
139 setattr(parent, child_name, old_child)
/external/chromium_org/extensions/common/
H A Dextension_api.cc86 const std::string& child_name) {
92 child_node = FindListItem(list_node, "name", child_name);
335 std::string child_name; local
336 std::string api_name = GetAPINameFromFullName(full_name, &child_name);
361 if (!child_name.empty())
362 result = GetSchemaChild(result, child_name);
380 std::string child_name; local
382 GetAPINameFromFullName(feature_name, &child_name));
388 std::string* child_name) {
396 if (child_name) {
84 GetSchemaChild( const base::DictionaryValue* schema_node, const std::string& child_name) argument
387 GetAPINameFromFullName(const std::string& full_name, std::string* child_name) argument
[all...]
H A Dextension_api.h102 // The |child_name| parameter can be be NULL if you don't need that part.
104 std::string* child_name);
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dpubsub_task.cc158 const buzz::QName& child_name(child_element->Name());
159 if (child_name == QN_PUBSUB_EVENT_ITEMS) {
185 const buzz::QName& child_name(child_element->Name());
186 if (child_name == QN_PUBSUB_ITEMS) {
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dresource_metadata_storage.h161 const std::string& child_name);
193 const std::string& child_name);
H A Dresource_metadata_storage.cc695 const std::string& child_name) {
698 DCHECK(!child_name.empty());
702 leveldb::Slice(GetChildEntryKey(parent_id, child_name)),
803 const std::string& child_name) {
805 DCHECK(!child_name.empty());
809 key.append(child_name);
694 GetChild(const std::string& parent_id, const std::string& child_name) argument
801 GetChildEntryKey( const std::string& parent_id, const std::string& child_name) argument
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/
H A Didl_definitions_builder.py238 child_name = child.GetName()
239 if child_name != '...':
240 raise ValueError('Unrecognized Argument node; expected "...", got "%s"' % child_name)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Ddot.rb153 child_name = 'n%i' % @node_to_number_map[ tree ]
155 :parent => parent_name, :child => child_name,
/external/chromium_org/chrome/common/extensions/api/
H A Dextension_api_unittest.cc671 std::string child_name; member in struct:extensions::__anon6952
687 std::string child_name; local
689 &child_name);
691 EXPECT_EQ(test_data[i].child_name, child_name) << test_data[i].input;
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dxcodeproj_file.py1130 child_name = child.Name()
1131 if child_name != None:
1132 hashables.append(child_name)
1150 child_name = child._properties.get('name', None)
1151 key = (child_name, child_path)
1154 'name ' + str(child_name) + ' and path ' + \
/external/chromium/net/disk_cache/
H A Dsparse_control.cc133 std::string child_name = GenerateChildName(name_, signature_, child_id); local
134 backend_->SyncDoomEntry(child_name);
/external/chromium_org/net/disk_cache/v3/
H A Dsparse_control_v3.cc134 std::string child_name = GenerateChildName(name_, signature_, child_id); local
135 backend_->SyncDoomEntry(child_name);
/external/chromium/chrome/browser/metrics/
H A Dmetrics_service.cc1581 const std::wstring& child_name = child_details->name();
1583 if (child_process_stats_buffer_.find(child_name) ==
1585 child_process_stats_buffer_[child_name] =
1589 ChildProcessStats& stats = child_process_stats_buffer_[child_name];
/external/chromium_org/chrome/browser/metrics/
H A Dmetrics_service.cc1881 const base::string16& child_name = data.name; local
1882 if (!ContainsKey(child_process_stats_buffer_, child_name)) {
1883 child_process_stats_buffer_[child_name] =
1886 return child_process_stats_buffer_[child_name];
/external/chromium/chrome/browser/sync/syncable/
H A Dsyncable_unittest.cc993 std::string child_name = "child"; local
1004 MutableEntry child(&wt, CREATE, parent_folder.Get(ID), child_name);
1010 EXPECT_EQ(0, CountEntriesWithName(&wt, wt.root_id(), child_name));
1012 EXPECT_EQ(1, CountEntriesWithName(&wt, parent_folder.Get(ID), child_name));
1013 EXPECT_EQ(0, CountEntriesWithName(&wt, parent_folder2.Get(ID), child_name));
1016 EXPECT_EQ(0, CountEntriesWithName(&wt, parent_folder.Get(ID), child_name));
1017 EXPECT_EQ(1, CountEntriesWithName(&wt, parent_folder2.Get(ID), child_name));
/external/chromium_org/sync/syncable/
H A Dsyncable_unittest.cc1192 std::string child_name = "child"; local
1203 MutableEntry child(&wt, CREATE, BOOKMARKS, parent_folder.GetId(), child_name);
1209 EXPECT_EQ(0, CountEntriesWithName(&wt, wt.root_id(), child_name));
1211 EXPECT_EQ(1, CountEntriesWithName(&wt, parent_folder.GetId(), child_name));
1212 EXPECT_EQ(0, CountEntriesWithName(&wt, parent_folder2.GetId(), child_name));
1215 EXPECT_EQ(0, CountEntriesWithName(&wt, parent_folder.GetId(), child_name));
1216 EXPECT_EQ(1, CountEntriesWithName(&wt, parent_folder2.GetId(), child_name));
/external/chromium_org/third_party/pexpect/
H A Dpexpect.py649 child_name = os.ttyname(tty_fd)
675 fd = os.open(child_name, os.O_RDWR)
677 raise ExceptionPexpect("Could not open child pty, " + child_name)
/external/chromium_org/net/disk_cache/
H A Dsparse_control.cc134 std::string child_name = GenerateChildName(name_, signature_, child_id); local
135 backend_->SyncDoomEntry(child_name);
/external/chromium_org/webkit/browser/fileapi/
H A Dsandbox_directory_database.cc97 const base::FilePath::StringType& child_name) {
99 name = fileapi::FilePathToString(base::FilePath(child_name));
95 GetChildLookupKey( fileapi::SandboxDirectoryDatabase::FileId parent_id, const base::FilePath::StringType& child_name) argument
/external/chromium_org/sync/engine/
H A Dsyncer_unittest.cc1398 string child_name = "B"; local
1425 &wtrans, CREATE, BOOKMARKS, parent2_id, child_name);
1467 string child_name = "B"; local
1496 &wtrans, CREATE, BOOKMARKS, parent2_local_id, child_name);
/external/chromium/chrome/browser/sync/engine/
H A Dsyncer_unittest.cc1026 string child_name = "B"; local
1051 MutableEntry child(&wtrans, syncable::CREATE, parent2_id, child_name);
1097 string child_name = "B"; local
1126 MutableEntry child(&wtrans, syncable::CREATE, parent2_local_id, child_name);

Completed in 622 milliseconds