/third_party/ltp/include/ |
H A D | tst_fuzzy_sync.h | 23 * tst_fzsync_pair_reset(&pair, run_thread_b); 24 * while (tst_fzsync_run_a(&pair)) { 26 * tst_fzsync_start_race_a(&pair); 28 * tst_fzsync_end_race_a(&pair); 33 * while (tst_fzsync_run_b(&pair)) { 34 * tst_fzsync_start_race_b(&pair); 36 * tst_fzsync_end_race_b(&pair) 187 pair->param = (pair->param ? pair 203 tst_fzsync_pair_init(struct tst_fzsync_pair *pair) tst_fzsync_pair_init() argument 222 tst_fzsync_pair_cleanup(struct tst_fzsync_pair *pair) tst_fzsync_pair_cleanup() argument 262 tst_fzsync_pair_reset(struct tst_fzsync_pair *pair, void *(*run_b)(void *)) tst_fzsync_pair_reset() argument 305 tst_fzsync_pair_info(struct tst_fzsync_pair *pair) tst_fzsync_pair_info() argument 458 tst_fzsync_pair_update(struct tst_fzsync_pair *pair) tst_fzsync_pair_update() argument 606 tst_fzsync_wait_a(struct tst_fzsync_pair *pair) tst_fzsync_wait_a() argument 618 tst_fzsync_wait_b(struct tst_fzsync_pair *pair) tst_fzsync_wait_b() argument 635 tst_fzsync_run_a(struct tst_fzsync_pair *pair) tst_fzsync_run_a() argument 675 tst_fzsync_run_b(struct tst_fzsync_pair *pair) tst_fzsync_run_b() argument 699 tst_fzsync_start_race_a(struct tst_fzsync_pair *pair) tst_fzsync_start_race_a() argument 727 tst_fzsync_end_race_a(struct tst_fzsync_pair *pair) tst_fzsync_end_race_a() argument 740 tst_fzsync_start_race_b(struct tst_fzsync_pair *pair) tst_fzsync_start_race_b() argument 766 tst_fzsync_end_race_b(struct tst_fzsync_pair *pair) tst_fzsync_end_race_b() argument 797 tst_fzsync_pair_add_bias(struct tst_fzsync_pair *pair, int change) tst_fzsync_pair_add_bias() argument [all...] |
/third_party/protobuf/js/experimental/runtime/kernel/ |
H A D | reader_test.js | 46 for (const pair of getBoolPairs()) { 47 it(`decode ${pair.name}`, () => { 48 if (pair.error && CHECK_CRITICAL_STATE) { 49 expect(() => reader.readBool(pair.bufferDecoder, 0)).toThrow(); 52 pair.bufferDecoder, pair.bufferDecoder.startIndex()); 53 expect(d).toEqual(pair.boolValue); 79 for (const pair of getDoublePairs()) { 80 it(`decode ${pair.name}`, () => { 81 const d = reader.readDouble(pair [all...] |
H A D | writer_test.js | 252 for (const pair of getDoublePairs()) { 253 it(`encode ${pair.name}`, () => { 254 writer.writeDouble(1, pair.doubleValue); 261 .toEqual(pair.bufferDecoder.asUint8Array()); 287 for (const pair of getFixed32Pairs()) { 288 it(`encode ${pair.name}`, () => { 289 writer.writeFixed32(1, pair.intValue); 295 expect(buffer.subarray(1, 5)).toEqual(pair.bufferDecoder.asUint8Array()); 306 for (const pair of getFloatPairs()) { 307 it(`encode ${pair [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_context.cpp | 37 const std::pair<uint32_t, uint32_t> 39 const std::pair<uint32_t, uint32_t> kChanceOfAddingAccessChain = {5, 50}; 40 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherPassToPassLoop = {50, 42 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherStructField = {20, 44 const std::pair<uint32_t, uint32_t> kChanceOfAddingArrayOrStructType = {20, 90}; 45 const std::pair<uint32_t, uint32_t> KChanceOfAddingAtomicLoad = {30, 90}; 46 const std::pair<uint32_t, uint32_t> KChanceOfAddingAtomicStore = {20, 90}; 47 const std::pair<uint32_t, uint32_t> kChanceOfAddingBitInstructionSynonym = {5, 49 const std::pair<uint32_t, uint32_t> 51 const std::pair<uint32_ [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_context.cpp | 37 const std::pair<uint32_t, uint32_t> 39 const std::pair<uint32_t, uint32_t> kChanceOfAddingAccessChain = {5, 50}; 40 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherPassToPassLoop = {50, 42 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherStructField = {20, 44 const std::pair<uint32_t, uint32_t> kChanceOfAddingArrayOrStructType = {20, 90}; 45 const std::pair<uint32_t, uint32_t> KChanceOfAddingAtomicLoad = {30, 90}; 46 const std::pair<uint32_t, uint32_t> KChanceOfAddingAtomicStore = {20, 90}; 47 const std::pair<uint32_t, uint32_t> kChanceOfAddingBitInstructionSynonym = {5, 49 const std::pair<uint32_t, uint32_t> 51 const std::pair<uint32_ [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_context.cpp | 37 const std::pair<uint32_t, uint32_t> 39 const std::pair<uint32_t, uint32_t> kChanceOfAddingAccessChain = {5, 50}; 40 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherPassToPassLoop = {50, 42 const std::pair<uint32_t, uint32_t> kChanceOfAddingAnotherStructField = {20, 44 const std::pair<uint32_t, uint32_t> kChanceOfAddingArrayOrStructType = {20, 90}; 45 const std::pair<uint32_t, uint32_t> KChanceOfAddingAtomicLoad = {30, 90}; 46 const std::pair<uint32_t, uint32_t> KChanceOfAddingAtomicStore = {20, 90}; 47 const std::pair<uint32_t, uint32_t> kChanceOfAddingBitInstructionSynonym = {5, 49 const std::pair<uint32_t, uint32_t> 51 const std::pair<uint32_ [all...] |
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local 48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete() 49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete() 50 pair->pos = 0; in fsl_asrc_dma_complete() 60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local 68 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit() 69 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit() 70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit() 74 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit() 79 pair in fsl_asrc_dma_prepare_and_submit() 101 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_trigger() local 138 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_params() local 313 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_free() local 338 struct fsl_asrc_pair *pair; fsl_asrc_dma_startup() local 410 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_shutdown() local 431 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_pcm_pointer() local [all...] |
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local 48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete() 49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete() 50 pair->pos = 0; in fsl_asrc_dma_complete() 60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local 68 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit() 69 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit() 70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit() 74 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit() 79 pair in fsl_asrc_dma_prepare_and_submit() 101 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_trigger() local 137 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_params() local 299 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_free() local 326 struct fsl_asrc_pair *pair; fsl_asrc_dma_startup() local 398 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_shutdown() local 419 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_pcm_pointer() local [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_pair.c | 38 int rc_pair_alloc_source(struct rc_pair_instruction *pair, in rc_pair_alloc_source() argument 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source() 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source() 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 67 if (pair->RGB.Src[i].Used) { in rc_pair_alloc_source() 68 if (pair->RGB.Src[i].File != file || in rc_pair_alloc_source() 69 pair->RGB.Src[i].Index != index) { in rc_pair_alloc_source() 77 if (pair->Alpha.Src[i].Used) { in rc_pair_alloc_source() 78 if (pair in rc_pair_alloc_source() 131 pair_foreach_source_callback( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb, unsigned int swz, unsigned int src) pair_foreach_source_callback() argument 169 rc_pair_foreach_source_that_alpha_reads( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb) rc_pair_foreach_source_that_alpha_reads() argument 184 rc_pair_foreach_source_that_rgb_reads( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb) rc_pair_foreach_source_that_rgb_reads() argument [all...] |
H A D | radeon_pair_translate.c | 148 * Fill the given ALU instruction's opcodes and source operands into the given pair, 152 struct rc_pair_instruction * pair, in set_pair_instruction() 159 memset(pair, 0, sizeof(struct rc_pair_instruction)); in set_pair_instruction() 165 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA; in set_pair_instruction() 167 pair->RGB.Opcode = inst->Opcode; in set_pair_instruction() 169 pair->RGB.Saturate = 1; in set_pair_instruction() 172 pair->Alpha.Opcode = inst->Opcode; in set_pair_instruction() 174 pair->Alpha.Saturate = 1; in set_pair_instruction() 184 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */ in set_pair_instruction() 198 pair in set_pair_instruction() 151 set_pair_instruction(struct r300_fragment_program_compiler *c, struct rc_pair_instruction * pair, struct rc_sub_instruction * inst) set_pair_instruction() argument [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationFastLatin.java | 95 * Use INDEX_MASK to find the pair of CEs after the fixed table. 298 * Single mini CE or a pair. in compareUTF16() 741 private static int getPrimaries(int variableTop, int pair) { in getPrimaries() argument 742 int ce = pair & 0xffff; in getPrimaries() 743 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; } in getPrimaries() 744 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries() 746 return pair; // special mini CE in getPrimaries() 758 private static int getSecondaries(int variableTop, int pair) { in getSecondaries() argument 759 if(pair <= 0xffff) { in getSecondaries() 761 if(pair > in getSecondaries() 783 getCases(int variableTop, boolean strengthIsPrimary, int pair) getCases() argument 823 getTertiaries(int variableTop, boolean withCaseBits, int pair) getTertiaries() argument 873 getQuaternaries(int variableTop, int pair) getQuaternaries() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationFastLatin.java | 99 * Use INDEX_MASK to find the pair of CEs after the fixed table. 302 * Single mini CE or a pair. in compareUTF16() 745 private static int getPrimaries(int variableTop, int pair) { in getPrimaries() argument 746 int ce = pair & 0xffff; in getPrimaries() 747 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; } in getPrimaries() 748 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries() 750 return pair; // special mini CE in getPrimaries() 762 private static int getSecondaries(int variableTop, int pair) { in getSecondaries() argument 763 if(pair <= 0xffff) { in getSecondaries() 765 if(pair > in getSecondaries() 787 getCases(int variableTop, boolean strengthIsPrimary, int pair) getCases() argument 827 getTertiaries(int variableTop, boolean withCaseBits, int pair) getTertiaries() argument 877 getQuaternaries(int variableTop, int pair) getQuaternaries() argument [all...] |
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | sys_riscv.c | 85 static void hwprobe_arch_id(struct riscv_hwprobe *pair, in hwprobe_arch_id() argument 95 switch (pair->key) { in hwprobe_arch_id() 122 pair->value = id; in hwprobe_arch_id() 125 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, in hwprobe_isa_ext0() argument 131 pair->value = 0; in hwprobe_isa_ext0() 133 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0() 136 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0() 139 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0() 149 pair->value |= RISCV_HWPROBE_EXT_ZBA; in hwprobe_isa_ext0() 154 pair in hwprobe_isa_ext0() 191 hwprobe_one_pair(struct riscv_hwprobe *pair, const struct cpumask *cpus) hwprobe_one_pair() argument 269 struct riscv_hwprobe pair; do_riscv_hwprobe() local 294 struct riscv_hwprobe pair; init_hwprobe_vdso_data() local [all...] |
/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/ |
H A D | statistics_callback_observer.cpp | 31 auto pair = new std::pair<std::string, uint32_t>; in NetIfaceStatsChanged() local 32 pair->first = iface; in NetIfaceStatsChanged() 33 pair->second = KEY_UID_ARG; in NetIfaceStatsChanged() 34 StatisticsObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in NetIfaceStatsChanged() 45 auto pair = new std::pair<std::string, uint32_t>; in NetUidStatsChanged() local 46 pair->first = iface; in NetUidStatsChanged() 47 pair->second = uid; in NetUidStatsChanged() 48 StatisticsObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in NetUidStatsChanged() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 113 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local 124 pair = first_pair; in test__vmlinux_matches_kallsyms() 126 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms() 128 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms() 138 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms() 142 UM(pair->end)); in test__vmlinux_matches_kallsyms() 152 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms() 153 if (pair) { in test__vmlinux_matches_kallsyms() 154 if (UM(pair in test__vmlinux_matches_kallsyms() 193 pair = maps__find_by_name(&kallsyms.kmaps, (map->dso->kernel ? test__vmlinux_matches_kallsyms() local 210 struct map *pair; test__vmlinux_matches_kallsyms() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
H A D | int128_test.cc | 698 for (const HighLowPair& pair : values) { in TEST() 699 absl::int128 value = absl::MakeInt128(pair.high, pair.low); in TEST() 700 EXPECT_EQ(pair.low, absl::Int128Low64(value)); in TEST() 701 EXPECT_EQ(pair.high, absl::Int128High64(value)); in TEST() 747 for (const TestCase& pair : cases) { in TEST() 748 SCOPED_TRACE(::testing::Message() << "pair.smaller = " << pair.smaller in TEST() 749 << "; pair.larger = " << pair in TEST() [all...] |
H A D | int128_benchmark.cc | 38 std::vector<std::pair<T, T>> GetRandomClass128SampleUniformDivisor() { in GetRandomClass128SampleUniformDivisor() 39 std::vector<std::pair<T, T>> values; in GetRandomClass128SampleUniformDivisor() 55 for (const auto& pair : values) { in BM_DivideClass128UniformDivisor() 56 benchmark::DoNotOptimize(pair.first / pair.second); in BM_DivideClass128UniformDivisor() 67 for (const auto& pair : values) { in BM_RemainderClass128UniformDivisor() 68 benchmark::DoNotOptimize(pair.first % pair.second); in BM_RemainderClass128UniformDivisor() 78 std::vector<std::pair<T, H>> GetRandomClass128SampleSmallDivisor() { in GetRandomClass128SampleSmallDivisor() 79 std::vector<std::pair< in GetRandomClass128SampleSmallDivisor() [all...] |
/third_party/cups-filters/fontembed/ |
H A D | frequent.c | 11 struct { intptr_t key; int count,zero; } pair[]; member 18 FREQUENT *ret=malloc(sizeof(ret[0])+sizeof(ret->pair[0])*size); in frequent_new() 27 ret->pair[iA].key=INTPTR_MIN; in frequent_new() 28 ret->pair[iA].count=0; in frequent_new() 29 ret->pair[iA].zero=0; in frequent_new() 41 if (freq->pair[iA].key==key) { in frequent_add() 42 freq->pair[iA].count++; in frequent_add() 45 } else if (freq->pair[iA].count==freq->czero) { in frequent_add() 50 freq->pair[zero].key=key; in frequent_add() 51 freq->pair[zer in frequent_add() [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | UpdateProduce.cpp | 19 const CUpdatePair &pair = updatePairs[i];
in UpdateProduce() local 22 up2.DirIndex = pair.DirIndex;
in UpdateProduce() 23 up2.ArcIndex = pair.ArcIndex;
in UpdateProduce() 27 switch (actionSet.StateActions[(unsigned)pair.State])
in UpdateProduce() 30 if (pair.ArcIndex >= 0 && callback)
in UpdateProduce() 31 callback->ShowDeleteFile((unsigned)pair.ArcIndex);
in UpdateProduce() 35 if (pair.State == NPairState::kOnlyOnDisk)
in UpdateProduce() 37 if (pair.State == NPairState::kOnlyInArchive)
in UpdateProduce() 39 if (pair.HostIndex >= 0)
in UpdateProduce() 46 if (updatePairs[(unsigned)pair in UpdateProduce() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_node_map.cpp | 109 [](const auto& pair) -> bool { in GetVisibleLeashWindowCount() 110 return pair.second && pair.second->IsLeashWindowSurfaceNodeVisible(); in GetVisibleLeashWindowCount() 118 [nodePid](const auto& pair) -> bool { return ExtractPid(pair.first) == nodePid; }); in IsResidentProcessNode() 215 EraseIf(renderNodeMap_, [pid, useBatchRemoving](const auto& pair) -> bool { in FilterNodeByPid() 216 if (ExtractPid(pair.first) != pid) { in FilterNodeByPid() 219 if (pair.second == nullptr) { in FilterNodeByPid() 223 RSRenderNodeGC::Instance().AddToOffTreeNodeBucket(pair.second); in FilterNodeByPid() 225 if (auto parent = pair in FilterNodeByPid() [all...] |
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/ |
H A D | interface_state_observer.cpp | 34 auto pair = new std::pair<std::string, bool>(iface, true); in OnInterfaceAdded() local 35 InterfaceStateObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in OnInterfaceAdded() 46 auto pair = new std::pair<std::string, bool>(iface, false); in OnInterfaceRemoved() local 47 InterfaceStateObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in OnInterfaceRemoved() 58 auto pair = new std::pair<std::string, bool>(iface, up); in OnInterfaceChanged() local 59 InterfaceStateObserverWrapper::GetInstance().GetEventManager()->EmitByUv(EVENT_STATS_CHANGE, pair, in OnInterfaceChanged() 66 auto pair(reinterpret_cas in CreateIfaceChangedParam() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | vmlinux-kallsyms.c | 217 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local 228 pair = first_pair; in test__vmlinux_matches_kallsyms() 230 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms() 232 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms() 242 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms() 246 UM(pair->end)); in test__vmlinux_matches_kallsyms() 256 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms() 257 if (pair) { in test__vmlinux_matches_kallsyms() 258 if (UM(pair in test__vmlinux_matches_kallsyms() 303 struct map *pair = maps__find_by_name(kallsyms.kmaps, (dso->kernel ? test__vmlinux_matches_kallsyms() local 320 struct map *pair, *map = rb_node->map; test__vmlinux_matches_kallsyms() local [all...] |
/third_party/node/test/sequential/ |
H A D | test-tls-securepair-client.js | 52 function check(pair) { 54 assert.strictEqual(pair.cleartext.getPeerCertificate().ext_key_usage.length, 56 assert.strictEqual(pair.cleartext.getPeerCertificate().ext_key_usage[0], 131 const pair = tls.createSecurePair(sslcontext, false); 133 assert.ok(pair.encrypted.writable); 134 assert.ok(pair.cleartext.writable); 136 pair.encrypted.pipe(s); 137 s.pipe(pair.encrypted); 144 pair.cleartext.write('hello\r\n', function() { 150 pair [all...] |
/third_party/node/test/parallel/ |
H A D | test-webcrypto-wrap-unwrap.js | 19 pair: true 24 pair: false 29 pair: false 38 pair: false 43 pair: false 53 if (kWrappingData[name].pair) { 74 pair: true, 85 pair: true, 96 pair: true, 105 pair [all...] |
/third_party/ltp/lib/newlib_tests/ |
H A D | tst_fuzzy_sync03.c | 21 static struct tst_fzsync_pair pair; variable 27 pair.exec_loops = LOOPS; in setup() 28 tst_fzsync_pair_init(&pair); in setup() 35 for (i = 0; tst_fzsync_run_b(&pair); i++) { in worker() 36 tst_fzsync_start_race_b(&pair); in worker() 39 tst_fzsync_end_race_b(&pair); in worker() 57 tst_fzsync_pair_reset(&pair, worker); in run() 58 for (i = 0; tst_fzsync_run_a(&pair); i++) { in run() 59 tst_fzsync_start_race_a(&pair); in run() 63 tst_fzsync_end_race_a(&pair); in run() [all...] |