Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/drm/1.2/vts/functional/
Dvendor_modules.h63 inline bool endsWith(const std::string& str, const std::string& suffix) const { in endsWith() argument
64 if (suffix.size() > str.size()) return false; in endsWith()
65 return std::equal(suffix.rbegin(), suffix.rend(), str.rbegin()); in endsWith()
/hardware/interfaces/drm/1.0/vts/functional/
Dvendor_modules.h63 inline bool endsWith(const std::string& str, const std::string& suffix) const { in endsWith() argument
64 if (suffix.size() > str.size()) return false; in endsWith()
65 return std::equal(suffix.rbegin(), suffix.rend(), str.rbegin()); in endsWith()
/hardware/interfaces/prebuilt_hashes/
Ddump_hals_for_release.py48 def strip_end(s, suffix): argument
49 if s.endswith(suffix):
50 return strip_end(s[0:-len(suffix)], suffix)
/hardware/interfaces/boot/1.0/default/
DBootControl.cpp91 const char *suffix = mModule->getSuffix(mModule, slot); in getSuffix() local
92 if (suffix) { in getSuffix()
93 ans = suffix; in getSuffix()
/hardware/interfaces/boot/1.0/
DIBootControl.hal22 * are sets of partitions whose names differ only by a given suffix.
24 * suffix, which is appended to the base name for any particular partition
48 * getNumberSlots() - 1. The value returned here must match the suffix passed
95 * getSuffix() returns the string suffix used by partitions that correspond to
97 * suffix of the currently active slot either through a kernel command line
/hardware/interfaces/usb/1.1/
Dtypes.hal21 // NOTE: suffix '_1_1' is for legacy ABI compatibility. It cannot be
42 // NOTE: suffix '_1_1' is for legacy ABI compatibility. It cannot be
/hardware/interfaces/boot/1.0/vts/functional/
DVtsHalBootV1_0TargetTest.cpp175 auto cb = [&](hidl_string suffix) { suffixStr = suffix.c_str(); }; in TEST_F() argument
/hardware/interfaces/vibrator/1.1/
Dtypes.hal21 // NOTE: suffix '_1_1' is for legacy ABI compatibility. It cannot be
/hardware/ti/am57x/bootctrl/
Dboot_control.cc83 static int SlotSuffixToIndex(const char* suffix) { in SlotSuffixToIndex() argument
85 if (!strcmp(kSlotSuffixes[slot], suffix)) return slot; in SlotSuffixToIndex()
/hardware/interfaces/vibrator/1.2/
Dtypes.hal21 // Note that while the previous type had a version suffix, this type does not. This is because the
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c69 const char *suffix; member
83 while (p->suffix) { in is_volume()
84 size_t slen = strnlen(p->suffix, 44); in is_volume()
88 if (strncmp(name + l, p->suffix, slen) == 0 && in is_volume()
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp65 bool hasSuffix(const std::string& s, const char* suffix) { in hasSuffix() argument
66 size_t suffixLen = strlen(suffix); in hasSuffix()
68 s.compare(s.size() - suffixLen, suffixLen, suffix) == 0; in hasSuffix()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c1351 const char * suffix = backend_table[snd_device]; in platform_add_backend_name() local
1353 if (suffix != NULL) { in platform_add_backend_name()
1355 strlcat(mixer_path, suffix, MIXER_PATH_MAX_LENGTH); in platform_add_backend_name()
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantStaNetwork.hal520 * Set EAP Domain suffix match for this network.
907 * Get EAP Domain suffix match set for this network.
/hardware/qcom/audio/hal/msm8974/
Dplatform.c2104 const char * suffix = backend_tag_table[snd_device]; in platform_add_backend_name() local
2106 if (suffix != NULL) { in platform_add_backend_name()
2108 strcat(mixer_path, suffix); in platform_add_backend_name()