/prebuilts/misc/windows/sdl2/test/ |
testautomation.c | 35 int result; local 104 result = SDLTest_RunSuites(testSuites, (const char *)userRunSeed, userExecKey, (const char *)filter, testIterations); 120 quit(result); 121 return(result);
|
testautomation_clipboard.c | 24 SDL_bool result; local 25 result = SDL_HasClipboardText(); 59 int result; local 60 result = SDL_SetClipboardText((const char *)text); 63 result == 0, 64 "Validate SDL_SetClipboardText result, expected 0, got %i", 65 result); 102 "Verify result from SDL_SetClipboardText(NULL), expected 0, got %i", 128 "Verify result from SDL_SetClipboardText(NULL), expected 0, got %i",
|
testautomation_stdlib.c | 20 size_t result; local 24 result = SDL_strlcpy(text, "foo", sizeof(text)); 28 SDLTest_AssertCheck(result == SDL_strlen(text), "Check result value, expected: %d, got: %d", SDL_strlen(text), result); 30 result = SDL_strlcpy(text, "foo", 2); 34 SDLTest_AssertCheck(result == 3, "Check result value, expected: 3, got: %d", result); 46 int result; local [all...] |
/sdk/avdlauncher/src/source/ |
avdlauncher.c | 72 int result = 0; local 89 result = 1; 99 if (!result) { 118 result = 1; 124 return result;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
EclipseLintIssueRegistry.java | 37 List<Issue> result = new ArrayList<Issue>(sIssues.size()); local 58 result.add(issue); 60 sFilteredIssues = result;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeOverlayTest.java | 44 Collection<Rectangle> result = IncludeOverlay.subtractRectangles(rectangle, holes); local 47 // are within one of the holes then they are not in the result list and vice versa 61 for (Rectangle r : result) { 69 fail("Wrong result at (" + x + "," + y + ") for rectangle=" + rectangle
|
/sdk/sdklauncher/src/source/ |
sdklauncher.c | 72 int result = 0; local 89 result = 1; 99 if (!result) { 138 result = 1; 144 return result;
|
/system/bt/embdrv/sbc/decoder/srce/ |
dequant.c | 87 result = d' - 2^31/1.38... =~ 2^31 * ((raw * 2.0 + 1.0) / (2^bits - 1) - 1) / 1.38... 89 result is therefore a scaled approximation to dequant. It remains only to 127 float result = (1 << (scale_factor+1)) * ((raw * 2.0f + 1.0f) / ((1 << bits) - 1.0f) - 1.0f); local 129 result /= SBC_DEQUANT_SCALING_FACTOR; 136 OI_ASSERT(fabs(result) < 32768 * 1.6); 138 return result; 147 OI_INT32 result; local 158 result = d - SBC_DEQUANT_LONG_SCALED_OFFSET; 169 OI_ASSERT(((result >= 0) && (integerized_float_result >= 0)) || 170 ((result <= 0) && (integerized_float_result <= 0))) 186 OI_INT32 result; local [all...] |
/system/bt/osi/src/ |
future.c | 33 void *result; member in struct:future_t 57 ret->result = value; 67 future->result = value; 78 void *result = future->result; local 80 return result;
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothGattClient.cpp | 47 bool result = RegisterClient( local 49 reply->writeInt32(result);
|
/system/bt/stack/avrc/ |
avrc_utils.c | 39 BOOLEAN result=FALSE; local 54 result=TRUE; 66 result=TRUE; 71 result=TRUE; 79 result=TRUE; 82 return result; 96 BOOLEAN result=FALSE; local 103 result=TRUE; 109 result=TRUE; 116 result=TRUE 142 BOOLEAN result=FALSE; local [all...] |
/system/connectivity/shill/ |
eap_listener.cc | 106 int result = sockets_->RecvFrom( local 110 if (result < 0) { 116 if (result != sizeof(payload)) {
|
http_url_unittest.cc | 30 result(in_result) {} 38 result(in_result), 44 bool result; member in struct:shill::StringAndResult 57 bool result = url_.ParseFromString(GetParam().url_string); local 58 EXPECT_EQ(GetParam().result, result); 59 if (GetParam().result && result) {
|
/system/connectivity/shill/net/ |
netlink_socket.cc | 94 ssize_t result; local 95 result = sockets_->RecvFrom( 102 if (result < 0) { 108 message->Resize(result); 109 result = sockets_->RecvFrom( 116 if (result < 0) { 124 ssize_t result = sockets_->Send(file_descriptor(), out_msg.GetConstData(), local 126 if (!result) { 130 if (result != static_cast<ssize_t>(out_msg.GetLength())) { 131 LOG(ERROR) << "Only sent " << result << " bytes out of [all...] |
/system/core/adb/ |
console.cpp | 137 int result; local 140 result = adb_read(fd, buf, sizeof(buf)); 149 } while (result > 0);
|
line_printer.cpp | 36 string result = str; local 37 if (result.size() + kMargin > width) { 39 result = result.substr(0, elide_size) 41 + result.substr(result.size() - elide_size, elide_size); 43 return result;
|
/system/core/base/ |
stringprintf.cpp | 35 int result = vsnprintf(space, sizeof(space), format, backup_ap); local 38 if (result < static_cast<int>(sizeof(space))) { 39 if (result >= 0) { 41 dst->append(space, result); 45 if (result < 0) { 53 int length = result + 1; 58 result = vsnprintf(buf, length, format, backup_ap); 61 if (result >= 0 && result < length) { 63 dst->append(buf, result); 71 std::string result; local [all...] |
strings.cpp | 35 std::vector<std::string> result; local 41 result.push_back(s.substr(base, found - base)); 45 return result; 49 std::string result; local 52 return result;
|
utf8.cpp | 71 const int result = WideCharToMultiByte(CP_UTF8, flags, utf16, size, local 74 if (result != chars_required) { 76 CHECK_LE(result, chars_required) << "WideCharToMultiByte wrote " << result 117 const int result = MultiByteToWideChar(CP_UTF8, flags, utf8, size, local 119 if (result != chars_required) { 121 CHECK_LE(result, chars_required) << "MultiByteToWideChar wrote " << result
|
/system/core/libcutils/ |
debugger.c | 33 int result = 0; local 35 result = -1; 39 result = -1; 42 return result; 89 int result = 0; local 94 result = -1; 99 return result; 114 int result = 0; local 117 result = -1; 128 return result; [all...] |
/system/core/libutils/tests/ |
Unicode_test.cpp | 123 const char16_t* result = strstr16(kSearchString, kSearchString); local 124 EXPECT_EQ(kSearchString, result) 129 const char16_t* result = strstr16(kSearchString, u"I am"); local 130 EXPECT_EQ(kSearchString, result) 136 const char16_t* result = strstr16(kSearchString, u"wind."); local 137 EXPECT_EQ(kSearchString+19, result); 141 const char16_t* result = strstr16(kSearchString, u"leaf"); local 142 EXPECT_EQ(kSearchString+7, result); 146 const char16_t* result = strstr16(kSearchString, u"soar"); local 147 EXPECT_EQ(nullptr, result); [all...] |
/system/core/metricsd/collectors/ |
disk_usage_collector.cc | 47 int result = statvfs(kDataPartitionPath, &buf); local 48 if (result != 0) {
|
/system/extras/perfprofd/quipper/base/ |
logging.cc | 65 LogMessage::LogMessage(const char* file, int line, std::string* result) 68 stream_ << "Check failed: " << *result; local 69 delete result; 73 std::string* result) 76 stream_ << "Check failed: " << *result; local 77 delete result;
|
/system/extras/perfprofd/tests/ |
perfprofdmockutils.cc | 52 std::string result; local 55 result += s; 58 return result;
|
/system/extras/simpleperf/ |
event_attr.cpp | 31 std::string result; local 35 if (!result.empty()) { 36 result += ", "; 38 result += p.second; 44 return result;
|