Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 74) sorted by relevance

123

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dalgo.py72 def longest_common_prefix(strings): argument
86 assert(len(strings) > 1)
87 a = min(strings)
88 b = max(strings)
98 def longest_common_token_prefix(strings, delimiter='_'): argument
130 assert(len(strings) > 1)
131 a = min(strings).split(delimiter)
132 b = max(strings).split(delimiter)
/hardware/interfaces/tests/trie/1.0/default/
DTrie.cpp41 Return<void> Trie::addStrings(const TrieNode& trie, const hidl_vec<hidl_string>& strings, in addStrings() argument
43 LOG(INFO) << "SERVER(Trie) addStrings(trie, " << strings.size() << " strings)"; in addStrings()
48 for (const auto& str : strings) { in addStrings()
55 Return<void> Trie::containsStrings(const TrieNode& trie, const hidl_vec<hidl_string>& strings, in containsStrings() argument
57 LOG(INFO) << "SERVER(Trie) containsStrings(trie, " << strings.size() << " strings)"; in containsStrings()
59 std::vector<bool> ret(strings.size()); in containsStrings()
60 for (size_t i = 0; i != strings.size(); ++i) { in containsStrings()
61 ret[i] = containsString(&trie, strings[i]); in containsStrings()
DTrie.h42 virtual Return<void> addStrings(const TrieNode& trie, const hidl_vec<hidl_string>& strings,
44 virtual Return<void> containsStrings(const TrieNode& trie, const hidl_vec<hidl_string>& strings,
/hardware/google/gfxstream/host/gl/gl-host-common/
Dopengles.cpp329 const gfxstream::Renderer::HardwareStrings strings = sRenderer->getHardwareStrings(); in android_getOpenglesHardwareStrings() local
330 D("OpenGL Vendor=[%s]", strings.vendor.c_str()); in android_getOpenglesHardwareStrings()
331 D("OpenGL Renderer=[%s]", strings.renderer.c_str()); in android_getOpenglesHardwareStrings()
332 D("OpenGL Version=[%s]", strings.version.c_str()); in android_getOpenglesHardwareStrings()
336 if (strncmp(strings.vendor.c_str(), "Google", 6) == 0 && in android_getOpenglesHardwareStrings()
337 strncmp(strings.renderer.c_str(), "Android Emulator OpenGL ES Translator", 37) == 0) { in android_getOpenglesHardwareStrings()
338 *vendor = strdupBaseString(strings.vendor.c_str()); in android_getOpenglesHardwareStrings()
339 *renderer = strdupBaseString(strings.renderer.c_str()); in android_getOpenglesHardwareStrings()
340 *version = strdupBaseString(strings.version.c_str()); in android_getOpenglesHardwareStrings()
342 *vendor = strdup(strings.vendor.c_str()); in android_getOpenglesHardwareStrings()
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_dispatch_table_gen.py639 self.strings = {}
643 assert string not in self.strings
645 self.strings[string] = StringIntMapEntry(string, num)
649 sorted(self.strings.values(), key=lambda x: x.string)
656 self.hash_size = round_to_pow2(len(self.strings) * 1.25)
/hardware/google/aemu/base/
DStreamSerializing.cpp39 void saveStringArray(Stream* stream, const char* const* strings, uint32_t count) { in saveStringArray() argument
42 stream->putString(strings[i]); in saveStringArray()
DBUILD.bazel18 "@com_google_absl//absl/strings:str_format",
158 "@com_google_absl//absl/strings",
159 "@com_google_absl//absl/strings:str_format",
/hardware/google/gfxstream/guest/android-emu/aemu/base/files/
DStreamSerializing.cpp39 void saveStringArray(Stream* stream, const char* const* strings, uint32_t count) { in saveStringArray() argument
42 stream->putString(strings[i]); in saveStringArray()
DStreamSerializing.h113 void saveStringArray(Stream* stream, const char* const* strings, uint32_t count);
/hardware/qcom/sm8150/gps/utils/
DLogBuffer.cpp156 char **strings; in signalHandler() local
159 strings = backtrace_symbols(buffer, nptrs); in signalHandler()
160 if (strings != NULL) { in signalHandler()
165 string s(strings[i]); in signalHandler()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DShaderParser.cpp137 void ShaderParser::setSrc(GLsizei count, const GLchar* const* strings, const GLint* length){ in setSrc() argument
141 (length && length[i] >= 0) ? length[i] : strlen(strings[i]); in setSrc()
142 m_src.append(strings[i], strings[i] + strLen); in setSrc()
DShaderParser.h34 void setSrc(GLsizei count, const GLchar* const* strings,
DANGLEShaderParser.cpp346 static int detectShaderESSLVersion(const char* const* strings) { in detectShaderESSLVersion() argument
348 const char* pos = strings[0]; in detectShaderESSLVersion()
/hardware/qcom/sm7250/gps/utils/
DLogBuffer.cpp156 char **strings; in signalHandler() local
159 strings = backtrace_symbols(buffer, nptrs); in signalHandler()
160 if (strings != NULL) { in signalHandler()
165 string s(strings[i]); in signalHandler()
/hardware/interfaces/tests/trie/1.0/
DITrie.hal21 addStrings(TrieNode trie, vec<string> strings) generates (TrieNode trie);
22 containsStrings(TrieNode trie, vec<string> strings) generates (vec<bool> contains);
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DglUtils.cpp1004 void glUtilsPackStrings(char *ptr, char **strings, GLint *length, GLsizei count) in glUtilsPackStrings() argument
1010 if (strings[i]!=NULL) { in glUtilsPackStrings()
1012 l = strlen(strings[i]); in glUtilsPackStrings()
1013 strcat(p, strings[i]); in glUtilsPackStrings()
1016 strncat(p, strings[i], l); in glUtilsPackStrings()
1024 int glUtilsCalcShaderSourceLen( char **strings, GLint *length, GLsizei count) in glUtilsCalcShaderSourceLen() argument
1030 l = strings[i]!=NULL ? strlen(strings[i]) : 0; in glUtilsCalcShaderSourceLen()
DglUtils.h72 void glUtilsPackStrings(char *ptr, char **strings, GLint *length, GLsizei count);
73 int glUtilsCalcShaderSourceLen(char **strings, GLint *length, GLsizei count);
/hardware/google/gfxstream/guest/mesa/src/util/
Du_printf.h36 char *strings; member
Du_printf.c117 const char *format = fmt->strings; in u_printf()
149 fprintf(out, print_str, &fmt->strings[idx]); in u_printf()
/hardware/interfaces/radio/deprecated/1.0/
DIOemHook.hal49 * This request passes strings between framework and vendor code.
52 * @param data data passed as strings
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dgenvk.py64 def makeREstring(strings, default=None, strings_are_regex=False): argument
66 if strings or default is None:
68 strings = (re.escape(s) for s in strings)
69 return '^(' + '|'.join(strings) + ')$'
/hardware/interfaces/atrace/1.0/
DIAtraceDevice.hal33 * @param categories A vector of strings of categories (corresponding to
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Du_printf_test.cpp115 info.strings = const_cast<char*>(format.fmt.data()); in parse()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DAndroid.mk52 -Wno-writable-strings \
/hardware/google/aemu/base/include/aemu/base/files/
DStreamSerializing.h113 void saveStringArray(Stream* stream, const char* const* strings, uint32_t count);

123