Home
last modified time | relevance | path

Searched refs:strstr (Results 1 - 25 of 599) sorted by relevance

12345678910>>...24

/third_party/skia/third_party/externals/angle2/src/common/
H A Dangleutils.cpp55 std::stringstream strstr; in ArrayString() local
56 strstr << "["; in ArrayString()
57 strstr << i; in ArrayString()
58 strstr << "]"; in ArrayString()
59 return strstr.str(); in ArrayString()
64 std::stringstream strstr; in ArrayIndexString() local
70 strstr << "["; in ArrayIndexString()
71 strstr << (*indicesIt); in ArrayIndexString()
72 strstr << "]"; in ArrayIndexString()
75 return strstr in ArrayIndexString()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
H A Dstring_strstr_test.cpp25 EXPECT_EQ(srcChar, strstr(srcChar, "")); in HWTEST_F()
27 EXPECT_EQ(srcChar, strstr(srcChar, "A")); in HWTEST_F()
28 EXPECT_EQ(srcChar + STR_SIZE_ONE, strstr(srcChar, "B")); in HWTEST_F()
29 EXPECT_EQ(srcChar + STR_SIZE_TWO, strstr(srcChar, "C")); in HWTEST_F()
31 EXPECT_EQ(srcChar + STR_SIZE_THREE, strstr(srcChar, "J")); in HWTEST_F()
32 EXPECT_EQ(srcChar + STR_SIZE_FOUR, strstr(srcChar, "K")); in HWTEST_F()
34 EXPECT_EQ(srcChar + STR_SIZE_THREE, strstr(srcChar, "JKL")); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/trace/
H A Dtrace_marker.c139 if (strstr(buffer, buf_begin) != NULL && strstr(buffer, buf_end) != NULL) { in trace_marker_0010()
190 if (strstr(buffer, buf_async_begin) != NULL && strstr(buffer, buf_async_end) != NULL) { in trace_marker_0020()
236 if (strstr(buffer, buf_count) != NULL) { in trace_marker_0030()
294 if (strstr(buffer_fir, buf_begin) != NULL && strstr(buffer_fir, buf_end) != NULL) { in trace_marker_0040()
332 if (strstr(buffer_sec, buf_begin) != NULL && strstr(buffer_sec, buf_end) != NULL) { in trace_marker_0040()
391 if (strstr(buffer_forkFi in trace_marker_0050()
[all...]
/third_party/libuv/test/
H A Dtest-dlerror.c38 ASSERT_NOT_NULL(strstr(msg, dlerror_no_error)); in TEST_IMPL()
47 if (NULL == strstr(msg, "Dynamic loading not supported")) in TEST_IMPL()
48 ASSERT_NOT_NULL(strstr(msg, path)); in TEST_IMPL()
50 ASSERT_NULL(strstr(msg, dlerror_no_error)); in TEST_IMPL()
57 if (NULL == strstr(msg, "Dynamic loading not supported")) in TEST_IMPL()
58 ASSERT_NOT_NULL(strstr(msg, path)); in TEST_IMPL()
60 ASSERT_NULL(strstr(msg, dlerror_no_error)); in TEST_IMPL()
H A Dtest-error.c53 ASSERT_NULL(strstr(uv_strerror(UV_EINVAL), "Success")); in TEST_IMPL()
57 ASSERT_NULL(strstr(uv_strerror_r(UV_EINVAL, buf, sizeof(buf)), "Success")); in TEST_IMPL()
58 ASSERT_NOT_NULL(strstr(uv_strerror_r(1337, buf, sizeof(buf)), "1337")); in TEST_IMPL()
59 ASSERT_NOT_NULL(strstr(uv_strerror_r(-1337, buf, sizeof(buf)), "-1337")); in TEST_IMPL()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DPreRotationPerf.cpp55 std::stringstream strstr; in story() local
57 strstr << RenderTestParams::story(); in story()
62 strstr << "_NoPreRotation"; in story()
65 strstr << "_PreRotate90"; in story()
68 strstr << "_PreRotate180"; in story()
71 strstr << "_PreRotate270"; in story()
75 return strstr.str(); in story()
H A DBufferSubData.cpp208 std::stringstream strstr; in story() local
210 strstr << RenderTestParams::story(); in story()
214 strstr << "_norm"; in story()
220 strstr << "_float"; in story()
223 strstr << "_int"; in story()
226 strstr << "_byte"; in story()
229 strstr << "_short"; in story()
232 strstr << "_uint"; in story()
235 strstr << "_ubyte"; in story()
238 strstr << "_ushor in story()
[all...]
H A DLinkProgramPerfTest.cpp54 std::stringstream strstr; variable
55 strstr << RenderTestParams::story();
59 strstr << "_compile_only";
63 strstr << "_compile_and_link";
68 strstr << "_single_thread";
72 strstr << "_multi_thread";
77 strstr << "_null";
80 return strstr.str();
H A DMapBufferRange.cpp219 std::stringstream strstr; in story() local
221 strstr << RenderTestParams::story(); in story()
225 strstr << "_norm"; in story()
231 strstr << "_float"; in story()
234 strstr << "_int"; in story()
237 strstr << "_byte"; in story()
240 strstr << "_short"; in story()
243 strstr << "_uint"; in story()
246 strstr << "_ubyte"; in story()
249 strstr << "_ushor in story()
[all...]
H A DBindingPerf.cpp66 std::stringstream strstr; in story() local
68 strstr << RenderTestParams::story(); in story()
72 strstr << "_vertexarray"; in story()
76 strstr << "_" << numObjects << "_objects"; in story()
81 strstr << "_allocated_every_iteration"; in story()
84 strstr << "_allocated_at_initialization"; in story()
87 strstr << "_err"; in story()
92 return strstr.str(); in story()
H A DUniformsPerf.cpp88 std::stringstream strstr; in story() local
90 strstr << RenderTestParams::story(); in story()
94 strstr << "_" << (numVertexUniforms + numFragmentUniforms) << "_vec4"; in story()
98 strstr << "_" << (numVertexUniforms + numFragmentUniforms) << "_mat3x3"; in story()
102 strstr << "_" << (numVertexUniforms + numFragmentUniforms) << "_mat3x4"; in story()
106 strstr << "_" << (numVertexUniforms + numFragmentUniforms) << "_mat4x4"; in story()
111 strstr << "_transpose"; in story()
116 strstr << "_multiprogram"; in story()
121 strstr << "_repeating"; in story()
124 return strstr in story()
261 std::stringstream strstr; GetUniformLocationName() local
[all...]
H A DTexturesPerf.cpp102 std::stringstream strstr; in story() local
104 strstr << RenderTestParams::story(); in story()
105 strstr << "_" << FrequencyToString(textureRebindFrequency) << "_rebind"; in story()
106 strstr << "_" << FrequencyToString(textureStateUpdateFrequency) << "_update"; in story()
110 strstr << "_webgl"; in story()
113 return strstr.str(); in story()
165 std::stringstream strstr; in GetUniformLocationName() local
166 strstr << (vertexShader ? "vs" : "fs") << "_u_" << idx; in GetUniformLocationName()
167 return strstr.str(); in GetUniformLocationName()
H A DDrawCallPerfParams.cpp35 std::stringstream strstr; in story() local
37 strstr << RenderTestParams::story(); in story()
39 return strstr.str(); in story()
/third_party/ffmpeg/libavutil/arm/
H A Dcpu.c100 if (strstr(buf, " edsp ")) in get_cpuinfo()
102 if (strstr(buf, " tls ")) in get_cpuinfo()
104 if (strstr(buf, " thumbee ")) in get_cpuinfo()
106 if (strstr(buf, " vfp ")) in get_cpuinfo()
108 if (strstr(buf, " vfpv3 ")) in get_cpuinfo()
110 if (strstr(buf, " neon ") || strstr(buf, " asimd ")) in get_cpuinfo()
112 if (strstr(buf, " fp ")) // Listed on 64 bit ARMv8 kernels in get_cpuinfo()
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_compare.c106 if (p = strstr(line1, "\n")) in main()
108 if (p = strstr(line2, "\n")) in main()
118 if (strstr(line3, "MONGO_")) { in main()
127 if (strstr(line3, "FSYS=")) { in main()
136 } else if (NULL == strstr(line3, " :")) { in main()
138 if (strstr(line3, "(time")) in main()
157 else if (strstr(line3, "Create")) in main()
171 if (p1 = strstr(line1, " :")) { in main()
175 if (p2 = strstr(line2, " :")) { in main()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DD3D11InputLayoutCacheTest.cpp37 std::stringstream strstr; in makeProgramWithAttribCount() local
39 strstr << "attribute vec2 position;" << std::endl; in makeProgramWithAttribCount()
42 strstr << "attribute float a" << attribIndex << ";" << std::endl; in makeProgramWithAttribCount()
44 strstr << "varying float v;" << std::endl in makeProgramWithAttribCount()
49 strstr << " v += a" << attribIndex << ";" << std::endl; in makeProgramWithAttribCount()
51 strstr << " gl_Position = vec4(position, 0.0, 1.0);" << std::endl << "}" << std::endl; in makeProgramWithAttribCount()
59 return CompileProgram(strstr.str().c_str(), kFS); in makeProgramWithAttribCount()
/third_party/libsnd/src/
H A Dnist.c134 if ((cptr = strstr (psf_header, "end_head"))) in nist_read_header()
139 if (strstr (psf_header, bad_header) == psf_header) in nist_read_header()
143 if (strstr (psf_header, "NIST_1A\n") != psf_header) in nist_read_header()
157 if ((cptr = strstr (psf_header, "sample_coding -s"))) in nist_read_header()
174 if ((cptr = strstr (psf_header, "channel_count -i ")) != NULL) in nist_read_header()
177 if ((cptr = strstr (psf_header, "sample_rate -i ")) != NULL) in nist_read_header()
180 if ((cptr = strstr (psf_header, "sample_count -i ")) != NULL) in nist_read_header()
185 if ((cptr = strstr (psf_header, "sample_n_bytes -i ")) != NULL) in nist_read_header()
192 if ((cptr = strstr (psf_header, "sample_byte_format -s")) in nist_read_header()
219 if ((cptr = strstr (psf_heade in nist_read_header()
[all...]
/third_party/skia/third_party/externals/angle2/util/
H A DEGLWindow.cpp174 if (strstr(extensionString, "EGL_ANGLE_experimental_present_path") == nullptr) in initializeDisplay()
328 strstr(extensionString, "EGL_ANGLE_feature_control") != nullptr; in initializeDisplay()
362 strstr(extensionString, "EGL_ANGLE_platform_angle")) in initializeDisplay()
420 bool hasPixelFormatFloat = strstr(displayExtensions, "EGL_EXT_pixel_format_float") != nullptr; in initializeSurface()
452 if (strstr(displayExtensions, "EGL_NV_post_sub_buffer") != nullptr) in initializeSurface()
459 strstr(displayExtensions, "EGL_ANGLE_robust_resource_initialization") != nullptr; in initializeSurface()
467 bool hasGLColorSpace = strstr(displayExtensions, "EGL_KHR_gl_colorspace") != nullptr; in initializeSurface()
481 strstr(displayExtensions, "EGL_ANGLE_create_surface_swap_interval") != nullptr; in initializeSurface()
524 bool hasKHRCreateContext = strstr(displayExtensions, "EGL_KHR_create_context") != nullptr; in createContext()
541 strstr(displayExtension in createContext()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
H A Damdgcn_glslc.c70 if (!strstr(client_extensions, "EGL_MESA_platform_gbm")) { in create_gl_core_context()
105 if (strstr(extension_string, egl_extension[i]) == NULL) { in create_gl_core_context()
192 if (strstr(argv[i], "-mcpu=") == argv[i]) { in main()
222 while (s = strstr(s, "\n;")) in main()
226 while (s && (s = strstr(s, "#shader "))) { in main()
232 s = strstr(s, "\n"); in main()
256 s = strstr(s, "\n"); in main()
264 s = strstr(s, "#shader"); in main()
/third_party/skia/src/gpu/gl/
H A DGrGLUtil.cpp234 if (const char* intelString = strstr(rendererString, "Intel")) { in get_renderer()
240 if (strstr(intelString, "Sandybridge")) { in get_renderer()
243 if (strstr(intelString, "Bay Trail")) { in get_renderer()
254 if (const char* intelGfxString = strstr(intelString, "Graphics")) { in get_renderer()
285 return strstr(intelString, "UHD") ? GrGLRenderer::kIntelCoffeeLake in get_renderer()
303 if (const char* amdString = strstr(rendererString, kRadeonStr)) { in get_renderer()
339 if (strstr(rendererString, "llvmpipe")) { in get_renderer()
342 if (strstr(rendererString, "virgl")) { in get_renderer()
563 if (strstr(rendererString, "Direct3D11")) { in get_angle_backend()
565 } else if (strstr(rendererStrin in get_angle_backend()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dtempnam.c33 if (!strstr(result, pte)) { in tempnam_0100()
66 if (!strstr(result, pte)) { in tempnam_0300()
84 if (!strstr(result, pte)) { in tempnam_0400()
102 if (!strstr(result, pte)) { in tempnam_0500()
/third_party/ffmpeg/libavcodec/
H A Djacosubdec.c113 if (strstr(directives, "VB")) valign = ALIGN_VB; in jacosub_to_ass()
114 else if (strstr(directives, "VM")) valign = ALIGN_VM; in jacosub_to_ass()
115 else if (strstr(directives, "VT")) valign = ALIGN_VT; in jacosub_to_ass()
116 if (strstr(directives, "JC")) halign = ALIGN_JC; in jacosub_to_ass()
117 else if (strstr(directives, "JL")) halign = ALIGN_JL; in jacosub_to_ass()
118 else if (strstr(directives, "JR")) halign = ALIGN_JR; in jacosub_to_ass()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DValidateVaryingLocations.cpp154 std::stringstream strstr = sh::InitializeStream<std::stringstream>(); in MarkVaryingLocations() local
155 strstr << "'" << varying->getName(); in MarkVaryingLocations()
158 strstr << "." << field->name(); in MarkVaryingLocations()
160 strstr << "' conflicting location with '" << conflict->second.symbol->getName(); in MarkVaryingLocations()
163 strstr << "." << conflict->second.field->name(); in MarkVaryingLocations()
165 strstr << "'"; in MarkVaryingLocations()
166 error(*varying, strstr.str().c_str(), diagnostics); in MarkVaryingLocations()
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtest_func64.c54 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func1()
127 if (strstr(path_name, pathcwd) == 0) { in test_func5()
146 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func7()
178 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func8()
259 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func9()
295 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func10()
330 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func11()
365 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func12()
398 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func13()
434 if ((p = strstr(path_nam in test_func14()
[all...]
H A Dtest_func.c55 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func1()
127 if (strstr(path_name, pathcwd) == 0) { in test_func5()
145 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func7()
176 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func8()
256 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func9()
291 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func10()
325 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func11()
359 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func12()
391 if ((p = strstr(path_name, NFTW)) != NULL) { in test_func13()
426 if ((p = strstr(path_nam in test_func14()
[all...]

Completed in 19 milliseconds

12345678910>>...24