Searched refs:ok (Results 251 - 275 of 1114) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLDrawBuffers.cpp135 bool ok = true; local
144 ok = false;
150 ok = false;
159 ok = false;
176 return ok;
/external/iptables/extensions/
H A Dlibxt_devgroup.c49 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/libcxx/test/localization/locale.stdcvt/
H A Dcodecvt_utf16_out.pass.cpp39 assert(r == std::codecvt_base::ok);
49 assert(r == std::codecvt_base::ok);
59 assert(r == std::codecvt_base::ok);
69 assert(r == std::codecvt_base::ok);
106 assert(r == std::codecvt_base::ok);
116 assert(r == std::codecvt_base::ok);
133 assert(r == std::codecvt_base::ok);
145 assert(r == std::codecvt_base::ok);
157 assert(r == std::codecvt_base::ok);
169 assert(r == std::codecvt_base::ok);
[all...]
H A Dcodecvt_utf8_utf16_out.pass.cpp39 assert(r == std::codecvt_base::ok);
49 assert(r == std::codecvt_base::ok);
58 assert(r == std::codecvt_base::ok);
66 assert(r == std::codecvt_base::ok);
92 assert(r == std::codecvt_base::ok);
100 assert(r == std::codecvt_base::ok);
114 assert(r == std::codecvt_base::ok);
127 assert(r == std::codecvt_base::ok);
139 assert(r == std::codecvt_base::ok);
150 assert(r == std::codecvt_base::ok);
[all...]
H A Dcodecvt_utf8_out.pass.cpp39 assert(r == std::codecvt_base::ok);
49 assert(r == std::codecvt_base::ok);
59 assert(r == std::codecvt_base::ok);
69 assert(r == std::codecvt_base::ok);
106 assert(r == std::codecvt_base::ok);
116 assert(r == std::codecvt_base::ok);
133 assert(r == std::codecvt_base::ok);
146 assert(r == std::codecvt_base::ok);
159 assert(r == std::codecvt_base::ok);
172 assert(r == std::codecvt_base::ok);
[all...]
/external/openssl/crypto/asn1/
H A Da_bitstr.c235 int i, ok; local
240 ok = 1;
241 for (i = 0; i < a->length && ok; ++i)
245 ok = (a->data[i] & mask) == 0;
247 return ok;
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/
H A Dwin_ce_semaphore.c203 BOOL ok = TRUE; local
206 if ((Flags & 4) == 1 && (hSynch->hEvent == NULL)) ok = FALSE;
207 if ((Flags & 2) == 1 && (hSynch->hMutex == NULL)) ok = FALSE;
208 if ((Flags & 1) == 1 && (hSynch->hEvent == NULL)) ok = FALSE;
209 if (!ok)
/external/chromium_org/third_party/libwebp/dec/
H A Dvp8l.c184 int ok = 0; local
233 ok = 1;
237 return ok;
245 int ok = 0; local
264 ok = VP8LHuffmanTreeBuildExplicit(tree, code_lengths, codes, symbols,
280 ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size,
282 ok = ok && VP8LHuffmanTreeBuildImplicit(tree, code_lengths, huff_codes,
285 ok = ok
738 int ok = 1; local
825 int ok = 1; local
975 int ok = 1; local
1098 int ok = 1; local
1248 int ok = 0; local
[all...]
/external/webp/src/dec/
H A Dvp8l.c184 int ok = 0; local
233 ok = 1;
237 return ok;
245 int ok = 0; local
264 ok = VP8LHuffmanTreeBuildExplicit(tree, code_lengths, codes, symbols,
280 ok = ReadHuffmanCodeLengths(dec, code_length_code_lengths, alphabet_size,
282 ok = ok && VP8LHuffmanTreeBuildImplicit(tree, code_lengths, huff_codes,
285 ok = ok
738 int ok = 1; local
825 int ok = 1; local
975 int ok = 1; local
1098 int ok = 1; local
1248 int ok = 0; local
[all...]
/external/stlport/test/unit/
H A Dcodecvt_test.cpp78 return ok;
104 return ok;
163 if (icur == iend) return ok;
169 return ok;
181 return ok;
195 return ok;
200 return ok;
210 return ok;
224 return ok;
400 CPPUNIT_ASSERT( res == cdecvt_type::ok );
[all...]
/external/chromium_org/ipc/
H A Dipc_channel_win.cc163 BOOL ok = ReadFile(pipe_.Get(), buffer, buffer_len, local
165 if (!ok) {
376 BOOL ok = ConnectNamedPipe(pipe_.Get(), &input_state_.context.overlapped);
380 if (ok) {
443 BOOL ok = WriteFile(pipe_.Get(), local
448 if (!ok) {
475 bool ok = true; local
505 ok = false;
507 ok = AsyncReadComplete(bytes_transfered);
513 if (ok)
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dframe.c647 int ok = 1; local
652 for (p = 0; ok && p < enc->num_parts_; ++p) {
653 ok = VP8BitWriterInit(enc->parts_ + p, bytes_per_parts);
655 if (!ok) {
659 return ok;
662 static int PostLoopFinalize(VP8EncIterator* const it, int ok) { argument
664 if (ok) { // Finalize the partitions, check for extra errors.
668 ok &= !enc->parts_[p].error_;
672 if (ok) { // All good. Finish up.
686 return ok;
703 int ok = PreLoopInitialize(enc); local
750 int ok; local
[all...]
/external/webp/src/enc/
H A Dframe.c647 int ok = 1; local
652 for (p = 0; ok && p < enc->num_parts_; ++p) {
653 ok = VP8BitWriterInit(enc->parts_ + p, bytes_per_parts);
655 if (!ok) {
659 return ok;
662 static int PostLoopFinalize(VP8EncIterator* const it, int ok) { argument
664 if (ok) { // Finalize the partitions, check for extra errors.
668 ok &= !enc->parts_[p].error_;
672 if (ok) { // All good. Finish up.
686 return ok;
703 int ok = PreLoopInitialize(enc); local
750 int ok; local
[all...]
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
H A Djson_reader.cpp271 bool ok = true; local
288 ok = readString();
292 ok = readComment();
310 ok = match( "rue", 3 );
314 ok = match( "alse", 4 );
318 ok = match( "ull", 3 );
330 ok = false;
333 if ( !ok )
502 bool ok = readValue(); local
504 if ( !ok ) // erro
546 bool ok = readValue(); local
907 bool ok = reader.parse(sin, root, true); local
[all...]
/external/jsoncpp/src/lib_json/
H A Djson_reader.cpp269 bool ok = true; local
286 ok = readString();
290 ok = readComment();
308 ok = match( "rue", 3 );
312 ok = match( "alse", 4 );
316 ok = match( "ull", 3 );
328 ok = false;
331 if ( !ok )
500 bool ok = readValue(); local
502 if ( !ok ) // erro
544 bool ok = readValue(); local
905 bool ok = reader.parse(sin, root, true); local
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
H A DSequenceTest.java88 values[0] = obj.ok;
127 public Boolean ok; field in class:SequenceTest.AppClass
131 public AppClass(Boolean ok, List list) { argument
132 this.ok = ok;
139 return ok.equals(obj.ok) && list.equals(obj.list);
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dby_file.c90 int ok=0; local
100 ok = (X509_load_cert_crl_file(ctx,file,
104 ok = (X509_load_cert_crl_file(ctx,X509_get_default_cert_file(),
107 if (!ok)
115 ok = (X509_load_cert_crl_file(ctx,argp,
118 ok = (X509_load_cert_file(ctx,argp,(int)argl) != 0);
122 return(ok);
/external/iproute2/tc/
H A Dm_mirred.c70 int ok = 0, iok = 0, mirror=0,redir=0; local
84 ok++;
95 if (!ok) {
100 } else if(!ok) {
112 ok++;
121 ok++;
139 if (!ok && !iok) {
/external/openssl/apps/
H A Dverify.c72 static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx);
311 static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx) argument
316 if (!ok)
337 * ok if they are self signed. But we should still warn
350 ok = 1;
354 return ok;
357 if (cert_error == X509_V_OK && ok == 2)
361 return(ok);
/external/openssl/crypto/x509/
H A Dby_file.c95 int ok=0; local
105 ok = (X509_load_cert_crl_file(ctx,file,
109 ok = (X509_load_cert_crl_file(ctx,X509_get_default_cert_file(),
112 if (!ok)
120 ok = (X509_load_cert_crl_file(ctx,argp,
123 ok = (X509_load_cert_file(ctx,argp,(int)argl) != 0);
127 return(ok);
/external/chromium_org/storage/browser/fileapi/
H A Dsandbox_origin_database.cc88 if (status.ok()) {
132 if (!leveldb::RepairDB(db_path, options).ok() ||
205 if (status.ok()) {
228 if (status.ok())
257 if (!status.ok()) {
262 if (status.ok()) {
275 if (status.ok() || status.IsNotFound())
322 if (status.ok())
339 if (!status.ok()) {
/external/chromium_org/third_party/leveldatabase/
H A Denv_chromium_unittest.cc140 EXPECT_TRUE(s.ok());
151 EXPECT_TRUE(s.ok());
199 EXPECT_TRUE(status.ok()) << status.ToString();
201 EXPECT_TRUE(status.ok()) << status.ToString();
217 EXPECT_TRUE(status.ok()) << status.ToString();
220 EXPECT_TRUE(status.ok()) << status.ToString();
244 EXPECT_TRUE(status.ok());
263 EXPECT_TRUE(status.ok());
268 EXPECT_TRUE(status.ok());
/external/chromium_org/v8/src/
H A Dparser.cc324 // handling for functions that may fail (by returning !*ok).
330 #define CHECK_OK ok); \
331 if (!*ok) return NULL; \
739 Expression* ParserTraits::ParseV8Intrinsic(bool* ok) { argument
740 return parser_->ParseV8Intrinsic(ok);
748 FunctionLiteral::ArityRestriction arity_restriction, bool* ok) {
751 function_token_position, type, arity_restriction, ok);
903 bool ok = true; local
906 &ok);
908 if (ok
744 ParseFunctionLiteral( const AstRawString* name, Scanner::Location function_name_location, bool name_is_strict_reserved, FunctionKind kind, int function_token_position, FunctionLiteral::FunctionType type, FunctionLiteral::ArityRestriction arity_restriction, bool* ok) argument
1022 bool ok = true; local
1050 ParseSourceElements(ZoneList<Statement*>* processor, int end_token, bool is_eval, bool is_global, Scope** eval_scope, bool* ok) argument
1139 ParseModuleElement(ZoneList<const AstRawString*>* labels, bool* ok) argument
1193 ParseModuleDeclaration(ZoneList<const AstRawString*>* names, bool* ok) argument
1230 ParseModule(bool* ok) argument
1257 ParseModuleLiteral(bool* ok) argument
1310 ParseModulePath(bool* ok) argument
1345 ParseModuleVariable(bool* ok) argument
1364 ParseModuleUrl(bool* ok) argument
1393 ParseModuleSpecifier(bool* ok) argument
1406 ParseImportDeclaration(bool* ok) argument
1460 ParseExportDeclaration(bool* ok) argument
1553 ParseBlockElement(ZoneList<const AstRawString*>* labels, bool* ok) argument
1586 ParseStatement(ZoneList<const AstRawString*>* labels, bool* ok) argument
1717 Declare(Declaration* declaration, bool resolve, bool* ok) argument
1849 bool ok; local
1878 ParseNativeDeclaration(bool* ok) argument
1917 ParseFunctionDeclaration( ZoneList<const AstRawString*>* names, bool* ok) argument
1954 ParseClassDeclaration(ZoneList<const AstRawString*>* names, bool* ok) argument
1995 ParseBlock(ZoneList<const AstRawString*>* labels, bool* ok) argument
2022 ParseScopedBlock(ZoneList<const AstRawString*>* labels, bool* ok) argument
2057 ParseVariableStatement(VariableDeclarationContext var_context, ZoneList<const AstRawString*>* names, bool* ok) argument
2076 ParseVariableDeclarations( VariableDeclarationContext var_context, VariableDeclarationProperties* decl_props, ZoneList<const AstRawString*>* names, const AstRawString** out, bool* ok) argument
2400 ParseExpressionOrLabelledStatement( ZoneList<const AstRawString*>* labels, bool* ok) argument
2463 ParseIfStatement(ZoneList<const AstRawString*>* labels, bool* ok) argument
2486 ParseContinueStatement(bool* ok) argument
2515 ParseBreakStatement(ZoneList<const AstRawString*>* labels, bool* ok) argument
2552 ParseReturnStatement(bool* ok) argument
2594 ParseWithStatement(ZoneList<const AstRawString*>* labels, bool* ok) argument
2624 ParseCaseClause(bool* default_seen_ptr, bool* ok) argument
2657 ParseSwitchStatement( ZoneList<const AstRawString*>* labels, bool* ok) argument
2685 ParseThrowStatement(bool* ok) argument
2704 ParseTryStatement(bool* ok) argument
2809 ParseDoWhileStatement( ZoneList<const AstRawString*>* labels, bool* ok) argument
2837 ParseWhileStatement( ZoneList<const AstRawString*>* labels, bool* ok) argument
2938 DesugarLetBindingsInForStatement( Scope* inner_scope, ZoneList<const AstRawString*>* names, ForStatement* loop, Statement* init, Expression* cond, Statement* next, Statement* body, bool* ok) argument
3097 ParseForStatement(ZoneList<const AstRawString*>* labels, bool* ok) argument
3317 ParseDebuggerStatement(bool* ok) argument
3426 DeclareArrowParametersFromExpression( Expression* expression, Scope* scope, Scanner::Location* dupe_loc, bool* ok) argument
3436 ParseFunctionLiteral( const AstRawString* function_name, Scanner::Location function_name_location, bool name_is_strict_reserved, FunctionKind kind, int function_token_pos, FunctionLiteral::FunctionType function_type, FunctionLiteral::ArityRestriction arity_restriction, bool* ok) argument
3701 SkipLazyFunctionBody(const AstRawString* function_name, int* materialized_literal_count, int* expected_property_count, bool* ok) argument
3767 ParseEagerFunctionBody( const AstRawString* function_name, int pos, Variable* fvar, Token::Value fvar_init_op, bool is_generator, bool* ok) argument
3859 ParseV8Intrinsic(bool* ok) argument
3919 CheckConflictingVarDeclarations(Scope* scope, bool* ok) argument
3949 LookupBreakTarget(const AstRawString* label, bool* ok) argument
3965 LookupContinueTarget(const AstRawString* label, bool* ok) argument
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
H A DECPrivateKeySpec_ImplTest.java85 } catch (NullPointerException ok) {
93 } catch (NullPointerException ok) {
101 } catch (NullPointerException ok) {
/external/chromium_org/content/browser/indexed_db/leveldb/
H A Dleveldb_transaction.cc85 if (!s.ok())
110 if (s.ok()) {
216 DCHECK(s.ok());
218 if (!s.ok())
230 DCHECK(s.ok());
232 if (!s.ok())
260 if (!s.ok())
270 if (!s.ok())
291 if (!s.ok())
310 if (!s.ok())
[all...]

Completed in 5347 milliseconds

<<11121314151617181920>>