/external/iptables/extensions/ |
libxt_devgroup.c | 49 bool ok; local 51 ok = xtables_strtoui(arg, &end, group, 0, UINT32_MAX); 52 if (ok && (*end == '/' || *end == '\0')) { 54 ok = xtables_strtoui(end + 1, NULL, mask, 58 if (!ok)
|
/external/libbrillo/brillo/streams/ |
fake_stream_unittest.cc | 42 bool ok = stream_->ReadNonBlocking(data.data(), data.size(), &size_read, local 44 if (ok) { 49 return ok;
|
/external/libchrome/crypto/ |
scoped_capi_types.h | 24 BOOL ok = Destroyer(handle); local 25 DCHECK(ok); 38 BOOL ok = Destroyer(handle, flags); local 39 DCHECK(ok);
|
/external/mdnsresponder/mDNSWindows/ |
Secret.c | 171 BOOL ok = TRUE; local 174 require_action( inDomain != NULL, exit, ok = FALSE ); 175 require_action( inKey != NULL, exit, ok = FALSE ); 176 require_action( inSecret != NULL, exit, ok = FALSE ); 183 require_action( inDomainLength > 0, exit, ok = FALSE ); 185 require_action( !err, exit, ok = FALSE ); 201 require_action( inKeyLength > 0 , exit, ok = FALSE ); 204 require_action( !err, exit, ok = FALSE ); 252 return ok;
|
VPCDetect.cpp | 42 BOOL ok = TRUE; local 58 ok = QueryServiceStatus( service, &status ); 59 err = translate_errno( ok, (OSStatus) GetLastError(), kAuthenticationErr );
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_tgsi_decl_sm30.c | 524 boolean ok; local 529 ok = ps30_sampler( emit, decl->Semantic, idx ); 534 ok = vs30_input( emit, decl->Semantic, idx ); 536 ok = ps30_input( emit, decl->Semantic, idx ); 541 ok = vs30_output( emit, decl->Semantic, idx ); 543 ok = ps30_output( emit, decl->Semantic, idx ); 548 ok = TRUE; 551 if (!ok)
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_texstate.c | 330 bool ok = true; local 333 for (i = 0; i < I830_TEX_UNITS && ok; i++) { 338 ok = i830_update_tex_unit(intel, i, TEXCOORDS_ARE_NORMAL); 341 ok = i830_update_tex_unit(intel, i, TEXCOORDS_ARE_IN_TEXELUNITS); 356 ok = false; 361 FALLBACK(intel, I830_FALLBACK_TEXTURE, !ok); 363 if (ok)
|
i915_texstate.c | 406 bool ok = true; local 409 for (i = 0; i < I915_TEX_UNITS && ok; i++) { 415 ok = i915_update_tex_unit(intel, i, SS3_NORMALIZED_COORDS); 418 ok = i915_update_tex_unit(intel, i, 0); 433 ok = false; 438 FALLBACK(intel, I915_FALLBACK_TEXTURE, !ok);
|
/external/mesa3d/src/mesa/main/ |
pixel.c | 154 GLboolean ok; local 161 ok = _mesa_validate_pbo_access(1, &ctx->DefaultPacking, mapsize, 1, 1, 169 if (!ok) { 179 return ok;
|
/external/openssh/ |
auth-passwd.c | 85 int result, ok = authctxt->valid; local 92 ok = 0; 101 return ret && ok; 112 return ok; 117 return (sshpam_auth_passwd(authctxt, password) && ok); 129 return (result && ok);
|
/external/ppp/pppd/ |
session.c | 177 bool ok = 1; local 193 /* If no verification is requested, then simply return an OK */ 222 ok = (pam_error == PAM_SUCCESS); 224 if (ok) { 225 ok = (pam_set_item(pamh, PAM_TTY, ttyName) == PAM_SUCCESS) && 229 if (ok && (SESS_AUTH & flags)) { 233 /* PAM auth was OK */ 234 dbglog("PAM Authentication OK for %s", user); 237 ok = 0; 250 if (ok && (SESS_ACCT & flags)) [all...] |
/external/skia/tools/ |
CrashHandler.cpp | 45 int ok; local 47 abi::__cxa_demangle(mangled, demangled, &len, &ok); 49 SkDebugf("%s (+0x%zx)\n", ok == 0 ? demangled : mangled, (size_t)offset);
|
/external/syslinux/core/fs/pxe/ |
isr.c | 38 bool ok; local 78 while (jiffies() - now < 4 && (ok = !pxe_need_poll)) 81 if (!ok) 87 return ok;
|
/external/syslinux/win/ |
ntfssect.c | 48 BOOL bad, ok; local 63 ok = DeviceIoControl( 144 BOOL ok; local 157 ok = xp_funcs.GetDiskFreeSpace( 165 if (!ok) { 200 BOOL ok; local 210 ok = xp_funcs.GetVolumePathName( 216 if (!ok) { 233 BOOL ok; local 237 ok = DeviceIoControl [all...] |
/external/v8/src/parsing/ |
preparser.cc | 26 // handling for functions that may fail (by returning !*ok). 32 #define CHECK_OK_VALUE(x) ok); \ 33 if (!*ok) return x; \ 107 bool* ok = &ok_holder; local 133 &formals, has_duplicate_parameters, may_abort, ok); 140 } else if (!*ok) { 158 CheckStrictOctalLiteral(function_scope->start_position(), end_pos, ok); 184 LanguageMode language_mode, bool* ok) { 246 bool may_abort, bool* ok) { 281 ZoneList<const AstRawString*>* names, bool* ok) { [all...] |
/external/valgrind/coregrind/m_ume/ |
elf.c | 514 Bool ok; local 542 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &ok ); 544 if (!ok) {
|
/external/valgrind/helgrind/tests/ |
annotate_hbefore.c | 305 UWord ok = do_acasW( w, old, nyu ); local 306 if (ok) break;
|
/external/valgrind/none/tests/amd64/ |
faultstatus.c | 60 int ok = 1; local 62 ok = ok && testsig(sig, cur_test->sig); 63 ok = ok && testcode(si->si_code, cur_test->code); 65 ok = ok && testaddr(si->si_addr, cur_test->addr); 67 if (ok) 70 siglongjmp(escape, ok + 1);
|
/external/webp/src/dec/ |
alpha_dec.c | 51 int ok = 0; local 97 ok = (alpha_data_size >= alpha_decoded_size); 100 ok = VP8LDecodeAlphaHeader(dec, alpha_data, alpha_data_size); 103 return ok;
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
status.h | 75 if (!other.ok() && !other.empty()) { 84 bool ok() const { return error_ == 0; } function in class:android::pdx::Status 89 // Explicit bool conversion, equivalent to invoking ok(). 90 explicit operator bool() const { return ok(); } 92 // Accessors for the value stored in Status. Calling when ok() is false leads 145 if (!other.ok() && !other.empty()) { 152 bool ok() const { return error_ == 0; } function in class:android::pdx::Status 154 explicit operator bool() const { return ok(); }
|
/frameworks/wilhelm/src/desktop/ |
SndFile.cpp | 159 case SL_DATAFORMAT_NULL: // OK to omit the data format 253 int ok; local 254 ok = pthread_mutex_init(&thiz->mSndFile.mMutex, (const pthread_mutexattr_t *) NULL); 255 assert(0 == ok); 282 int ok; local 283 ok = pthread_mutex_destroy(&thiz->mSndFile.mMutex); 284 assert(0 == ok);
|
/packages/apps/Calendar/src/com/android/calendar/ |
EditResponseHelper.java | 37 * and is invoked when the "Ok" button is selected. 72 // If the click was not "OK", clear out whichEvents to represent 102 // Enable the "ok" button now that the user has selected which 104 Button ok = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); 105 ok.setEnabled(true); 125 // we try to fetch the "Ok" button. 132 .setPositiveButton(android.R.string.ok, mDialogListener) 140 // Disable the "Ok" button until the user selects which events to 142 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE); local 143 ok.setEnabled(false) [all...] |
/prebuilts/go/darwin-x86/src/net/ |
fd_plan9.go | 79 func (fd *netFD) ok() bool { return fd != nil && fd.ctl != nil } func 82 if !fd.ok() { 105 if !fd.ok() || fd.data == nil { 135 if !fd.ok() || fd.data == nil { 152 if !fd.ok() { 159 if !fd.ok() { 169 if !fd.ok() { 198 if !fd.ok() || fd.data == nil { 205 if !l.fd.ok() {
|
unixsock.go | 66 if !c.ok() { 78 if !c.ok() { 95 if !c.ok() { 107 if !c.ok() { 128 if !c.ok() { 145 if !c.ok() { 157 if !c.ok() { 160 a, ok := addr.(*UnixAddr) 161 if !ok { 178 if !c.ok() { 216 func (ln *UnixListener) ok() bool { return ln != nil && ln.fd != nil } func [all...] |
/prebuilts/go/linux-x86/src/net/ |
fd_plan9.go | 79 func (fd *netFD) ok() bool { return fd != nil && fd.ctl != nil } func 82 if !fd.ok() { 105 if !fd.ok() || fd.data == nil { 135 if !fd.ok() || fd.data == nil { 152 if !fd.ok() { 159 if !fd.ok() { 169 if !fd.ok() { 198 if !fd.ok() || fd.data == nil { 205 if !l.fd.ok() {
|