OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AreaCodeMap
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/
area_code_map.h
39
class
AreaCodeMap
{
41
AreaCodeMap
();
42
~
AreaCodeMap
();
52
// Creates an
AreaCodeMap
initialized with area_codes. Note that the
69
DISALLOW_COPY_AND_ASSIGN(
AreaCodeMap
);
area_code_map.cc
29
AreaCodeMap
::
AreaCodeMap
()
33
AreaCodeMap
::~
AreaCodeMap
() {
36
void
AreaCodeMap
::ReadAreaCodeMap(const PrefixDescriptions* descriptions) {
42
const char*
AreaCodeMap
::Lookup(const PhoneNumber& number) const {
76
int
AreaCodeMap
::BinarySearch(int start, int end, int64 value) const {
phonenumber_offline_geocoder.h
34
class
AreaCodeMap
;
46
typedef map<string, const
AreaCodeMap
*> AreaCodeMaps;
113
const
AreaCodeMap
* GetPhonePrefixDescriptions(int prefix,
phonenumber_offline_geocoder.cc
84
const
AreaCodeMap
* PhoneNumberOfflineGeocoder::GetPhonePrefixDescriptions(
113
AreaCodeMap
* const m = new
AreaCodeMap
();
190
const
AreaCodeMap
* const descriptions = GetPhonePrefixDescriptions(
196
const
AreaCodeMap
* default_descriptions = GetPhonePrefixDescriptions(
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
AreaCodeMapTest.java
31
* Unittests for
AreaCodeMap
.java
36
private final
AreaCodeMap
areaCodeMapForUS = new
AreaCodeMap
();
37
private final
AreaCodeMap
areaCodeMapForIT = new
AreaCodeMap
();
86
new
AreaCodeMap
().getSmallerMapStorage(createDefaultStorageMapCandidate());
92
new
AreaCodeMap
().getSmallerMapStorage(createFlyweightStorageMapCandidate());
161
private static
AreaCodeMap
createNewAreaCodeMap(
AreaCodeMap
areaCodeMap
) throws IOException
[
all
...]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
PhoneNumberOfflineGeocoder.java
52
private Map<String,
AreaCodeMap
> availablePhonePrefixMaps = new HashMap<String,
AreaCodeMap
>();
74
private
AreaCodeMap
getPhonePrefixDescriptions(
92
AreaCodeMap
map = new
AreaCodeMap
();
278
AreaCodeMap
phonePrefixDescriptions =
285
AreaCodeMap
defaultMap = getPhonePrefixDescriptions(phonePrefix, "en", "", "");
AreaCodeMap.java
38
public class
AreaCodeMap
implements Externalizable {
40
private static final Logger LOGGER = Logger.getLogger(
AreaCodeMap
.class.getName());
50
* Creates an empty {@link
AreaCodeMap
}. The default constructor is necessary for implementing
54
public
AreaCodeMap
() {}
61
SortedMap<Integer, String>
areaCodeMap
) throws IOException {
62
mapStorage.readFromSortedMap(
areaCodeMap
);
86
AreaCodeMapStorageStrategy getSmallerMapStorage(SortedMap<Integer, String>
areaCodeMap
) {
89
int sizeOfFlyweightMapStorage = getSizeOfAreaCodeMapStorage(flyweightMapStorage,
areaCodeMap
);
92
int sizeOfDefaultMapStorage = getSizeOfAreaCodeMapStorage(defaultMapStorage,
areaCodeMap
);
103
* Creates an {@link
AreaCodeMap
} initialized with {@code sortedAreaCodeMap}. Note that th
[
all
...]
Completed in 66 milliseconds