Home
last modified time | relevance | path

Searched refs:op (Results 1 – 20 of 20) sorted by relevance

/system/netd/server/
DFirewallController.cpp77 const char* op; in setInterfaceRule() local
79 op = "-I"; in setInterfaceRule()
81 op = "-D"; in setInterfaceRule()
85 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL); in setInterfaceRule()
86 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL); in setInterfaceRule()
96 const char* op; in setEgressSourceRule() local
98 op = "-I"; in setEgressSourceRule()
100 op = "-D"; in setEgressSourceRule()
104 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
105 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
[all …]
DIdletimerController.cpp189 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, in modifyInterfaceIdletimer() argument
206 (op == IptOpAdd) ? "-A" : "-D", in modifyInterfaceIdletimer()
228 (op == IptOpAdd) ? "-A" : "-D", in modifyInterfaceIdletimer()
DBandwidthController.h133 std::string makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain);
134 std::string makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota);
136 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes);
137 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes);
DBandwidthController.cpp303 std::string BandwidthController::makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain) { in makeIptablesSpecialAppCmd() argument
308 switch (op) { in makeIptablesSpecialAppCmd()
410 IptOp op; in manipulateSpecialApps() local
417 op = IptOpInsert; in manipulateSpecialApps()
421 op = IptOpDelete; in manipulateSpecialApps()
460 iptCmd = makeIptablesSpecialAppCmd(op, uid, chain); in manipulateSpecialApps()
476 std::string BandwidthController::makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota… in makeIptablesQuotaCmd() argument
481 ALOGV("makeIptablesQuotaCmd(%d, %" PRId64")", op, quota); in makeIptablesQuotaCmd()
483 switch (op) { in makeIptablesQuotaCmd()
857 int BandwidthController::runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) { in runIptablesAlertCmd() argument
[all …]
DIdletimerController.h40 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
/system/core/libpixelflinger/codeflinger/
Dmips_opcode.h55 unsigned op: 6; member
60 unsigned op: 6; member
69 unsigned op: 6; member
79 unsigned op: 6; /* always '0x11' */ member
84 unsigned op: 6; member
91 unsigned op: 6; member
96 unsigned op: 6; member
105 unsigned op: 6; /* always '0x11' */ member
Dmips_disassem.c193 switch (i.JType.op) { in db_disasm_insn()
359 db_printf("%s\t%s,", op_name[i.IType.op], in db_disasm_insn()
372 db_printf("%s\t%s,%s,", op_name[i.IType.op], in db_disasm_insn()
460 db_printf("%s\t", op_name[i.JType.op]); in db_disasm_insn()
467 db_printf("%s\tf%d,", op_name[i.IType.op], in db_disasm_insn()
482 db_printf("%s\t%s,", op_name[i.IType.op], in db_disasm_insn()
499 db_printf("%s\t%s,%s,0x%x", op_name[i.IType.op], in db_disasm_insn()
506 db_printf("%s\t%s,0x%x", op_name[i.IType.op], in db_disasm_insn()
513 op_name[i.IType.op], in db_disasm_insn()
531 db_printf("%s\t%s,%s,%d", op_name[i.IType.op], in db_disasm_insn()
DArm64Assembler.cpp577 void ArmToArm64Assembler::dataTransfer(int op, int cc, in dataTransfer() argument
609 *mPC++ = A64_LDRSTR_Wm_SXTW_0(op, size, Rd, addrReg, mZeroReg); in dataTransfer()
618 *mPC++ = A64_LDRSTR_Wm_SXTW_0(op, size, Rd, Rn, mAddrMode.reg_offset); in dataTransfer()
625 *mPC++ = A64_LDRSTR_Wm_SXTW_0(op, size, Rd, Rn, mZeroReg); in dataTransfer()
1002 uint32_t ArmToArm64Assembler::A64_LDRSTR_Wm_SXTW_0(uint32_t op, in A64_LDRSTR_Wm_SXTW_0() argument
1009 dataTransferOpName[op], Rt, Rn, Rm); in A64_LDRSTR_Wm_SXTW_0()
1010 return(dataTransferOpCode[op] | (Rm << 16) | (Rn << 5) | Rt); in A64_LDRSTR_Wm_SXTW_0()
1015 dataTransferOpName[op], Rt, Rn, Rm); in A64_LDRSTR_Wm_SXTW_0()
1016 return(dataTransferOpCode[op] | (0x1<<30) | (Rm<<16) | (Rn<<5)|Rt); in A64_LDRSTR_Wm_SXTW_0()
DMIPSAssembler.cpp377 int ArmToMipsAssembler::dataProcAdrModes(int op, int& source, bool _signed, int tmpReg) in dataProcAdrModes() argument
379 if (op < AMODE_REG) { in dataProcAdrModes()
380 source = op; in dataProcAdrModes()
382 } else if (op == AMODE_IMM) { in dataProcAdrModes()
395 } else if (op == AMODE_REG_IMM) { in dataProcAdrModes()
DMIPSAssembler.h183 int dataProcAdrModes(int op, int& source, bool sign = false, int reg_tmp = 1);
/system/core/toolbox/
Ddmesg.c16 int n, op, klog_buf_len; in dmesg_main() local
34 op = KLOG_READ_CLEAR; in dmesg_main()
36 op = KLOG_READ_ALL; in dmesg_main()
39 n = klogctl(op, buffer, klog_buf_len); in dmesg_main()
/system/core/fastboot/
Dengine.c67 unsigned op; member
136 static Action *queue_action(unsigned op, const char *fmt, ...) in queue_action() argument
160 a->op = op; in queue_action()
386 if (a->op == OP_DOWNLOAD) { in fb_execute_queue()
390 } else if (a->op == OP_COMMAND) { in fb_execute_queue()
394 } else if (a->op == OP_QUERY) { in fb_execute_queue()
398 } else if (a->op == OP_NOTICE) { in fb_execute_queue()
400 } else if (a->op == OP_DOWNLOAD_SPARSE) { in fb_execute_queue()
404 } else if (a->op == OP_WAIT_FOR_DISCONNECT) { in fb_execute_queue()
/system/keymaster/
Dasymmetric_key.cpp229 Operation* op; in CreateOperation() local
232 op = new RsaSignOperation(purpose, logger_, digest, padding, rsa_key_.release()); in CreateOperation()
235 op = new RsaVerifyOperation(purpose, logger_, digest, padding, rsa_key_.release()); in CreateOperation()
241 *error = op ? KM_ERROR_OK : KM_ERROR_MEMORY_ALLOCATION_FAILED; in CreateOperation()
242 return op; in CreateOperation()
433 Operation* op; in CreateOperation() local
436 op = new DsaSignOperation(purpose, logger_, digest, padding, dsa_key_.release()); in CreateOperation()
439 op = new DsaVerifyOperation(purpose, logger_, digest, padding, dsa_key_.release()); in CreateOperation()
445 *error = op ? KM_ERROR_OK : KM_ERROR_MEMORY_ALLOCATION_FAILED; in CreateOperation()
446 return op; in CreateOperation()
[all …]
Dgoogle_keymaster.cpp439 UniquePtr<Operation> op(operation); in AddOperation() local
449 operation_table_[i].operation = op.release(); in AddOperation()
/system/core/libnetutils/
Ddhcpclient.c265 if (msg->op == OP_BOOTREQUEST) in dump_dhcp_msg()
267 else if (msg->op == OP_BOOTREPLY) in dump_dhcp_msg()
272 name, msg->op, msg->htype, msg->hlen, msg->hops); in dump_dhcp_msg()
359 if (reply->op != OP_BOOTREPLY) { in is_valid_reply()
360 if (verbose) ALOGD("netcfg: Wrong Op %d != %d\n", reply->op, OP_BOOTREPLY); in is_valid_reply()
Ddhcpmsg.h37 uint8_t op; /* BOOTREQUEST / BOOTREPLY */ member
Ddhcpmsg.c30 msg->op = OP_BOOTREQUEST; in init_dhcp_msg()
/system/core/toolbox/upstream-netbsd/bin/cp/
Dcp.c94 enum op { FILE_TO_FILE, FILE_TO_DIR, DIR_TO_DNE }; enum
96 static int copy(char *[], enum op, int);
109 enum op type; in main()
324 copy(char *argv[], enum op type, int fts_options) in copy()
/system/core/libpixelflinger/
Dbuffer.cpp35 static uint32_t logic_op(int op, uint32_t s, uint32_t d);
228 static uint32_t logic_op(int op, uint32_t s, uint32_t d) in logic_op() argument
230 switch(op) { in logic_op()
/system/core/libpixelflinger/tests/arch-arm64/assembler/
Darm64_assembler_test.cpp135 instr_t op; member
156 instr_t op; member
448 switch(test.op) in dataOpTest()
583 switch(test.op) in dataTransferTest()