Home
last modified time | relevance | path

Searched refs:rd (Results 1 – 25 of 1083) sorted by relevance

12345678910>>...44

/external/iproute2/rdma/
Dlink.c14 static int link_help(struct rd *rd) in link_help() argument
16 pr_out("Usage: %s link show [DEV/PORT_INDEX]\n", rd->filename); in link_help()
59 static void link_print_caps(struct rd *rd, struct nlattr **tb) in link_print_caps() argument
69 if (rd->json_output) { in link_print_caps()
70 jsonw_name(rd->jw, "caps"); in link_print_caps()
71 jsonw_start_array(rd->jw); in link_print_caps()
77 if (rd->json_output) { in link_print_caps()
78 jsonw_string(rd->jw, caps_to_str(idx)); in link_print_caps()
88 if (rd->json_output) in link_print_caps()
89 jsonw_end_array(rd->jw); in link_print_caps()
[all …]
Dutils.c14 static int rd_argc(struct rd *rd) in rd_argc() argument
16 return rd->argc; in rd_argc()
19 char *rd_argv(struct rd *rd) in rd_argv() argument
21 if (!rd_argc(rd)) in rd_argv()
23 return *rd->argv; in rd_argv()
33 static bool rd_argv_match(struct rd *rd, const char *pattern) in rd_argv_match() argument
35 if (!rd_argc(rd)) in rd_argv_match()
37 return strcmpx(rd_argv(rd), pattern) == 0; in rd_argv_match()
40 void rd_arg_inc(struct rd *rd) in rd_arg_inc() argument
42 if (!rd_argc(rd)) in rd_arg_inc()
[all …]
Ddev.c14 static int dev_help(struct rd *rd) in dev_help() argument
16 pr_out("Usage: %s dev show [DEV]\n", rd->filename); in dev_help()
69 static void dev_print_caps(struct rd *rd, struct nlattr **tb) in dev_print_caps() argument
79 if (rd->json_output) { in dev_print_caps()
80 jsonw_name(rd->jw, "caps"); in dev_print_caps()
81 jsonw_start_array(rd->jw); in dev_print_caps()
87 if (rd->json_output) { in dev_print_caps()
88 jsonw_string(rd->jw, dev_caps_to_str(idx)); in dev_print_caps()
98 if (rd->json_output) in dev_print_caps()
99 jsonw_end_array(rd->jw); in dev_print_caps()
[all …]
Drdma.c22 static int cmd_help(struct rd *rd) in cmd_help() argument
24 help(rd->filename); in cmd_help()
28 static int rd_cmd(struct rd *rd) in rd_cmd() argument
38 return rd_exec_cmd(rd, cmds, "object"); in rd_cmd()
41 static int rd_init(struct rd *rd, int argc, char **argv, char *filename) in rd_init() argument
46 rd->filename = filename; in rd_init()
47 rd->argc = argc; in rd_init()
48 rd->argv = argv; in rd_init()
49 INIT_LIST_HEAD(&rd->dev_map_list); in rd_init()
51 if (rd->json_output) { in rd_init()
[all …]
Drdma.h39 struct rd { struct
57 int (*func)(struct rd *rd); argument
63 bool rd_no_arg(struct rd *rd);
64 void rd_arg_inc(struct rd *rd);
66 char *rd_argv(struct rd *rd);
67 uint32_t get_port_from_argv(struct rd *rd);
72 int cmd_dev(struct rd *rd);
73 int cmd_link(struct rd *rd);
74 int rd_exec_cmd(struct rd *rd, const struct rd_cmd *c, const char *str);
79 void rd_free_devmap(struct rd *rd);
[all …]
/external/vixl/src/aarch32/
Dmacro-assembler-aarch32.h552 void Adr(Condition cond, Register rd, RawLiteral* literal) { in Adr() argument
553 VIXL_ASSERT(!AliasesAvailableScratchRegister(rd)); in Adr()
560 bool can_encode = adr_info(cond, Best, rd, literal, &info); in Adr()
568 adr(cond, Best, rd, literal); in Adr()
571 void Adr(Register rd, RawLiteral* literal) { Adr(al, rd, literal); } in Adr() argument
704 void Vldr(Condition cond, DataType dt, DRegister rd, RawLiteral* literal) { in Vldr() argument
705 VIXL_ASSERT(!AliasesAvailableScratchRegister(rd)); in Vldr()
712 bool can_encode = vldr_info(cond, dt, rd, literal, &info); in Vldr()
720 vldr(cond, dt, rd, literal); in Vldr()
723 void Vldr(DataType dt, DRegister rd, RawLiteral* literal) { in Vldr() argument
[all …]
Dassembler-aarch32.h246 Register rd,
250 Register rd,
252 typedef void (Assembler::*InstructionROp)(Register rd,
255 Register rd,
260 Register rd,
263 QRegister rd,
269 Register rd,
273 Condition cond, Register rd, Register rn, uint32_t lsb, uint32_t width);
281 Register rd,
288 Register rd,
[all …]
Ddisasm-aarch32.h612 Register rd,
618 Register rd,
624 Register rd,
628 void add(Condition cond, Register rd, const Operand& operand);
632 Register rd,
636 void adds(Register rd, const Operand& operand);
638 void addw(Condition cond, Register rd, Register rn, const Operand& operand);
640 void adr(Condition cond, EncodingSize size, Register rd, Location* location);
644 Register rd,
650 Register rd,
[all …]
Ddisasm-aarch32.cc1129 Register rd, in adc() argument
1135 if (!rd.Is(rn) || !use_short_hand_form_) { in adc()
1136 os() << rd << ", "; in adc()
1143 Register rd, in adcs() argument
1149 if (!rd.Is(rn) || !use_short_hand_form_) { in adcs()
1150 os() << rd << ", "; in adcs()
1157 Register rd, in add() argument
1163 if (!rd.Is(rn) || !use_short_hand_form_) { in add()
1164 os() << rd << ", "; in add()
1169 void Disassembler::add(Condition cond, Register rd, const Operand& operand) { in add() argument
[all …]
Dassembler-aarch32.cc1925 Register rd, in adc() argument
1936 ((!rd.IsPC() && !rn.IsPC()) || AllowUnpredictable())) { in adc()
1937 EmitT32_32(0xf1400000U | (rd.GetCode() << 8) | (rn.GetCode() << 16) | in adc()
1949 (rd.GetCode() << 12) | (rn.GetCode() << 16) | in adc()
1960 if (InITBlock() && !size.IsWide() && rd.Is(rn) && rn.IsLow() && in adc()
1962 EmitT32_16(0x4140 | rd.GetCode() | (rm.GetCode() << 3)); in adc()
1973 ((!rd.IsPC() && !rn.IsPC() && !rm.IsPC()) || AllowUnpredictable())) { in adc()
1975 EmitT32_32(0xeb400000U | (rd.GetCode() << 8) | (rn.GetCode() << 16) | in adc()
1986 (rd.GetCode() << 12) | (rn.GetCode() << 16) | rm.GetCode() | in adc()
1999 ((!rd.IsPC() && !rn.IsPC() && !rm.IsPC() && !rs.IsPC()) || in adc()
[all …]
/external/u-boot/post/lib_powerpc/
Dcpu_asm.h113 #define ASM_1(opcode, rd) ((opcode) + \ argument
114 ((rd) << 21))
117 #define ASM_11(opcode, rd, rs) ((opcode) + \ argument
118 ((rd) << 21) + \
123 #define ASM_11X(opcode, rd, rs) ((opcode) + \ argument
125 ((rd) << 16))
126 #define ASM_11I(opcode, rd, rs, simm) ((opcode) + \ argument
127 ((rd) << 21) + \
130 #define ASM_11IF(opcode, rd, rs, simm) ((opcode) + \ argument
131 ((rd) << 21) + \
[all …]
/external/v8/src/arm64/
Dmacro-assembler-arm64-inl.h27 void TurboAssembler::And(const Register& rd, const Register& rn, in And() argument
30 DCHECK(!rd.IsZero()); in And()
31 LogicalMacro(rd, rn, operand, AND); in And()
34 void TurboAssembler::Ands(const Register& rd, const Register& rn, in Ands() argument
37 DCHECK(!rd.IsZero()); in Ands()
38 LogicalMacro(rd, rn, operand, ANDS); in Ands()
46 void TurboAssembler::Bic(const Register& rd, const Register& rn, in Bic() argument
49 DCHECK(!rd.IsZero()); in Bic()
50 LogicalMacro(rd, rn, operand, BIC); in Bic()
54 void MacroAssembler::Bics(const Register& rd, in Bics() argument
[all …]
Dsimulator-arm64.cc2735 SimVRegister& rd = vreg(instr->Rd()); in VisitFPDataProcessing1Source() local
2781 fsqrt(vform, rd, rn); in VisitFPDataProcessing1Source()
2817 frint(vform, rd, rn, fpcr_rounding, inexact_exception); in VisitFPDataProcessing1Source()
2826 SimVRegister& rd = vreg(instr->Rd()); in VisitFPDataProcessing2Source() local
2833 fadd(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
2837 fsub(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
2841 fmul(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
2845 fnmul(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
2849 fdiv(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
2853 fmax(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
[all …]
/external/libaom/libaom/av1/encoder/
Drd.c442 static void set_block_thresholds(const AV1_COMMON *cm, RD_OPT *rd) { in set_block_thresholds() argument
459 rd->threshes[segment_id][bsize][i] = rd->thresh_mult[i] < thresh_max in set_block_thresholds()
460 ? rd->thresh_mult[i] * t / 4 in set_block_thresholds()
573 RD_OPT *const rd = &cpi->rd; in av1_initialize_rd_consts() local
577 rd->RDMULT = av1_compute_rd_mult(cpi, cm->base_qindex + cm->y_dc_delta_q); in av1_initialize_rd_consts()
579 set_error_per_bit(x, rd->RDMULT); in av1_initialize_rd_consts()
581 set_block_thresholds(cm, rd); in av1_initialize_rd_consts()
1086 RD_OPT *const rd = &cpi->rd; in av1_set_rd_speed_thresholds() local
1090 for (i = 0; i < MAX_MODES; ++i) rd->thresh_mult[i] = cpi->oxcf.mode == 0; in av1_set_rd_speed_thresholds()
1093 rd->thresh_mult[THR_NEARESTMV] = 300; in av1_set_rd_speed_thresholds()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcInstrAliases.td15 // mov<cond> <ccreg> rs2, rd
20 // mov<cond> (%icc|%xcc), rs2, rd
22 ", $rs2, $rd"),
23 (movrr IntRegs:$rd, IntRegs:$rs2, condVal)>;
25 // mov<cond> (%icc|%xcc), simm11, rd
27 ", $simm11, $rd"),
28 (movri IntRegs:$rd, i32imm:$simm11, condVal)>;
30 // fmovs<cond> (%icc|%xcc), $rs2, $rd
32 ", $rs2, $rd"),
33 (fmovs FPRegs:$rd, FPRegs:$rs2, condVal)>;
[all …]
DSparcInstrVIS.td21 (outs RC:$rd), (ins RC:$rs1, RC:$rs2),
22 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>;
27 (outs I64Regs:$rd), (ins DFPRegs:$rs1, DFPRegs:$rs2),
28 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>;
31 let rd = 0, rs1 = 0, rs2 = 0 in
35 // For VIS Instructions with only rs1, rd operands.
39 (outs RC:$rd), (ins RC:$rs1),
40 !strconcat(OpcStr, " $rs1, $rd"), []>;
42 // For VIS Instructions with only rs2, rd operands.
46 (outs RC:$rd), (ins RC:$rs2),
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcInstrAliases.td15 // mov<cond> <ccreg> rs2, rd
20 // mov<cond> (%icc|%xcc), rs2, rd
22 ", $rs2, $rd"),
23 (movrr IntRegs:$rd, IntRegs:$rs2, condVal)>;
25 // mov<cond> (%icc|%xcc), simm11, rd
27 ", $simm11, $rd"),
28 (movri IntRegs:$rd, i32imm:$simm11, condVal)>;
30 // fmovs<cond> (%icc|%xcc), $rs2, $rd
32 ", $rs2, $rd"),
33 (fmovs FPRegs:$rd, FPRegs:$rs2, condVal)>;
[all …]
DSparcInstrVIS.td21 (outs RC:$rd), (ins RC:$rs1, RC:$rs2),
22 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>;
27 (outs I64Regs:$rd), (ins DFPRegs:$rs1, DFPRegs:$rs2),
28 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>;
31 let rd = 0, rs1 = 0, rs2 = 0 in
35 // For VIS Instructions with only rs1, rd operands.
39 (outs RC:$rd), (ins RC:$rs1),
40 !strconcat(OpcStr, " $rs1, $rd"), []>;
42 // For VIS Instructions with only rs2, rd operands.
46 (outs RC:$rd), (ins RC:$rs2),
[all …]
/external/u-boot/arch/arm/include/debug/
D8250.S15 .macro store, rd, rx:vararg
16 str \rd, \rx
19 .macro load, rd, rx:vararg
20 ldr \rd, \rx
23 .macro store, rd, rx:vararg
24 strb \rd, \rx
27 .macro load, rd, rx:vararg
28 ldrb \rd, \rx
34 .macro senduart,rd,rx
35 store \rd, [\rx, #UART_TX << UART_SHIFT]
[all …]
/external/python/cpython3/Lib/test/
Dtest_selectors.py53 rd, wr = socketpair()
54 self.addCleanup(rd.close)
56 return rd, wr
62 rd, wr = self.make_socketpair()
64 key = s.register(rd, selectors.EVENT_READ, "data")
66 self.assertEqual(key.fileobj, rd)
67 self.assertEqual(key.fd, rd.fileno())
78 self.assertRaises(KeyError, s.register, rd, selectors.EVENT_READ)
81 self.assertRaises(KeyError, s.register, rd.fileno(),
88 rd, wr = self.make_socketpair()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Dload-store.ll5 ; CHECK: ld.u8 %rs{{[0-9]+}}, [%rd{{[0-9]+}}]
8 ; CHECK: st.u8 [%rd{{[0-9]+}}], %rs{{[0-9]+}}
11 ; CHECK: ld.u16 %rs{{[0-9]+}}, [%rd{{[0-9]+}}]
14 ; CHECK: st.u16 [%rd{{[0-9]+}}], %rs{{[0-9]+}}
17 ; CHECK: ld.u32 %r{{[0-9]+}}, [%rd{{[0-9]+}}]
20 ; CHECK: st.u32 [%rd{{[0-9]+}}], %r{{[0-9]+}}
23 ; CHECK: ld.u64 %rd{{[0-9]+}}, [%rd{{[0-9]+}}]
26 ; CHECK: st.u64 [%rd{{[0-9]+}}], %rd{{[0-9]+}}
34 ; CHECK: ld.volatile.u8 %rs{{[0-9]+}}, [%rd{{[0-9]+}}]
37 ; CHECK: st.volatile.u8 [%rd{{[0-9]+}}], %rs{{[0-9]+}}
[all …]
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc3312 SimVRegister& rd = ReadVRegister(instr->GetRd()); in VisitFPDataProcessing1Source() local
3368 fsqrt(vform, rd, rn); in VisitFPDataProcessing1Source()
3411 frint(vform, rd, rn, fpcr_rounding, inexact_exception); in VisitFPDataProcessing1Source()
3434 SimVRegister& rd = ReadVRegister(instr->GetRd()); in VisitFPDataProcessing2Source() local
3442 fadd(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
3447 fsub(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
3452 fmul(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
3457 fnmul(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
3462 fdiv(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
3467 fmax(vform, rd, rn, rm); in VisitFPDataProcessing2Source()
[all …]
/external/icu/icu4c/source/test/cintltst/
Duregiontest.c362 const KnownRegion * rd; in TestKnownRegions() local
363 for (rd = knownRegions; rd->code != NULL ; rd++ ) { in TestKnownRegions()
365 const URegion *r = uregion_getRegionFromCode(rd->code, &status); in TestKnownRegions()
368 int32_t e = rd->numeric; in TestKnownRegions()
372 if (uregion_getType(r) != rd->type) { in TestKnownRegions()
373 …Expected region %s to be of type %d. Got: %d\n", uregion_getRegionCode(r), rd->type, uregion_getTy… in TestKnownRegions()
383 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code); in TestKnownRegions()
389 const KnownRegion * rd; in TestGetContainedRegions() local
390 for (rd = knownRegions; rd->code != NULL ; rd++ ) { in TestGetContainedRegions()
392 const URegion *r = uregion_getRegionFromCode(rd->code, &status); in TestGetContainedRegions()
[all …]
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer_unittest.cc52 void StructuredTest(SharedRingBuffer* wr, SharedRingBuffer* rd) { in StructuredTest() argument
55 ASSERT_TRUE(wr->size() == rd->size()); in StructuredTest()
63 auto buf_and_size = rd->BeginRead(); in StructuredTest()
66 rd->EndRead(std::move(buf_and_size)); in StructuredTest()
69 auto buf_and_size = rd->BeginRead(); in StructuredTest()
72 rd->EndRead(std::move(buf_and_size)); in StructuredTest()
76 auto buf_and_size = rd->BeginRead(); in StructuredTest()
90 auto buf_and_size = rd->BeginRead(); in StructuredTest()
92 rd->EndRead(std::move(buf_and_size)); in StructuredTest()
100 auto buf_and_size = rd->BeginRead(); in StructuredTest()
[all …]
/external/v8/src/mips64/
Dmacro-assembler-mips64.cc370 void TurboAssembler::Addu(Register rd, Register rs, const Operand& rt) { in Addu() argument
372 addu(rd, rs, rt.rm()); in Addu()
375 addiu(rd, rs, static_cast<int32_t>(rt.immediate())); in Addu()
382 addu(rd, rs, scratch); in Addu()
387 void TurboAssembler::Daddu(Register rd, Register rs, const Operand& rt) { in Daddu() argument
389 daddu(rd, rs, rt.rm()); in Daddu()
392 daddiu(rd, rs, static_cast<int32_t>(rt.immediate())); in Daddu()
399 daddu(rd, rs, scratch); in Daddu()
404 void TurboAssembler::Subu(Register rd, Register rs, const Operand& rt) { in Subu() argument
406 subu(rd, rs, rt.rm()); in Subu()
[all …]

12345678910>>...44