/external/valgrind/none/tests/ |
faultstatus.c | 100 int ok = 1; local 102 ok = ok && testsig(sig, cur_test->sig); 103 ok = ok && testcode(si->si_code, cur_test->code); 105 ok = ok && testaddr(si->si_addr, cur_test->addr); 107 if (ok) 110 siglongjmp(escape, ok + 1);
|
/external/valgrind/none/tests/x86/ |
faultstatus.c | 63 int ok = 1; local 65 ok = ok && testsig(sig, cur_test->sig); 66 ok = ok && testcode(si->si_code, cur_test->code); 68 ok = ok && testaddr(si->si_addr, cur_test->addr); 70 if (ok) 73 siglongjmp(escape, ok + 1);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
EncodeDecodeTest.cc | 105 int32_t ok = _acm->Add10MsData(_audioFrame); local 106 EXPECT_GE(ok, 0); 107 return ok >= 0 ? true : false; 212 int32_t ok =_acm->PlayoutData10Ms(_frequency, &audioFrame); local 213 EXPECT_EQ(0, ok); 214 if (ok < 0){
|
/frameworks/av/media/libaudioprocessing/ |
AudioResampler.cpp | 156 int ok = pthread_once(&once_control, init_routine); local 157 if (ok != 0) { 158 ALOGE("%s pthread_once failed: %d", __func__, ok);
|
/frameworks/av/media/libmedia/ |
Metadata.cpp | 83 bool ok = true; local 86 ok = ok && mData->writeInt32(-1) == OK; 87 ok = ok && mData->writeInt32(kMetaMarker) == OK; 88 return ok; 98 bool ok = true; local 101 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK 118 bool ok = true; local [all...] |
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.cpp | 346 FLAC__bool ok = FLAC__stream_encoder_process_interleaved( local 351 if (ok) { 449 FLAC__bool ok = true; local 450 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mNumChannels); 451 ok = ok && FLAC__stream_encoder_set_sample_rate(mFlacStreamEncoder, mSampleRate); 452 ok = ok && FLAC__stream_encoder_set_bits_per_sample(mFlacStreamEncoder, 16); 453 ok = ok && FLAC__stream_encoder_set_compression_level(mFlacStreamEncoder [all...] |
/frameworks/base/core/java/android/text/method/ |
NumberKeyListener.java | 64 if (!ok(accept, source.charAt(i))) { 70 // It was all OK. 75 // It was not OK, and there is only one char, so nothing remains. 85 // Only count down to i because the chars before that were all OK. 87 if (!ok(accept, source.charAt(j))) { 95 protected static boolean ok(char[] accept, char c) { method in class:NumberKeyListener
|
/frameworks/wilhelm/src/ |
ThreadPool.cpp | 169 int ok; local 175 ok = pthread_mutex_lock(&tp->mMutex); 176 assert(0 == ok); 178 ok = pthread_cond_broadcast(&tp->mCondNotEmpty); 179 assert(0 == ok); 180 ok = pthread_cond_broadcast(&tp->mCondNotFull); 181 assert(0 == ok); 182 ok = pthread_mutex_unlock(&tp->mMutex); 183 assert(0 == ok); 186 ok = pthread_join(tp->mThreadArray[i], (void **) NULL) 279 int ok; local 330 int ok; local [all...] |
locks.cpp | 46 int ok; local 47 ok = pthread_mutex_trylock(&thiz->mMutex); 48 if (0 != ok) { 59 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts); 60 if (0 == ok) { 63 if (EBUSY == ok) { 65 } else if (EDEADLK == ok) { 70 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); 92 ok = pthread_mutex_lock(&thiz->mMutex); 93 assert(0 == ok); 125 int ok; local 143 int ok; local 150 int ok; local 175 int ok; local 298 int ok; local 309 int ok; local 320 int ok; local 332 int ok; local [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
slesTestLoopUri.cpp | 91 int ok; local 92 ok = pthread_mutex_lock(&mutex); 93 assert(ok == 0); 95 ok = pthread_cond_signal(&cond); 96 assert(ok == 0); 97 ok = pthread_mutex_unlock(&mutex); 98 assert(ok == 0);
|
/frameworks/wilhelm/tests/sandbox/ |
multithread.c | 130 int ok; local 155 ok = pthread_create(&threads[i], (const pthread_attr_t *) NULL, thread_start, 157 assert(0 == ok); 185 ok = pthread_join(threads[i], NULL); 186 assert(0 == ok);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
codecvt.h | 51 ok, enumerator in enum:codecvt_base::result 100 * all the input is converted, returns codecvt_base::ok. If no 143 * state could be reset and data written, returns codecvt_base::ok. If 180 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
codecvt.h | 51 ok, enumerator in enum:codecvt_base::result 100 * all the input is converted, returns codecvt_base::ok. If no 143 * state could be reset and data written, returns codecvt_base::ok. If 180 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
codecvt.h | 51 ok, enumerator in enum:codecvt_base::result 100 * all the input is converted, returns codecvt_base::ok. If no 143 * state could be reset and data written, returns codecvt_base::ok. If 180 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilts/go/darwin-x86/src/runtime/ |
sys_darwin_arm64.s | 322 BCC ok 326 ok: label
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue6866.go | 17 if !ok { 48 const ok = p0_0 == 1 && p0_1 == 0 && const
|
/prebuilts/go/linux-x86/src/runtime/ |
sys_darwin_arm64.s | 322 BCC ok 326 ok: label
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue6866.go | 17 if !ok { 48 const ok = p0_0 == 1 && p0_1 == 0 && const
|
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
codecvt.h | 51 ok, enumerator in enum:codecvt_base::result 100 * all the input is converted, returns codecvt_base::ok. If no 143 * state could be reset and data written, returns codecvt_base::ok. If 180 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
codecvt.h | 51 ok, enumerator in enum:codecvt_base::result 100 * all the input is converted, returns codecvt_base::ok. If no 143 * state could be reset and data written, returns codecvt_base::ok. If 180 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
codecvt.h | 51 ok, enumerator in enum:codecvt_base::result 100 * all the input is converted, returns codecvt_base::ok. If no 143 * state could be reset and data written, returns codecvt_base::ok. If 180 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/ |
text_handler.h | 263 bool ok = (text[0] != 0) && !text_stream.bad(); local 265 ok = ok && text_stream.eof(); 267 ok = ok && !text_stream.fail(); 271 if (ok && text[0] == '-') 272 ok = !ClampToZeroIfUnsignedType<T>::Clamp(value_pointer); 274 if (ok) return SPV_SUCCESS;
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
generated_message_reflection.h | 664 bool ok = &T::default_instance() == local 667 return ok ? down_cast<T*>(from) : NULL;
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
status.h | 45 OK = 0, 72 // ignored and a Status object identical to Status::OK is 80 static const Status OK; // Identical to 0-arg constructor 85 bool ok() const { function in class:google::protobuf::util::Status 86 return error_code_ == error::OK; 111 #define EXPECT_OK(value) EXPECT_TRUE((value).ok())
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
util.c | 119 bool ok; local 157 ok = true; 166 ok = dir_matching(dir); 171 ok &= file_matching(p->fts_path); 173 if (ok)
|