/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | img2webp.c | 77 int ok; in ReadImage() local 81 ok = ReadPictureWithWIC(filename, pic, 1, NULL); in ReadImage() 82 if (ok) return 1; in ReadImage() 86 ok = reader(data, data_size, pic, 1, NULL); in ReadImage() 88 return ok; in ReadImage() 92 int ok = 1; in SetLoopCount() local 100 ok = (err == WEBP_MUX_OK); in SetLoopCount() 101 if (!ok || !(features & ANIMATION_FLAG)) goto End; in SetLoopCount() 104 ok = (err == WEBP_MUX_OK); in SetLoopCount() 105 if (ok) { in SetLoopCount() 142 int ok; main() local [all...] |
H A D | webpmux.c | 166 ok = 0; \ 173 ok = 0; \ 180 ok = 0; \ 403 int ok = 0; in WriteData() local 416 ok = 1; in WriteData() 419 return ok; in WriteData() 423 int ok; in WriteWebP() local 430 ok = WriteData(filename, &webp_data); in WriteWebP() 432 return ok; in WriteWebP() 440 int ok in DuplicateMuxHeader() local 541 int ok = 1; ValidateCommandLine() local 625 int ok = 1; ParseCommandLine() local 798 int ok = 1; ValidateConfig() local 832 int ok; InitializeConfig() local 872 int ok = 1; GetFrame() local 916 int ok = 1; Process() local 1186 int ok; main() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream-inheritance.js | 11 assert.ok(readable instanceof Readable); 12 assert.ok(!(writable instanceof Readable)); 13 assert.ok(duplex instanceof Readable); 14 assert.ok(transform instanceof Readable); 16 assert.ok(!(readable instanceof Writable)); 17 assert.ok(writable instanceof Writable); 18 assert.ok(duplex instanceof Writable); 19 assert.ok(transform instanceof Writable); 21 assert.ok(!(readable instanceof Duplex)); 22 assert.ok(!(writabl [all...] |
H A D | test-runner-cli.js | 32 assert.match(stdout, /ok 1 - this should pass/); 33 assert.match(stdout, /not ok 2 - this should fail/); 34 assert.match(stdout, /ok 3 - .+subdir.+subdir_test\.js/); 35 assert.match(stdout, /ok 4 - this should pass/); 36 assert.match(stdout, /ok 5 - this should be skipped/); 37 assert.match(stdout, /ok 6 - this should be executed/); 46 assert.match(stdout, /ok 1 - this should pass/); 47 assert.match(stdout, /not ok 2 - this should fail/); 48 assert.match(stdout, /ok 3 - .+subdir.+subdir_test\.js/); 49 assert.match(stdout, /ok [all...] |
H A D | test-tls-client-verify.js | 36 { ok: true, key: 'agent1-key', cert: 'agent1-cert' }, 37 { ok: false, key: 'agent2-key', cert: 'agent2-cert' }, 38 { ok: false, key: 'agent3-key', cert: 'agent3-cert' }, 45 { ok: false, key: 'agent1-key', cert: 'agent1-cert' }, 46 { ok: false, key: 'agent2-key', cert: 'agent2-cert' }, 47 { ok: false, key: 'agent3-key', cert: 'agent3-cert' }, 54 { ok: true, key: 'agent1-key', cert: 'agent1-cert' }, 55 { ok: false, key: 'agent2-key', cert: 'agent2-cert' }, 56 { ok: true, key: 'agent3-key', cert: 'agent3-cert' }, 74 const ok [all...] |
/third_party/qrcodegen/c/ |
H A D | qrcodegen-demo.c | 64 bool ok = qrcodegen_encodeText(text, tempBuffer, qrcode, errCorLvl, in doBasicDemo() local 66 if (ok) in doBasicDemo() 76 bool ok = qrcodegen_encodeText("314159265358979323846264338327950288419716939937510", tempBuffer, qrcode, in doVarietyDemo() local 78 if (ok) in doVarietyDemo() 85 bool ok = qrcodegen_encodeText("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", tempBuffer, qrcode, in doVarietyDemo() local 87 if (ok) in doVarietyDemo() 96 bool ok = qrcodegen_encodeText(text, tempBuffer, qrcode, in doVarietyDemo() local 98 if (ok) in doVarietyDemo() 113 bool ok = qrcodegen_encodeText(text, tempBuffer, qrcode, in doVarietyDemo() local 115 if (ok) in doVarietyDemo() 128 bool ok; doSegmentDemo() local 168 bool ok; doSegmentDemo() local 217 bool ok; doSegmentDemo() local 272 bool ok; doMaskDemo() local 296 bool ok; doMaskDemo() local [all...] |
/third_party/skia/third_party/externals/brotli/python/ |
H A D | _brotli.cc | 93 BROTLI_BOOL ok = BROTLI_TRUE; in compress_stream() local 101 while (ok) { in compress_stream() 102 ok = BrotliEncoderCompressStream(enc, op, in compress_stream() 105 if (!ok) in compress_stream() 122 return ok; in compress_stream() 176 int ok; in brotli_Compressor_init() local 180 ok = PyArg_ParseTupleAndKeywords(args, keywds, "|O&O&O&O&:Compressor", in brotli_Compressor_init() 186 if (!ok) in brotli_Compressor_init() 227 BROTLI_BOOL ok = BROTLI_TRUE; in brotli_Compressor_process() local 230 ok in brotli_Compressor_process() 274 BROTLI_BOOL ok = BROTLI_TRUE; brotli_Compressor_flush() local 314 BROTLI_BOOL ok = BROTLI_TRUE; brotli_Compressor_finish() local 398 BROTLI_BOOL ok = BROTLI_TRUE; decompress_stream() local 458 int ok; brotli_Decompressor_init() local 496 BROTLI_BOOL ok = BROTLI_TRUE; brotli_Decompressor_process() local 542 BROTLI_BOOL ok = BROTLI_TRUE; brotli_Decompressor_is_finished() local 642 int ok; brotli_decompress() local [all...] |
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_state_inlines.h | 213 bool ok; in i915_validate_vertices() local 217 ok = (nr >= 1); in i915_validate_vertices() 218 assert(ok); in i915_validate_vertices() 221 ok = (nr >= 2) && (nr % 2) == 0; in i915_validate_vertices() 222 assert(ok); in i915_validate_vertices() 225 ok = (nr >= 2); in i915_validate_vertices() 226 assert(ok); in i915_validate_vertices() 229 ok = (nr >= 3) && (nr % 3) == 0; in i915_validate_vertices() 230 assert(ok); in i915_validate_vertices() 233 ok in i915_validate_vertices() [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | by_store.c | 20 int ok = 0; in cache_objects() local 34 * objects certs and CRLs than we may expect, but that's ok. in cache_objects() 58 ok = 0; in cache_objects() 66 ok = cache_objects(lctx, OSSL_STORE_INFO_get0_NAME(info), in cache_objects() 76 ok = X509_STORE_add_cert(xstore, in cache_objects() 80 ok = X509_STORE_add_crl(xstore, in cache_objects() 87 if (!ok) in cache_objects() 92 return ok; in cache_objects() 153 int ok = 0; in by_store() local 156 ok in by_store() 171 int ok = by_store(ctx, type, criterion, ret, libctx, propq); by_store_subject_ex() local [all...] |
/third_party/openssl/crypto/x509/ |
H A D | by_store.c | 20 int ok = 0; in cache_objects() local 34 * objects certs and CRLs than we may expect, but that's ok. in cache_objects() 58 ok = 0; in cache_objects() 66 ok = cache_objects(lctx, OSSL_STORE_INFO_get0_NAME(info), in cache_objects() 76 ok = X509_STORE_add_cert(xstore, in cache_objects() 80 ok = X509_STORE_add_crl(xstore, in cache_objects() 87 if (!ok) in cache_objects() 92 return ok; in cache_objects() 153 int ok = 0; in by_store() local 156 ok in by_store() 171 int ok = by_store(ctx, type, criterion, ret, libctx, propq); by_store_subject_ex() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/storemgmt/ |
H A D | file_store_any2obj.c | 64 int ok = 1; in any2obj_decode_final() local 76 ok = data_cb(params, data_cbarg); in any2obj_decode_final() 79 return ok; in any2obj_decode_final() 89 int ok; in der2obj_decode() local 95 ok = (asn1_d2i_read_bio(in, &mem) >= 0); in der2obj_decode() 97 if (!ok && mem != NULL) { in der2obj_decode() 120 int ok = 0; in msblob2obj_decode() local 133 ok = BIO_read(in, &mem->data[0], mem_want) == (int)mem_want; in msblob2obj_decode() 136 if (!ok) in msblob2obj_decode() 142 ok in msblob2obj_decode() 187 int ok = 0; pvk2obj_decode() local [all...] |
/third_party/openssl/providers/implementations/storemgmt/ |
H A D | file_store_any2obj.c | 64 int ok = 1; in any2obj_decode_final() local 76 ok = data_cb(params, data_cbarg); in any2obj_decode_final() 79 return ok; in any2obj_decode_final() 89 int ok; in der2obj_decode() local 95 ok = (asn1_d2i_read_bio(in, &mem) >= 0); in der2obj_decode() 97 if (!ok && mem != NULL) { in der2obj_decode() 120 int ok = 0; in msblob2obj_decode() local 133 ok = BIO_read(in, &mem->data[0], mem_want) == (int)mem_want; in msblob2obj_decode() 136 if (!ok) in msblob2obj_decode() 142 ok in msblob2obj_decode() 187 int ok = 0; pvk2obj_decode() local [all...] |
/third_party/python/Tools/scripts/ |
H A D | ifdef.py | 53 ok = 1 64 if ok: fpo.write(line) 70 if ok: fpo.write(line) 79 stack.append((ok, ko, word)) 80 if not ko: ok = 0 82 stack.append((ok, not ko, word)) 83 if ko: ok = 0 85 stack.append((ok, -1, word)) 86 if ok: fpo.write(line) 88 stack.append((ok, [all...] |
/third_party/node/test/common/ |
H A D | v8.js | 16 assert.ok(data.version > 0); 17 assert.ok(data.startTime >= 0); 18 assert.ok(data.endTime >= 0); 19 assert.ok(Array.isArray(data.statistics)); 24 assert.ok(typeof item.gcType === 'string'); 25 assert.ok(item.cost >= 0); 26 assert.ok(typeof item.beforeGC === 'object'); 27 assert.ok(typeof item.afterGC === 'object'); 29 assert.ok(typeof item.afterGC.heapStatistics === 'object'); 44 assert.ok(ite [all...] |
/third_party/openssl/test/ |
H A D | bio_memleak_test.c | 18 int ok = 0; in test_bio_memleak() local 36 ok = 1; in test_bio_memleak() 40 return ok; in test_bio_memleak() 45 int ok = 0; in test_bio_get_mem() local 63 ok = 1; in test_bio_get_mem() 68 return ok; in test_bio_get_mem() 73 int ok = 0; in test_bio_new_mem_buf() local 99 ok = 1; in test_bio_new_mem_buf() 103 return ok; in test_bio_new_mem_buf() 108 int ok in test_bio_rdonly_mem_buf() local 150 int ok = 0; test_bio_rdwr_rdonly() local 186 int ok = 0; test_bio_nonclear_rst() local 239 int ok = 0; test_bio_i2d_ASN1_mime() local [all...] |
H A D | asn1_internal_test.c | 13 * RSA low level APIs are deprecated for public use, but still ok for 76 int ok = 1; in test_standard_methods() local 98 ok = 0; in test_standard_methods() 104 return ok; in test_standard_methods() 129 int ok = 0; in test_empty_nonoptional_content() local 144 ok = 1; in test_empty_nonoptional_content() 150 return ok; in test_empty_nonoptional_content() 162 int ok = 1; in test_unicode() local 168 ok = 0; in test_unicode() 170 return ok; in test_unicode() 184 int ok = 1; test_unicode_range() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkPrograms.cpp | 141 const bool ok = optimizer.Run(binary.data(), binary.size(), &binary, optimizer_options); in optimizeCompiledBinary() local 143 if (!ok) in optimizeCompiledBinary() 425 bool ok = true; in shaderCacheFirstRunCheck() local 426 while (ok) in shaderCacheFirstRunCheck() 429 if (ok) ok = fread(&chunksize, 1, 4, file) == 4; in shaderCacheFirstRunCheck() 430 if (ok) ok = fread(&hash, 1, 4, file) == 4; in shaderCacheFirstRunCheck() 431 if (ok) cacheInsert(hash, offset); in shaderCacheFirstRunCheck() 432 if (ok) o in shaderCacheFirstRunCheck() 473 deBool ok = true; shadercacheLoad() local 543 deBool ok = (file != 0); shadercacheSave() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 11 * DSA low level APIs are deprecated for public use, but still ok for 133 int ok = 1; in dsa_has() local 141 ok = ok && (DSA_get0_pub_key(dsa) != NULL); in dsa_has() 143 ok = ok && (DSA_get0_priv_key(dsa) != NULL); in dsa_has() 145 ok = ok && (DSA_get0_p(dsa) != NULL && DSA_get0_g(dsa) != NULL); in dsa_has() 146 return ok; in dsa_has() 153 int ok in dsa_match() local 194 int ok = 1; dsa_import() local 221 int ok = 1; dsa_export() local 381 int ok = 1; dsa_validate() local [all...] |
H A D | rsa_kmgmt.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 118 int ok = 1; in rsa_has() local 127 ok = ok && (RSA_get0_n(rsa) != NULL); in rsa_has() 129 ok = ok && (RSA_get0_e(rsa) != NULL); in rsa_has() 131 ok = ok && (RSA_get0_d(rsa) != NULL); in rsa_has() 132 return ok; in rsa_has() 139 int ok in rsa_match() local 177 int ok = 1; rsa_import() local 210 int ok = 1; rsa_export() local 395 int ok = 1; rsa_validate() local [all...] |
/third_party/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 11 * DSA low level APIs are deprecated for public use, but still ok for 133 int ok = 1; in dsa_has() local 141 ok = ok && (DSA_get0_pub_key(dsa) != NULL); in dsa_has() 143 ok = ok && (DSA_get0_priv_key(dsa) != NULL); in dsa_has() 145 ok = ok && (DSA_get0_p(dsa) != NULL && DSA_get0_g(dsa) != NULL); in dsa_has() 146 return ok; in dsa_has() 153 int ok in dsa_match() local 194 int ok = 1; dsa_import() local 221 int ok = 1; dsa_export() local 378 int ok = 1; dsa_validate() local [all...] |
H A D | rsa_kmgmt.c | 11 * RSA low level APIs are deprecated for public use, but still ok for 118 int ok = 1; in rsa_has() local 127 ok = ok && (RSA_get0_n(rsa) != NULL); in rsa_has() 129 ok = ok && (RSA_get0_e(rsa) != NULL); in rsa_has() 131 ok = ok && (RSA_get0_d(rsa) != NULL); in rsa_has() 132 return ok; in rsa_has() 139 int ok in rsa_match() local 177 int ok = 1; rsa_import() local 210 int ok = 1; rsa_export() local 395 int ok = 1; rsa_validate() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | alpha_enc.c | 53 int ok = 0; in EncodeLossless() local 89 ok = (VP8LEncodeStream(&config, &picture, bw, 0 /*use_cache*/) == VP8_ENC_OK); in EncodeLossless() 91 ok = ok && !bw->error_; in EncodeLossless() 92 if (!ok) { in EncodeLossless() 114 int ok = 0; in EncodeAlphaInternal() local 138 ok = VP8LBitWriterInit(&tmp_bw, data_size >> 3); in EncodeAlphaInternal() 139 ok = ok && EncodeLossless(alpha_src, width, height, effort_level, in EncodeAlphaInternal() 141 if (ok) { in EncodeAlphaInternal() 240 int ok = 1; ApplyFiltersAndEncode() local 303 int ok = 1; EncodeAlpha() local 430 int ok = 1; VP8EncDeleteAlpha() local [all...] |
/third_party/node/test/internet/ |
H A D | test-dns.js | 88 assert.ok(result.length > 0); 94 assert.ok(item.ttl >= 0); 95 assert.ok(isIPv4(item.address)); 116 assert.ok(result.length > 0); 122 assert.ok(item.ttl >= 0); 123 assert.ok(isIPv6(item.address)); 144 assert.ok(result.length > 0); 148 assert.ok(item.exchange); 173 assert.ok(err instanceof Error); 186 assert.ok(resul [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | provider_conf.c | 87 int ok = 1; in provider_conf_params_internal() local 145 ok = ossl_provider_add_parameter(prov, name, value); in provider_conf_params_internal() 147 ok = ossl_provider_info_add_parameter(provinfo, name, value); in provider_conf_params_internal() 150 return ok; in provider_conf_params_internal() 209 int ok = 0; in provider_conf_load() local 281 ok = provider_conf_params(prov, NULL, NULL, value, cnf); in provider_conf_load() 283 if (ok > 0) { in provider_conf_load() 285 ok = 0; in provider_conf_load() 288 ok = 0; in provider_conf_load() 292 ok in provider_conf_load() [all...] |
/third_party/openssl/crypto/ |
H A D | provider_conf.c | 87 int ok = 1; in provider_conf_params_internal() local 145 ok = ossl_provider_add_parameter(prov, name, value); in provider_conf_params_internal() 147 ok = ossl_provider_info_add_parameter(provinfo, name, value); in provider_conf_params_internal() 150 return ok; in provider_conf_params_internal() 209 int ok = 0; in provider_conf_load() local 281 ok = provider_conf_params(prov, NULL, NULL, value, cnf); in provider_conf_load() 283 if (ok > 0) { in provider_conf_load() 285 ok = 0; in provider_conf_load() 288 ok = 0; in provider_conf_load() 292 ok in provider_conf_load() [all...] |