/third_party/musl/libc-test/src/functionalext/hilog/ |
H A D | hilog_level.c | 55 int result = TestValidEnv(LOG_LEVEL_FATAL); in TestFatalLevel() local 56 if (result == INVALID_ENV) { in TestFatalLevel() 79 int result = TestValidEnv(LOG_LEVEL_ERROR); in TestErrorLevel() local 80 if (result == INVALID_ENV) { in TestErrorLevel() 103 int result = TestValidEnv(LOG_LEVEL_WARN); in TestWarnLevel() local 104 if (result == INVALID_ENV) { in TestWarnLevel() 127 int result = TestValidEnv(LOG_LEVEL_INFO); in TestInfoLevel() local 128 if (result == INVALID_ENV) { in TestInfoLevel() 151 int result = TestValidEnv(LOG_LEVEL_DEBUG); in TestDebugLevel() local 152 if (result in TestDebugLevel() 176 int result = TestValidEnv(ENABLE_LOG); main() local [all...] |
/third_party/mesa3d/src/gtest/include/ |
H A D | mesa-gtest-extras.h | 39 std::stringstream result; in array_equal_pred() local 47 result << "Expected " << count << " values to be equal but found " in array_equal_pred() 50 result << std::right << std::setfill('0'); in array_equal_pred() 54 result << a_expr << " values are:\n"; in array_equal_pred() 57 result << "\n [" << std::dec << std::setw(3) << i << "]"; in array_equal_pred() 58 result << " " in array_equal_pred() 62 result << "\n\n"; in array_equal_pred() 64 result << b_expr << " values are:\n"; in array_equal_pred() 67 result << "\n [" << std::dec << std::setw(3) << i << "]"; in array_equal_pred() 68 result << " " in array_equal_pred() [all...] |
/third_party/musl/libc-test/src/functionalext/symver/ |
H A D | dlsym.c | 50 const char *result = func(); in dlsym_no_symver_0100() local 51 symver_streq(result, dso_no_symver_symbol); in dlsym_no_symver_0100() 100 const char *result = dso_easy_symver(); in dlsym_easy_symver_0100() local 101 symver_streq(result, dso_easy_symver_symbol_old); in dlsym_easy_symver_0100() 131 const char *result = func(); in dlsym_easy_symver_0200() local 132 symver_streq(result, dso_easy_symver_symbol_stable); in dlsym_easy_symver_0200() 181 const char *result = dso_hard_symver_ld(); in dlsym_hard_symver_0100() local 182 symver_streq(result, dso_hard_symver_ld_symbol_old); in dlsym_hard_symver_0100() 212 const char *result = func(); in dlsym_hard_symver_0200() local 213 symver_streq(result, dso_hard_symver_if_symbol_stabl in dlsym_hard_symver_0200() 277 const char *result = func(); dlsym_time64_no_symver_0100() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
H A D | esextcTextureCubeMapArrayTex3DValidation.cpp | 67 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 82 bool result = true; in iterate() local 95 result = false; in iterate() 104 result = false; in iterate() 121 result = false; in iterate() 131 result = false; in iterate() 148 result = false; in iterate() 161 result = false; in iterate() 178 result = false; in iterate() 184 if (result) in iterate() 208 bool result = true; checkError() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | replace_invalid_opc_test.cpp | 261 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 263 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 326 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 328 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 380 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 382 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 407 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 409 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 493 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 495 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get<1>(result)); in TEST_F() 559 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( TEST_F() local [all...] |
/third_party/skia/src/core/ |
H A D | SkSafeMath.h | 30 size_t result = x + y; in add() local 31 fOK &= result >= x; in add() 32 return result; in add() 36 * Return a + b, unless this result is an overflow/underflow. In those cases, fOK will 74 uint64_t result = bx * by; in mul32() local 75 fOK &= result >> 32 == 0; in mul32() 76 return result; in mul32() 91 uint64_t result = 0; in mul64() local 92 result = this->add(lx_ly, (hx_ly << 32)); in mul64() 93 result in mul64() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | replace_invalid_opc_test.cpp | 261 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 263 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 326 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 328 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 380 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 382 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 407 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 409 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 493 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( in TEST_F() local 495 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get<1>(result)); in TEST_F() 559 auto result = SinglePassRunAndDisassemble<ReplaceInvalidOpcodePass>( TEST_F() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | quant.cpp | 100 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() argument 102 result.truncate(0); in toPattern() 103 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern() 106 return result.append((UChar)63); /*?*/ in toPattern() 108 return result.append((UChar)42); /***/ in toPattern() 112 return result.append((UChar)43); /*+*/ in toPattern() 114 result.append((UChar)123); /*{*/ in toPattern() 115 ICU_Utility::appendNumber(result, minCount); in toPattern() 116 result.append((UChar)44); /*,*/ in toPattern() 118 ICU_Utility::appendNumber(result, maxCoun in toPattern() [all...] |
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/ |
H A D | HelloOboeEngine.cpp | 49 auto result = mStream->getTimestamp(CLOCK_MONOTONIC); in getCurrentOutputLatencyMillis() 52 if (result == oboe::Result::OK) { in getCurrentOutputLatencyMillis() 53 oboe::FrameTimestamp playedFrame = result.value(); in getCurrentOutputLatencyMillis() 69 LOGE("Error calculating latency: %s", oboe::convertToText(result.error())); in getCurrentOutputLatencyMillis() 80 auto result = mStream->setBufferSizeInFrames( in setBufferSizeInBursts() local 82 if (result) { in setBufferSizeInBursts() 83 LOGD("Buffer size successfully changed to %d", result.value()); in setBufferSizeInBursts() 85 LOGW("Buffer size could not be changed, %d", result.error()); in setBufferSizeInBursts() 138 auto result = createPlaybackStream(); in start() local 139 if (result in start() [all...] |
/third_party/optimized-routines/string/aarch64/ |
H A D | strnlen.S | 18 #define result x0 define 62 lsr result, synd, 2 63 cmp cntin, result 64 csel result, cntin, result, ls 97 sub result, src, srcin 102 add result, result, synd, lsr 2 103 cmp cntin, result 104 csel result, cnti [all...] |
/third_party/elfutils/libdwfl/ |
H A D | dwfl_module_build_id.c | 70 int result = __libdwfl_find_elf_build_id (mod, elf, &build_id_bits, in __libdwfl_find_build_id() local 72 if (result <= 0) in __libdwfl_find_build_id() 73 return result; in __libdwfl_find_build_id() 91 int result = __libdwfl_find_build_id (mod, true, mod->main.elf); in dwfl_module_build_id() local 92 if (result <= 0) in dwfl_module_build_id() 94 mod->build_id_len = -1; /* Cache negative result. */ in dwfl_module_build_id() 95 return result; in dwfl_module_build_id() 116 int result = INTUSE(dwfl_module_build_id) (mod, bits, vaddr); in NEW_INTDEF() local 117 if (result > 0) in NEW_INTDEF() 118 *vaddr += (result in NEW_INTDEF() [all...] |
/third_party/gn/src/gn/ |
H A D | xml_element_writer.cc | 85 std::string result; in XmlEscape() local 89 result += " "; in XmlEscape() 92 result += " "; in XmlEscape() 95 result += "	"; in XmlEscape() 98 result += """; in XmlEscape() 101 result += "<"; in XmlEscape() 104 result += ">"; in XmlEscape() 107 result += "&"; in XmlEscape() 110 result += c; in XmlEscape() 113 return result; in XmlEscape() [all...] |
/third_party/node/test/node-api/test_general/ |
H A D | test_general.c | 13 napi_value result, major, minor, patch, release; in testGetNodeVersion() local 21 NODE_API_CALL(env, napi_create_array_with_length(env, 4, &result)); in testGetNodeVersion() 22 NODE_API_CALL(env, napi_set_element(env, result, 0, major)); in testGetNodeVersion() 23 NODE_API_CALL(env, napi_set_element(env, result, 1, minor)); in testGetNodeVersion() 24 NODE_API_CALL(env, napi_set_element(env, result, 2, patch)); in testGetNodeVersion() 25 NODE_API_CALL(env, napi_set_element(env, result, 3, release)); in testGetNodeVersion() 26 return result; in testGetNodeVersion() 31 napi_value result; in GetFilename() local 35 napi_create_string_utf8(env, filename, NAPI_AUTO_LENGTH, &result)); in GetFilename() 37 return result; in GetFilename() [all...] |
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | rerun.py | 8 from .result import RerunResult 24 def _result_for(self, test, subtest, result): 25 # First result 28 if not result.has_unexpected_output: 29 self._send_result(test, result) 35 results.append(result) 37 if not self.is_stopped and self._needs_rerun(test, result): 43 result = RerunResult.create(results) 45 self._send_result(test, result) 47 def _needs_rerun(self, test, result) [all...] |
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
H A D | llseek.c | 54 unsigned long ol, llse_loff_t * result, unsigned int origin) in _llseek() 61 unsigned long ol, llse_loff_t * result, unsigned int origin) in _llseek() 63 return syscall(__NR_llseek, fd, oh, ol, result, origin); in _llseek() 70 llse_loff_t result; in my_llseek() local 75 &result, origin); in my_llseek() 76 return (retval == -1 ? (llse_loff_t) retval : result); in my_llseek() 84 llse_loff_t result; in llse_llseek() local 88 result = my_llseek(fd, offset, origin); in llse_llseek() 89 if (!(result == -1 && errno == ENOSYS)) in llse_llseek() 90 return result; in llse_llseek() 53 _llseek(unsigned int fd, unsigned long oh, unsigned long ol, llse_loff_t * result, unsigned int origin) _llseek() argument 60 _llseek(unsigned int fd, unsigned long oh, unsigned long ol, llse_loff_t * result, unsigned int origin) _llseek() argument [all...] |
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
H A D | gdb-remote-util.cc | 58 std::vector<std::string> result; in StringSplit() local 61 if (nullptr == in) return result; in StringSplit() 65 result.push_back(string(in)); in StringSplit() 66 return result; in StringSplit() 84 result.push_back(string{start, len}); in StringSplit() 87 return result; in StringSplit() 91 std::vector<char> result(count * 2 + 1); in Mem2Hex() 92 for (size_t i = 0; i < count; i++) UInt8ToHex(*mem++, &result[i * 2]); in Mem2Hex() 93 result[count * 2] = '\0'; in Mem2Hex() 94 return result in Mem2Hex() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | chown.c | 33 int result = chown(ptr, 0, 0); in chown_0100() local 36 EXPECT_EQ("chown_0100", result, 0); in chown_0100() 56 int result = chown(ptr, 0, -1); in chown_0200() local 59 EXPECT_EQ("chown_0200", result, 0); in chown_0200() 78 int result = chown(ptr, -1, 0); in chown_0300() local 81 EXPECT_EQ("chown_0300", result, 0); in chown_0300() 96 int result = chown("/data/test.txt", 0, 0); in chown_0400() local 97 EXPECT_EQ("chown_0400", result, -1); in chown_0400() 107 int result = chown(NULL, 0, 0); in chown_0500() local 108 EXPECT_EQ("chown_0500", result, in chown_0500() [all...] |
H A D | fchown.c | 37 int result = fchown(fd, 0, 0); in fchown_0100() local 39 EXPECT_EQ("fchown_0100", result, COUNT_ZERO); in fchown_0100() 54 int result = fchown(fd, 0, -1); in fchown_0200() local 56 EXPECT_EQ("fchown_0200", result, COUNT_ZERO); in fchown_0200() 71 int result = fchown(fd, -1, 0); in fchown_0300() local 73 EXPECT_EQ("fchown_0300", result, COUNT_ZERO); in fchown_0300() 89 int result = fchown(fd, 0, 0); in fchown_0400() local 90 EXPECT_EQ("fchown_0400", result, COUNT_NEFATIVE); in fchown_0400() 102 int result = fchown(-1, 0, 0); in fchown_0500() local 103 EXPECT_EQ("fchown_0500", result, COUNT_NEFATIV in fchown_0500() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/ |
H A D | GlyphRenumberer.java | 84 WritableFontData result = WritableFontData.createWritableFontData(glyph.length()); in renumberCompositeGlyph() 85 glyph.copyTo(result); in renumberCompositeGlyph() 94 result.writeUShort(index + Offset.compositeGlyphIndex.offset, newGlyphIndex); in renumberCompositeGlyph() 97 return result; in renumberCompositeGlyph() 104 int result = 6; in compositeReferenceSize() 106 result += 2; in compositeReferenceSize() 109 result += 2; in compositeReferenceSize() 111 result += 4; in compositeReferenceSize() 113 result += 8; in compositeReferenceSize() 115 return result; in compositeReferenceSize() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | uniform_buffer_element_descriptor.cpp | 25 protobufs::UniformBufferElementDescriptor result; in MakeUniformBufferElementDescriptor() local 26 result.set_descriptor_set(descriptor_set); in MakeUniformBufferElementDescriptor() 27 result.set_binding(binding); in MakeUniformBufferElementDescriptor() 29 result.add_index(index); in MakeUniformBufferElementDescriptor() 31 return result; in MakeUniformBufferElementDescriptor() 48 opt::Instruction* result = nullptr; in FindUniformVariable() local 103 if (result) { in FindUniformVariable() 108 result = &inst; in FindUniformVariable() 113 assert(result == nullptr || check_unique); in FindUniformVariable() 114 return result; in FindUniformVariable() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | uniform_buffer_element_descriptor.cpp | 25 protobufs::UniformBufferElementDescriptor result; in MakeUniformBufferElementDescriptor() local 26 result.set_descriptor_set(descriptor_set); in MakeUniformBufferElementDescriptor() 27 result.set_binding(binding); in MakeUniformBufferElementDescriptor() 29 result.add_index(index); in MakeUniformBufferElementDescriptor() 31 return result; in MakeUniformBufferElementDescriptor() 48 opt::Instruction* result = nullptr; in FindUniformVariable() local 103 if (result) { in FindUniformVariable() 108 result = &inst; in FindUniformVariable() 113 assert(result == nullptr || check_unique); in FindUniformVariable() 114 return result; in FindUniformVariable() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/ |
H A D | stacktrace.cc | 69 ABSL_ATTRIBUTE_ALWAYS_INLINE inline int Unwind(void** result, int* sizes, in Unwind() argument 78 int size = (*f)(result, sizes, max_depth, skip_count + 1, uc, in Unwind() 88 void** result, int* sizes, int max_depth, int skip_count) { in GetStackFrames() 89 return Unwind<true, false>(result, sizes, max_depth, skip_count, nullptr, in GetStackFrames() 94 GetStackFramesWithContext(void** result, int* sizes, int max_depth, in GetStackFramesWithContext() argument 97 return Unwind<true, true>(result, sizes, max_depth, skip_count, uc, in GetStackFramesWithContext() 102 void** result, int max_depth, int skip_count) { in GetStackTrace() 103 return Unwind<false, false>(result, nullptr, max_depth, skip_count, nullptr, in GetStackTrace() 108 GetStackTraceWithContext(void** result, int max_depth, int skip_count, in GetStackTraceWithContext() argument 110 return Unwind<false, true>(result, nullpt in GetStackTraceWithContext() 87 GetStackFrames( void** result, int* sizes, int max_depth, int skip_count) GetStackFrames() argument 101 GetStackTrace( void** result, int max_depth, int skip_count) GetStackTrace() argument [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | uniform_buffer_element_descriptor.cpp | 25 protobufs::UniformBufferElementDescriptor result; in MakeUniformBufferElementDescriptor() local 26 result.set_descriptor_set(descriptor_set); in MakeUniformBufferElementDescriptor() 27 result.set_binding(binding); in MakeUniformBufferElementDescriptor() 29 result.add_index(index); in MakeUniformBufferElementDescriptor() 31 return result; in MakeUniformBufferElementDescriptor() 48 opt::Instruction* result = nullptr; in FindUniformVariable() local 104 if (result) { in FindUniformVariable() 109 result = &inst; in FindUniformVariable() 114 assert(result == nullptr || check_unique); in FindUniformVariable() 115 return result; in FindUniformVariable() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_texture.c | 107 unsigned result = 0; in r300_get_swizzle_combined() local 132 result |= swizzle_bit[1] << swizzle_shift[i]; in r300_get_swizzle_combined() 135 result |= swizzle_bit[2] << swizzle_shift[i]; in r300_get_swizzle_combined() 138 result |= swizzle_bit[3] << swizzle_shift[i]; in r300_get_swizzle_combined() 141 result |= R300_TX_FORMAT_ZERO << swizzle_shift[i]; in r300_get_swizzle_combined() 144 result |= R300_TX_FORMAT_ONE << swizzle_shift[i]; in r300_get_swizzle_combined() 147 result |= swizzle_bit[0] << swizzle_shift[i]; in r300_get_swizzle_combined() 150 return result; in r300_get_swizzle_combined() 170 uint32_t result = 0; in r300_translate_texformat() local 204 result | in r300_translate_texformat() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLProtectedContentTest.cpp | 71 bool result = eglChooseConfig(mDisplay, attribs, config, 1, &count); in chooseConfig() local 72 EXPECT_EGL_TRUE(result); in chooseConfig() 74 return result; in chooseConfig() 79 bool result = false; in createContext() local 86 result = (*context != EGL_NO_CONTEXT); in createContext() 87 EXPECT_TRUE(result); in createContext() 88 return result; in createContext() 93 bool result = false; in createPbufferSurface() local 117 result = (*surface != EGL_NO_SURFACE); in createPbufferSurface() 118 EXPECT_TRUE(result); in createPbufferSurface() 127 bool result = false; createWindowSurface() local 144 bool result = false; createImage() local 157 bool result = false; createTexture() local 186 bool result = false; createTextureFromImage() local 202 bool result = false; createTextureFromPbuffer() local 270 bool result = false; createRenderbuffer() local 283 bool result = false; createRenderbufferFromImage() local 299 bool result = false; createAndroidClientBuffer() local 512 bool result = createTexture(isProtectedTexture, &texture); textureTest() local [all...] |