Home
last modified time | relevance | path

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

/system/netd/
DFirewallController.cpp72 const char* op; in setInterfaceRule() local
74 op = "-I"; in setInterfaceRule()
76 op = "-D"; in setInterfaceRule()
80 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL); in setInterfaceRule()
81 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL); in setInterfaceRule()
91 const char* op; in setEgressSourceRule() local
93 op = "-I"; in setEgressSourceRule()
95 op = "-D"; in setEgressSourceRule()
99 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
100 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
[all …]
DIdletimerController.cpp173 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, in modifyInterfaceIdletimer() argument
185 (op == IptOpAdd) ? "-A" : "-D", in modifyInterfaceIdletimer()
207 (op == IptOpAdd) ? "-A" : "-D", in modifyInterfaceIdletimer()
DBandwidthController.h132 std::string makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain);
133 std::string makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota);
135 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes);
136 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes);
DBandwidthController.cpp299 std::string BandwidthController::makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain) { in makeIptablesSpecialAppCmd() argument
304 switch (op) { in makeIptablesSpecialAppCmd()
407 IptOp op; in manipulateSpecialApps() local
414 op = IptOpInsert; in manipulateSpecialApps()
418 op = IptOpDelete; in manipulateSpecialApps()
457 iptCmd = makeIptablesSpecialAppCmd(op, uid, chain); in manipulateSpecialApps()
473 std::string BandwidthController::makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota… in makeIptablesQuotaCmd() argument
478 ALOGV("makeIptablesQuotaCmd(%d, %lld)", op, quota); in makeIptablesQuotaCmd()
480 switch (op) { in makeIptablesQuotaCmd()
838 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/libcorkscrew/arch-arm/
Dbacktrace-arm.c301 uint8_t op; in execute_personality_routine() local
302 if (!try_next_byte(memory, stream, &op)) { in execute_personality_routine()
305 if ((op & 0xc0) == 0x00) { in execute_personality_routine()
307 set_reg(state, R_SP, state->gregs[R_SP] + ((op & 0x3f) << 2) + 4); in execute_personality_routine()
308 } else if ((op & 0xc0) == 0x40) { in execute_personality_routine()
310 set_reg(state, R_SP, state->gregs[R_SP] - ((op & 0x3f) << 2) - 4); in execute_personality_routine()
311 } else if ((op & 0xf0) == 0x80) { in execute_personality_routine()
316 uint32_t mask = (((uint32_t)op & 0x0f) << 12) | ((uint32_t)op2 << 4); in execute_personality_routine()
329 } else if ((op & 0xf0) == 0x90) { in execute_personality_routine()
330 if (op != 0x9d && op != 0x9f) { in execute_personality_routine()
[all …]
/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()
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/libcorkscrew/arch-mips/
Dbacktrace-mips.c97 uint32_t op; in unwind_backtrace_common() local
98 if (!try_get_word(memory, addr, &op)) in unwind_backtrace_common()
102 switch (op & 0xffff0000) { in unwind_backtrace_common()
106 int32_t immediate = ((((int)op) << 16) >> 16); in unwind_backtrace_common()
115 ra_offset = ((((int)op) << 16) >> 16); in unwind_backtrace_common()
/system/extras/tests/bionic/libc/common/
Dbench_stdio.c69 #define BENCH(op,...) \ argument
72 op ; \
75 printf("bench %-30s %8.2f ms (%.1f KB/s) \n", #op, time_ms, bandwidth ); \
/system/core/libcorkscrew/arch-x86/
Dbacktrace-x86.c323 uint8_t op = 0; in execute_dwarf() local
332 op = inst & 0x3f; in execute_dwarf()
340 dstate->loc += op * cie_info->code_align; in execute_dwarf()
341 ALOGV("DW_CFA_advance_loc: %d to 0x%x", op, dstate->loc); in execute_dwarf()
345 dstate->regs[op].rule = 'o'; in execute_dwarf()
346 dstate->regs[op].value = offset * cie_info->data_align; in execute_dwarf()
347 ALOGV("DW_CFA_offset: r%d = o(%d)", op, dstate->regs[op].value); in execute_dwarf()
350 dstate->regs[op].rule = stack->regs[op].rule; in execute_dwarf()
351 dstate->regs[op].value = stack->regs[op].value; in execute_dwarf()
352 … ALOGV("DW_CFA_restore: r%d = %c(%d)", op, dstate->regs[op].rule, dstate->regs[op].value); in execute_dwarf()
/system/core/fastboot/
Dengine.c86 unsigned op; member
191 static Action *queue_action(unsigned op, const char *fmt, ...) in queue_action() argument
215 a->op = op; in queue_action()
595 if (a->op == OP_DOWNLOAD) { in fb_execute_queue()
599 } else if (a->op == OP_COMMAND) { in fb_execute_queue()
603 } else if (a->op == OP_QUERY) { in fb_execute_queue()
607 } else if (a->op == OP_NOTICE) { in fb_execute_queue()
609 } else if (a->op == OP_FORMAT) { in fb_execute_queue()
613 } else if (a->op == OP_DOWNLOAD_SPARSE) { in fb_execute_queue()
/system/core/adb/
Dbackup_service.c51 int backup_service(BackupOperation op, char* args) { in backup_service() argument
58 if (op == BACKUP) { in backup_service()
/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()
357 if (reply->op != OP_BOOTREPLY) { in is_valid_reply()
358 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/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 cp_main()
328 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/sh/
DTOUR127 invoked, and it also contains the set builtin. The -i and -j op-