/third_party/ffmpeg/libavutil/ |
H A D | pca.c | 81 int i, j, pass; in ff_pca() local 100 for(pass=0; pass < 50; pass++){ in ff_pca() 124 return pass; in ff_pca() 132 if(pass < 3 && fabs(covar) < sum / (5*n*n)) //FIXME why pass < 3 in ff_pca() 136 if(pass >=3 && fabs((eigenvalue[j]+z[j])/covar) > (1LL<<32) && fabs((eigenvalue[i]+z[i])/covar) > (1LL<<32)){ in ff_pca()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | UnicodeNormalizerConformanceTest.java | 152 boolean pass = true; in checkConformance() 159 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c" + (i+1)); in checkConformance() 162 pass &= assertEqual("D", field[i], out, field[2], "c3!=D(c" + (i+1)); in checkConformance() 166 pass &= assertEqual("KC", field[i], out, field[3], "c4!=KC(c" + (i+1)); in checkConformance() 169 pass &= assertEqual("KD", field[i], out, field[4], "c5!=KD(c" + (i+1)); in checkConformance() 173 if (!pass) { in checkConformance() 177 return pass; in checkConformance()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | UnicodeNormalizerConformanceTest.java | 149 boolean pass = true; in checkConformance() 156 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c" + (i+1)); in checkConformance() 159 pass &= assertEqual("D", field[i], out, field[2], "c3!=D(c" + (i+1)); in checkConformance() 163 pass &= assertEqual("KC", field[i], out, field[3], "c4!=KC(c" + (i+1)); in checkConformance() 166 pass &= assertEqual("KD", field[i], out, field[4], "c5!=KD(c" + (i+1)); in checkConformance() 170 if (!pass) { in checkConformance() 174 return pass; in checkConformance()
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | pbkdf1.c | 38 unsigned char *pass; member 50 static int kdf_pbkdf1_do_derive(const unsigned char *pass, size_t passlen, in kdf_pbkdf1_do_derive() argument 67 || !EVP_DigestUpdate(ctx, pass, passlen) in kdf_pbkdf1_do_derive() 116 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_pbkdf1_cleanup() 167 if (ctx->pass == NULL) { in kdf_pbkdf1_derive() 178 return kdf_pbkdf1_do_derive(ctx->pass, ctx->pass_len, ctx->salt, ctx->salt_len, in kdf_pbkdf1_derive() 192 if (!kdf_pbkdf1_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_pbkdf1_set_ctx_params()
|
H A D | pbkdf2.c | 48 static int pbkdf2_derive(const char *pass, size_t passlen, 55 unsigned char *pass; member 87 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_pbkdf2_cleanup() 153 if (ctx->pass == NULL) { in kdf_pbkdf2_derive() 164 return pbkdf2_derive((char *)ctx->pass, ctx->pass_len, in kdf_pbkdf2_derive() 190 if (!pbkdf2_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_pbkdf2_set_ctx_params() 274 static int pbkdf2_derive(const char *pass, size_t passlen, in pbkdf2_derive() argument 319 if (!HMAC_Init_ex(hctx_tpl, pass, passlen, digest, NULL)) in pbkdf2_derive()
|
/third_party/openssl/providers/implementations/kdfs/ |
H A D | pbkdf1.c | 38 unsigned char *pass; member 50 static int kdf_pbkdf1_do_derive(const unsigned char *pass, size_t passlen, in kdf_pbkdf1_do_derive() argument 67 || !EVP_DigestUpdate(ctx, pass, passlen) in kdf_pbkdf1_do_derive() 110 OPENSSL_clear_free(ctx->pass, ctx->pass_len); in kdf_pbkdf1_cleanup() 161 if (ctx->pass == NULL) { in kdf_pbkdf1_derive() 172 return kdf_pbkdf1_do_derive(ctx->pass, ctx->pass_len, ctx->salt, ctx->salt_len, in kdf_pbkdf1_derive() 186 if (!kdf_pbkdf1_set_membuf(&ctx->pass, &ctx->pass_len, p)) in kdf_pbkdf1_set_ctx_params()
|
/third_party/skia/third_party/externals/dawn/examples/ |
H A D | CppHelloTriangle.cpp | 158 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in frame() local 159 pass.SetPipeline(pipeline); in frame() 160 pass.SetBindGroup(0, bindGroup); in frame() 161 pass.SetVertexBuffer(0, vertexBuffer); in frame() 162 pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint32); in frame() 163 pass.DrawIndexed(3); in frame() 164 pass.EndPass(); in frame()
|
H A D | Animometer.cpp | 163 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in frame() local 164 pass.SetPipeline(pipeline); in frame() 168 pass.SetBindGroup(0, bindGroup, 1, &offset); in frame() 169 pass.Draw(3); in frame() 172 pass.EndPass(); in frame()
|
H A D | CHelloTriangle.cpp | 126 WGPURenderPassEncoder pass = wgpuCommandEncoderBeginRenderPass(encoder, &renderpassInfo); in frame() local 127 wgpuRenderPassEncoderSetPipeline(pass, pipeline); in frame() 128 wgpuRenderPassEncoderDraw(pass, 3, 1, 0, 0); in frame() 129 wgpuRenderPassEncoderEndPass(pass); in frame() 130 wgpuRenderPassEncoderRelease(pass); in frame()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | QueryHelper.cpp | 177 Ref<ComputePassEncoder> pass = AcquireRef(encoder->APIBeginComputePass(&passDesc)); in EncodeConvertTimestampsToNanoseconds() local 178 pass->APISetPipeline(pipeline); in EncodeConvertTimestampsToNanoseconds() 179 pass->APISetBindGroup(0, bindGroup.Get()); in EncodeConvertTimestampsToNanoseconds() 180 pass->APIDispatch( in EncodeConvertTimestampsToNanoseconds() 182 pass->APIEndPass(); in EncodeConvertTimestampsToNanoseconds()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | ComputeCopyStorageBufferTests.cpp | 74 wgpu::ComputePassEncoder pass = encoder.BeginComputePass(); in BasicTest() local 75 pass.SetPipeline(pipeline); in BasicTest() 76 pass.SetBindGroup(0, bindGroup); in BasicTest() 77 pass.Dispatch(kInstances); in BasicTest() 78 pass.EndPass(); in BasicTest()
|
H A D | DrawIndirectTests.cpp | 75 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in Test() local 76 pass.SetPipeline(pipeline); in Test() 77 pass.SetVertexBuffer(0, vertexBuffer); in Test() 78 pass.DrawIndirect(indirectBuffer, indirectOffset); in Test() 79 pass.EndPass(); in Test()
|
H A D | DrawTests.cpp | 73 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass.renderPassInfo); in Test() local 74 pass.SetPipeline(pipeline); in Test() 75 pass.SetVertexBuffer(0, vertexBuffer); in Test() 76 pass.Draw(vertexCount, instanceCount, firstIndex, firstInstance); in Test() 77 pass.EndPass(); in Test()
|
H A D | RenderAttachmentTests.cpp | 68 wgpu::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass); in TEST_P() local 69 pass.SetPipeline(pipeline); in TEST_P() 70 pass.Draw(1); in TEST_P() 71 pass.EndPass(); in TEST_P()
|
H A D | DepthStencilCopyTests.cpp | 85 // Initialize the depth/stencil values for the texture using a render pass. 105 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPassDesc); in InitializeDepthTextureRegion() local 106 pass.SetPipeline(pipeline); in InitializeDepthTextureRegion() 107 pass.Draw(6); in InitializeDepthTextureRegion() 108 pass.EndPass(); in InitializeDepthTextureRegion() 114 // Initialize the depth/stencil values for the texture using a render pass. 140 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPassDesc); in InitializeDepthStencilTextureRegion() local 141 pass.SetPipeline(pipeline); in InitializeDepthStencilTextureRegion() 142 pass.SetStencilReference(regionStencil); in InitializeDepthStencilTextureRegion() 143 pass in InitializeDepthStencilTextureRegion() 489 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&passDescriptor); TEST_P() local 547 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&passDescriptor); TEST_P() local [all...] |
/third_party/skia/third_party/externals/tint/tools/src/gerrit/ |
H A D | gerrit.go | 41 func LoadCredentials() (user, pass string) { 59 user, pass := cfg.Username, cfg.Password 61 user, pass = LoadCredentials() 65 client.Authentication.SetBasicAuth(user, pass) 83 and password which can be provided with --gerrit-user and --gerrit-pass.
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
H A D | InternalStorageBufferBindingTests.cpp | 96 wgpu::ComputePassEncoder pass = encoder.BeginComputePass(); in TEST_P() local 97 pass.SetPipeline(pipeline); in TEST_P() 98 pass.SetBindGroup(0, bindGroup); in TEST_P() 100 pass.Dispatch(kNumValues); in TEST_P() 102 pass.EndPass(); in TEST_P()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/ |
H A D | hugeshmdt01.c | 39 static int pass; variable 62 /* also reset pass */ in hugeshmdt_test() 63 pass = 0; in hugeshmdt_test() 94 if (pass) in check_functionality() 106 pass = 1; in sighandler()
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap13.c | 52 static volatile sig_atomic_t pass; variable 85 if (pass) in main() 96 pass = 0; in main() 131 pass = 1; in sig_handler()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ComputeValidationTests.cpp | 43 wgpu::ComputePassEncoder pass = encoder.BeginComputePass(); in TestDispatch() local 44 pass.SetPipeline(pipeline); in TestDispatch() 45 pass.Dispatch(x, y, z); in TestDispatch() 46 pass.EndPass(); in TestDispatch()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 418 struct test_sockmap_pass_prog *pass; in test_sockmap_skb_verdict_fionread() local 423 pass = test_sockmap_pass_prog__open_and_load(); in test_sockmap_skb_verdict_fionread() 424 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_fionread() 426 verdict = bpf_program__fd(pass->progs.prog_skb_verdict); in test_sockmap_skb_verdict_fionread() 427 map = bpf_map__fd(pass->maps.sock_map_rx); in test_sockmap_skb_verdict_fionread() 473 test_sockmap_pass_prog__destroy(pass); in test_sockmap_skb_verdict_fionread() 481 struct test_sockmap_pass_prog *pass; in test_sockmap_skb_verdict_peek() local 485 pass = test_sockmap_pass_prog__open_and_load(); in test_sockmap_skb_verdict_peek() 486 if (!ASSERT_OK_PTR(pass, "open_and_load")) in test_sockmap_skb_verdict_peek() 488 verdict = bpf_program__fd(pass in test_sockmap_skb_verdict_peek() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | png.c | 26 /* Mask to determine which y pixels are valid in a pass */ 53 /* compute the row size of an interleaved pass */ 54 int ff_png_pass_row_size(int pass, int bits_per_pixel, int width) in ff_png_pass_row_size() argument 58 xmin = ff_png_pass_xmin[pass]; in ff_png_pass_row_size() 61 shift = ff_png_pass_xshift[pass]; in ff_png_pass_row_size()
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngread.c | 395 png_debug2(1, "in png_read_row (row %lu, pass %d)", in png_read_row() 396 (unsigned long)png_ptr->row_number, png_ptr->pass); in png_read_row() 399 * interlace pass. in png_read_row() 413 if (png_ptr->row_number == 0 && png_ptr->pass == 0) in png_read_row() 464 switch (png_ptr->pass) in png_read_row() 596 if (png_ptr->pass < 6) in png_read_row() 597 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass, in png_read_row() 619 (*(png_ptr->read_row_fn))(png_ptr, png_ptr->row_number, png_ptr->pass); in png_read_row() 627 * contain the contents of the rows from the previous pass. If the 633 * as they arrive. If the image is displayed after each pass, i 926 int pass, j; png_read_image() local 3231 int pass; png_image_read_and_map() local 3548 int pass; png_image_read_composite() local 3656 int pass, passes; png_image_read_background() local [all...] |
/third_party/openssl/test/helpers/ |
H A D | pkcs12.c | 175 if (!TEST_true(PKCS12_set_mac(p12, mac->pass, strlen(mac->pass), in generate_p12() 265 && TEST_true(PKCS12_verify_mac(p12, mac->pass, strlen(mac->pass))); in check_p12_mac() 295 enc->iter, enc->pass))) in end_contentinfo_encrypted() 299 enc->iter, enc->pass, test_ctx, in end_contentinfo_encrypted() 322 bags = PKCS12_unpack_p7encdata(p7, enc->pass, strlen(enc->pass)); in STACK_OF() 427 bag = PKCS12_add_key(&pb->bags, pkey, 0 /*keytype*/, enc->iter, enc->nid, enc->pass); in add_keybag() 429 bag = PKCS12_add_key_ex(&pb->bags, pkey, 0 /*keytype*/, enc->iter, enc->nid, enc->pass, in add_keybag() [all...] |
/third_party/node/test/parallel/ |
H A D | test-runner-cli.js | 32 assert.match(stdout, /ok 1 - this should pass/); 35 assert.match(stdout, /ok 4 - this should pass/); 46 assert.match(stdout, /ok 1 - this should pass/); 49 assert.match(stdout, /ok 4 - this should pass/); 91 assert.match(stdout, /ok 1 - this should pass/); 94 assert.match(stdout, /ok 4 - this should pass/); 134 assert.match(stdout, /# Subtest: this should pass/); 135 assert.match(stdout, /ok 1 - this should pass/); 163 assert.match(stdout, /# pass 4/); 192 assert.match(stdout, /# pass [all...] |