Home
last modified time | relevance | path

Searched refs:default_entry (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/urllib/
Drobotparser.py30 self.default_entry = None
74 if self.default_entry is None:
76 self.default_entry = entry
171 if self.default_entry:
172 return self.default_entry.allowance(url)
182 return self.default_entry.delay
190 return self.default_entry.req_rate
194 if self.default_entry is not None:
195 entries = entries + [self.default_entry]
/external/python/cpython2/Lib/
Drobotparser.py27 self.default_entry = None
72 if self.default_entry is None:
74 self.default_entry = entry
156 if self.default_entry:
157 return self.default_entry.allowance(url)
164 if self.default_entry is not None:
165 entries = entries + [self.default_entry]
/external/protobuf/src/google/protobuf/
Dmap_field.h248 MapField(const Message* default_entry);
250 MapField(Arena* arena, const Message* default_entry);
280 void SetDefaultEntryOnce(const EntryType* default_entry) const;
300 explicit DynamicMapField(const Message* default_entry);
301 DynamicMapField(const Message* default_entry, Arena* arena);
Dmap_field.cc150 DynamicMapField::DynamicMapField(const Message* default_entry) in DynamicMapField() argument
151 : default_entry_(default_entry) { in DynamicMapField()
154 DynamicMapField::DynamicMapField(const Message* default_entry, in DynamicMapField() argument
157 default_entry_(default_entry) { in DynamicMapField()
Dmap_field_inl.h188 const Message* default_entry) in MapField() argument
189 : default_entry_(down_cast<const EntryType*>(default_entry)) {} in MapField()
196 Arena* arena, const Message* default_entry) in MapField() argument
200 default_entry_(down_cast<const EntryType*>(default_entry)) {} in MapField()