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

1234

/external/chromium_org/media/filters/
H A Dh264_bitstream_buffer_unittest.cc32 uint64 got = 0; local
39 got |= (*ptr & 0xff);
41 got <<= (num_bits > 8 ? 8 : num_bits);
47 got |= temp;
49 EXPECT_EQ(got, expected) << std::hex << "0x" << got << " vs 0x" << expected;
/external/deqp/modules/egl/
H A DteglApiCase.hpp49 void expectBoolean (EGLBoolean expected, EGLBoolean got);
51 void expectNoContext (EGLContext got);
52 void expectNoSurface (EGLSurface got);
53 void expectNoDisplay (EGLDisplay got);
54 void expectNull (const void* got);
56 inline void expectTrue (EGLBoolean got) { expectBoolean(EGL_TRUE, got); } argument
57 inline void expectFalse (EGLBoolean got) { expectBoolean(EGL_FALSE, got); } argument
H A DteglApiCase.cpp69 void ApiCase::expectBoolean (EGLBoolean expected, EGLBoolean got) argument
71 if (expected != got)
79 void ApiCase::expectNoContext (EGLContext got) argument
81 if (got != EGL_NO_CONTEXT)
86 eglDestroyContext(getDisplay(), got); local
90 void ApiCase::expectNoSurface (EGLSurface got) argument
92 if (got != EGL_NO_CONTEXT)
97 eglDestroySurface(getDisplay(), got); local
101 void ApiCase::expectNoDisplay (EGLDisplay got) argument
103 if (got !
111 expectNull(const void* got) argument
[all...]
/external/e2fsprogs/contrib/
H A Dmake-sparse.c25 int got, total = 0; local
29 got = read(fd, buf, count);
30 if (got == -1) {
35 if (got == 0) {
41 buf += got;
42 total += got;
43 count -= got;
50 int fd, got, i; local
64 got = full_read(0, buf, sizeof(buf));
65 if (got
[all...]
/external/ltrace/
H A Ddebug.c63 size_t got = umovebytes(proc, addr, buf, length); local
64 if (got == (size_t)-1)
66 return xwritedump((long *)buf, addr, got / sizeof(long));
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dcentral_freelist.cc118 int got = 0; local
121 got++;
123 ASSERT(got + span->refcount ==
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dcentral_freelist.cc118 int got = 0; local
121 got++;
123 ASSERT(got + span->refcount ==
/external/chromium_org/third_party/zlib/
H A Dgzwrite.c63 int ret, got; local
79 if (have && ((got = write(state->fd, state->next, have)) < 0 ||
80 (unsigned)got != have)) {
H A Dgzread.c312 if (state->have) /* got some data from gz_head() */
367 unsigned got, n; local
400 got = 0;
444 got += n;
449 return (int)got;
576 if (buf == str) /* got bupkus */
578 break; /* got something -- return it */
/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/qemu/distrib/zlib-1.2.8/
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)) {
H A Dgzread.c54 unsigned got; local
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
293 unsigned got, n; local
327 got = 0;
373 got += n;
378 return (int)got;
/external/zlib/src/
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)) {
H A Dgzread.c54 unsigned got; local
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
293 unsigned got, n; local
327 got = 0;
373 got += n;
378 return (int)got;
/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/
H A Dfault_pm_nameservice_test.cc45 size_t got; local
55 for (got = 0; got < nbytes; got += copied) {
56 copied = read(d, bytes.get() + got, nbytes - got);
62 printf("read(%d, ..., %u) -> %d\n", d, nbytes - got, copied);
66 for (size_t ix = 0; ix < got; ++ix) {
142 sb->Printf("got manifest connection %d\n", manifest_conn);
/external/chromium_org/third_party/sqlite/src/tool/
H A Dshowjournal.c30 int got; local
34 got = fread(pBuf, 1, N, db);
35 if( got<0 ){
38 }else if( got<N ){
39 fprintf(stderr, "Short read: got only %d of %d bytes from %d\n",
40 got, N, iOfst);
41 memset(&pBuf[got], 0, N-got);
/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");
H A Des2fBufferObjectQueryTests.cpp48 void checkIntEquals (tcu::TestContext& testCtx, GLint got, GLint expected) argument
52 if (got != expected)
54 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage;
56 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
60 void checkPointerEquals (tcu::TestContext& testCtx, const void* got, const void* expected) argument
64 if (got != expected)
66 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage;
68 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invali
[all...]
H A Des2fRboStateQueryTests.cpp76 testCtx.getLog() << TestLog::Message << "// ERROR: Expected greater or equal to " << referenceSizes[ndx] << "; got " << state << TestLog::EndMessage;
78 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
83 void checkIntEquals (tcu::TestContext& testCtx, GLint got, GLint expected) argument
87 if (got != expected)
89 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage;
91 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
268 m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected greater or equal to 8; got " << state << TestLog::EndMessage;
270 m_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/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dgzread.c54 unsigned got; local
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
293 unsigned got, n; local
327 got = 0;
373 got += n;
378 return (int)got;
/external/zlib/src/examples/
H A Denough.c206 big_t got; /* value returned from count() */ local
221 got = num[index];
222 if (got)
223 return got; /* we have -- return the saved result */
240 got = count(syms - use, len + 1, (left - use) << 1);
241 sum += got;
242 if (got == (big_t)0 - 1 || sum < got) /* overflow */
462 big_t got; /* return value of count() */ local
536 got
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dnormconf.cpp480 * @param got value received
483 * @param return true if got == exp
487 const UnicodeString& got,
492 if (exp == got)
497 UnicodeString gotPretty(prettify(got));
485 assertEqual(const char *op, const UnicodeString& s, const UnicodeString& got, const UnicodeString& exp, const char *msg, int32_t field) argument
/external/chromium_org/third_party/sqlite/src/src/
H A Dtest_hexio.c104 int amt, got; local
129 got = fread(zBuf, 1, amt, in);
131 if( got<0 ){
132 got = 0;
134 sqlite3TestBinToHex(zBuf, got);
/external/deqp/modules/gles3/functional/
H A Des3fBufferObjectQueryTests.cpp48 void checkIntEquals (tcu::TestContext& testCtx, GLint got, GLint expected) argument
52 if (got != expected)
54 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage;
56 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invalid value");
60 void checkPointerEquals (tcu::TestContext& testCtx, const void* got, const void* expected) argument
64 if (got != expected)
66 testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected << "; got " << got << TestLog::EndMessage;
68 testCtx.setTestResult(QP_TEST_RESULT_FAIL, "got invali
[all...]

Completed in 569 milliseconds

1234