Home
last modified time | relevance | path

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

/hardware/interfaces/tetheroffload/aidl/default/
DOffload.cpp187 bool Offload::isValidIpv4Address(const std::string& repr) { in isValidIpv4Address() argument
188 return validateIpAddressOrPrefix(repr, AF_INET, false); in isValidIpv4Address()
191 bool Offload::isValidIpv4Prefix(const std::string& repr) { in isValidIpv4Prefix() argument
192 return validateIpAddressOrPrefix(repr, AF_INET, true); in isValidIpv4Prefix()
195 bool Offload::isValidIpv6Address(const std::string& repr) { in isValidIpv6Address() argument
196 return validateIpAddressOrPrefix(repr, AF_INET6, false); in isValidIpv6Address()
199 bool Offload::isValidIpv6Prefix(const std::string& repr) { in isValidIpv6Prefix() argument
200 return validateIpAddressOrPrefix(repr, AF_INET6, true); in isValidIpv6Prefix()
203 bool Offload::isValidIpAddress(const std::string& repr) { in isValidIpAddress() argument
204 return isValidIpv4Address(repr) || isValidIpv6Address(repr); in isValidIpAddress()
[all …]
DOffload.h55 bool isValidIpv4Address(const std::string& repr);
56 bool isValidIpv4Prefix(const std::string& repr);
57 bool isValidIpv6Address(const std::string& repr);
58 bool isValidIpv6Prefix(const std::string& repr);
59 bool isValidIpAddress(const std::string& repr);
60 bool isValidIpPrefix(const std::string& repr);
61 bool validateIpAddressOrPrefix(const std::string& repr, const int expectedFamily,
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_image_external.cpp114 if (status.repr) in load_png_with_wuffs()
155 if (status.repr) in load_png_with_wuffs()
162 if (status.repr) in load_png_with_wuffs()
Dwuffs-v0.3.c415 const char* repr; member
461 wuffs_base__make_status(const char* repr) { in wuffs_base__make_status() argument
463 z.repr = repr; in wuffs_base__make_status()
469 return (z->repr == NULL) || ((*z->repr != '$') && (*z->repr != '#')); in wuffs_base__status__is_complete()
474 return z->repr && (*z->repr == '#'); in wuffs_base__status__is_error()
479 return z->repr && (*z->repr != '$') && (*z->repr != '#'); in wuffs_base__status__is_note()
484 return z->repr == NULL; in wuffs_base__status__is_ok()
489 return z->repr && (*z->repr == '$'); in wuffs_base__status__is_suspension()
495 if (z->repr) { in wuffs_base__status__message()
496 if ((*z->repr == '$') || (*z->repr == '#') || (*z->repr == '@')) { in wuffs_base__status__message()
[all …]
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dcommand_printer.py62 print("Error while processing {}: {}".format(self.cmd_name(), repr(ex)), file=self.out)