Searched defs:got (Results 1 - 25 of 111) sorted by relevance

12345

/external/vulkan-validation-layers/layers/
H A Dvk_layer_data.h31 typename std::unordered_map<void *, DATA_T *>::const_iterator got; local
34 got = layer_data_map.find(data_key);
36 if (got == layer_data_map.end()) {
40 debug_data = got->second;
48 auto got = layer_data_map.find(data_key); local
49 assert(got != layer_data_map.end());
51 delete got->second;
52 layer_data_map.erase(got);
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Ddecorate_proc_maps.cc16 ssize_t got = read(in_fd, buf, kBufSize); local
17 if (got > 0) {
18 write(out_fd, buf, got);
19 } else if (got == 0) {
/external/deqp/modules/egl/
H A DteglApiCase.hpp55 void expectBoolean (eglw::EGLBoolean expected, eglw::EGLBoolean got);
57 void expectNoContext (eglw::EGLContext got);
58 void expectNoSurface (eglw::EGLSurface got);
59 void expectNoDisplay (eglw::EGLDisplay got);
60 void expectNull (const void* got);
62 inline void expectTrue (eglw::EGLBoolean got) { expectBoolean(EGL_TRUE, got); } argument
63 inline void expectFalse (eglw::EGLBoolean got) { expectBoolean(EGL_FALSE, got); } argument
H A DteglApiCase.cpp107 void ApiCase::expectBoolean (EGLBoolean expected, EGLBoolean got) argument
109 if (expected != got)
111 m_testCtx.getLog() << TestLog::Message << "// ERROR expected: " << eglu::getBooleanStr(expected) << ", Got: " << eglu::getBooleanStr(got) << TestLog::EndMessage;
117 void ApiCase::expectNoContext (EGLContext got) argument
119 if (got != EGL_NO_CONTEXT)
124 eglDestroyContext(getDisplay(), got); local
128 void ApiCase::expectNoSurface (EGLSurface got) argument
130 if (got != EGL_NO_SURFACE)
135 eglDestroySurface(getDisplay(), got); local
139 void ApiCase::expectNoDisplay (EGLDisplay got) argument
149 expectNull(const void* got) argument
[all...]
/external/e2fsprogs/contrib/
H A Dmake-sparse.c29 int got, total = 0; local
33 got = read(fd, buf, count);
34 if (got == -1) {
39 if (got == 0) {
45 buf += got;
46 total += got;
47 count -= got;
54 int fd, got, i; local
68 got = full_read(0, buf, sizeof(buf));
69 if (got
[all...]
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dnohugepage_test.cc38 ssize_t got = read (fd, p, size); local
39 if (got == 0)
41 else if (got > 0)
43 p += got;
44 res += got;
45 size -= got;
/external/tensorflow/tensorflow/compiler/xla/
H A Dutil_test.cc34 string got = Reindent(original, " "); local
37 EXPECT_EQ(want, got);
/external/vboot_reference/host/lib/
H A Dhost_misc.c63 char* got; local
70 got = fgets(dest, size, f);
72 return got;
/external/autotest/client/tests/linus_stress/
H A Dlinus_stress.c40 unsigned char got = *p++; local
41 if (got != c) {
46 differs = got;
52 printf("Expected %u, got %u\n", c, differs);
/external/compiler-rt/test/BlocksRuntime/
H A Dfail.c56 fprintf(stderr, "didn't open custom error file %s as 1, got %d\n", buffer, fd);
71 printf("wait got %d instead of %d\n", deadchild, child);
83 char got[512]; local
85 bool gotOutput = readfile(got, buffer);
88 errorfile, got);
92 char *where = strstr(got, desired);
/external/elfutils/tests/
H A Dbacktrace-dwarf.c156 pid_t got = waitpid (pid, &status, 0); local
158 assert (got == pid);
/external/expat/tests/
H A Dstructdata.c124 sprintf(buffer, "wrong number of entries: got %d, expected %d",
131 const StructDataEntry *got = &storage->entries[i]; local
134 if (xcstrcmp(got->str, want->str) != 0) {
136 fail("structure got bad string");
138 if (got->data0 != want->data0 ||
139 got->data1 != want->data1 ||
140 got->data2 != want->data2) {
143 "' expected (%d,%d,%d), got (%d,%d,%d)",
144 got->str,
146 got
[all...]
/external/ltp/utils/ffsb-6.0-rc2/
H A Drand.c49 int got = 0; local
50 got = read(randfd, state->mt, state->size);
51 if (got != state->size) {
56 for (i = got; i < state->size; i += 4) {
/external/python/cpython2/Modules/zlib/
H A Dgzwrite.c74 int ret, got; local
84 got = write(state->fd, strm->next_in, strm->avail_in);
85 if (got < 0 || (unsigned)got != strm->avail_in) {
101 if (have && ((got = write(state->fd, state->x.next, have)) < 0 ||
102 (unsigned)got != have)) {
/external/tensorflow/tensorflow/core/platform/hadoop/
H A Dhadoop_file_system_test.cc60 return errors::DataLoss("expected ", file_size, " got ", result.size(),
77 string got; local
78 got.resize(content.size());
81 reader->Read(0, content.size(), &result, gtl::string_as_array(&got)));
85 got.clear();
86 got.resize(4);
87 TF_EXPECT_OK(reader->Read(2, 4, &result, gtl::string_as_array(&got)));
213 string got; local
214 got.resize(content1.size());
217 reader->Read(0, content1.size(), &result, gtl::string_as_array(&got)));
[all...]
/external/tensorflow/tensorflow/core/platform/s3/
H A Ds3_file_system_test.cc61 return errors::DataLoss("expected ", file_size, " got ", result.size(),
79 string got; local
80 got.resize(content.size());
83 reader->Read(0, content.size(), &result, gtl::string_as_array(&got)));
87 got.clear();
88 got.resize(4);
89 TF_EXPECT_OK(reader->Read(2, 4, &result, gtl::string_as_array(&got)));
/external/toybox/toys/net/
H A Dftpget.c142 int p1, got = 0; local
144 sscanf(s, ",%u,%u)%n", &p1, &port, &got);
145 if (!got) continue;
/external/deqp/modules/gles2/functional/
H A Des2fFboStateQueryTests.cpp46 void checkIntEquals (tcu::TestContext& testCtx, GLint got, GLint expected) argument
50 if (got != expected)
52 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage;
54 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
/external/e2fsprogs/util/
H A Dcopy_sparse.c67 int got, total = 0; local
71 got = read(fd, buf, count);
72 if (got == -1) {
77 if (got == 0) {
83 buf += got;
84 total += got;
85 count -= got;
94 ssize_t got, got2; local
167 got = full_read(fd, buf, bs);
169 if (fd == 0 && got
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DIntlTestDecimalFormatAPIC.java536 public void verify(String message, String got, double expected) { argument
537 logln(message + got + " Expected : " + (long)expected);
540 if(!got.equals(expectedStr) ) {
541 errln("ERROR: Round() failed: " + message + got + " Expected : " + expectedStr);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
H A DUnicodeNormalizerConformanceTest.java183 * @param got value received
186 * @returns true if got == exp
188 private boolean assertEqual(String op, String s, String got, argument
190 if (exp.equals(got)) {
193 errln((" " + msg + ") " + op + "(" + s + ")=" + hex(got) +
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatAPIC.java533 public void verify(String message, String got, double expected) { argument
534 logln(message + got + " Expected : " + (long)expected);
537 if(!got.equals(expectedStr) ) {
538 errln("ERROR: Round() failed: " + message + got + " Expected : " + expectedStr);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DUnicodeNormalizerConformanceTest.java180 * @param got value received
183 * @returns true if got == exp
185 private boolean assertEqual(String op, String s, String got, argument
187 if (exp.equals(got)) {
190 errln((" " + msg + ") " + op + "(" + s + ")=" + hex(got) +
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
H A Dgenerator.pass.cpp77 std::vector<int> got; local
79 got.push_back(x);
80 assert(expect == got);
/external/linux-kselftest/tools/testing/selftests/powerpc/primitives/
H A Dload_unaligned_zeropad.c117 unsigned long got; local
123 got = load_unaligned_zeropad(p);
125 if (should != got) {
126 printf("offset %u load_unaligned_zeropad returned 0x%lx, should be 0x%lx\n", page_offset, got, should);

Completed in 842 milliseconds

12345