Searched refs:op (Results 1 - 21 of 21) sorted by relevance

/system/netd/
H A DFirewallController.cpp72 const char* op; local
74 op = "-I";
76 op = "-D";
80 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL);
81 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL);
91 const char* op; local
93 op = "-I";
95 op = "-D";
99 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL);
100 res |= execIptables(target, op, LOCAL_OUTPU
117 const char* op; local
136 const char* op; local
[all...]
H A DIdletimerController.h40 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
H A DIdletimerController.cpp42 * # If the label name does match an interface, the rules will be a no-op.
173 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, argument
185 (op == IptOpAdd) ? "-A" : "-D",
207 (op == IptOpAdd) ? "-A" : "-D",
H A 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);
H A DBandwidthController.cpp299 std::string BandwidthController::makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain) { argument
304 switch (op) {
309 ALOGE("Append op not supported for %s uids", chain);
407 IptOp op; local
414 op = IptOpInsert;
418 op = IptOpDelete;
457 iptCmd = makeIptablesSpecialAppCmd(op, uid, chain);
473 std::string BandwidthController::makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota) { argument
478 ALOGV("makeIptablesQuotaCmd(%d, %lld)", op, quota);
480 switch (op) {
838 runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) argument
870 runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) argument
[all...]
/system/core/toolbox/
H A Ddmesg.c16 int n, op, klog_buf_len; local
34 op = KLOG_READ_CLEAR;
36 op = KLOG_READ_ALL;
39 n = klogctl(op, buffer, klog_buf_len);
/system/core/libpixelflinger/codeflinger/
H A Dmips_opcode.h55 unsigned op: 6; member in struct:__anon191::__anon192
60 unsigned op: 6; member in struct:__anon191::__anon193
69 unsigned op: 6; member in struct:__anon191::__anon194
79 unsigned op: 6; /* always '0x11' */ member in struct:__anon191::__anon195
84 unsigned op: 6; member in struct:__anon191::__anon196
91 unsigned op: 6; member in struct:__anon191::__anon197
96 unsigned op: 6; member in struct:__anon191::__anon198
105 unsigned op: 6; /* always '0x11' */ member in struct:__anon191::__anon199
117 * Values for the 'op' field.
193 * Values for the 'func' field when 'op'
[all...]
H A Dmips_disassem.c193 switch (i.JType.op) {
359 db_printf("%s\t%s,", op_name[i.IType.op],
372 db_printf("%s\t%s,%s,", op_name[i.IType.op],
460 db_printf("%s\t", op_name[i.JType.op]);
467 db_printf("%s\tf%d,", op_name[i.IType.op],
482 db_printf("%s\t%s,", op_name[i.IType.op],
499 db_printf("%s\t%s,%s,0x%x", op_name[i.IType.op],
506 db_printf("%s\t%s,0x%x", op_name[i.IType.op],
513 op_name[i.IType.op],
531 db_printf("%s\t%s,%s,%d", op_name[i.IType.op],
[all...]
H A DMIPSAssembler.cpp377 int ArmToMipsAssembler::dataProcAdrModes(int op, int& source, bool _signed, int tmpReg) argument
379 if (op < AMODE_REG) {
380 source = op;
382 } else if (op == AMODE_IMM) {
395 } else if (op == AMODE_REG_IMM) {
H A DMIPSAssembler.h183 int dataProcAdrModes(int op, int& source, bool sign = false, int reg_tmp = 1);
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c301 uint8_t op; local
302 if (!try_next_byte(memory, stream, &op)) {
305 if ((op & 0xc0) == 0x00) {
307 set_reg(state, R_SP, state->gregs[R_SP] + ((op & 0x3f) << 2) + 4);
308 } else if ((op & 0xc0) == 0x40) {
310 set_reg(state, R_SP, state->gregs[R_SP] - ((op & 0x3f) << 2) - 4);
311 } else if ((op & 0xf0) == 0x80) {
316 uint32_t mask = (((uint32_t)op & 0x0f) << 12) | ((uint32_t)op2 << 4);
329 } else if ((op & 0xf0) == 0x90) {
330 if (op !
[all...]
/system/extras/tests/bionic/libc/common/
H A Dbench_stdio.c69 #define BENCH(op,...) \
72 op ; \
75 printf("bench %-30s %8.2f ms (%.1f KB/s) \n", #op, time_ms, bandwidth ); \
/system/core/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c97 uint32_t op; local
98 if (!try_get_word(memory, addr, &op))
101 // ALOGV("@0x%08x: 0x%08x\n", addr, op);
102 switch (op & 0xffff0000) {
106 int32_t immediate = ((((int)op) << 16) >> 16);
115 ra_offset = ((((int)op) << 16) >> 16);
/system/core/adb/
H A Dbackup_service.c51 int backup_service(BackupOperation op, char* args) { argument
58 if (op == BACKUP) {
/system/core/libnetutils/
H A Ddhcpmsg.h37 uint8_t op; /* BOOTREQUEST / BOOTREPLY */ member in struct:dhcp_msg
H A Ddhcpmsg.c30 msg->op = OP_BOOTREQUEST;
H A Ddhcpclient.c265 if (msg->op == OP_BOOTREQUEST)
267 else if (msg->op == OP_BOOTREPLY)
271 ALOGD("op = %s (%d), htype = %d, hlen = %d, hops = %d",
272 name, msg->op, msg->htype, msg->hlen, msg->hops);
334 ALOGD("op %d len %d {%s} %s", x[0], optsz, buf, name == NULL ? "" : name);
357 if (reply->op != OP_BOOTREPLY) {
358 if (verbose) ALOGD("netcfg: Wrong Op %d != %d\n", reply->op, OP_BOOTREPLY);
/system/core/fastboot/
H A Dengine.c86 unsigned op; member in struct:Action
191 static Action *queue_action(unsigned op, const char *fmt, ...) argument
215 a->op = op;
595 if (a->op == OP_DOWNLOAD) {
599 } else if (a->op == OP_COMMAND) {
603 } else if (a->op == OP_QUERY) {
607 } else if (a->op == OP_NOTICE) {
609 } else if (a->op == OP_FORMAT) {
613 } else if (a->op
[all...]
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c323 uint8_t op = 0; local
332 op = inst & 0x3f;
340 dstate->loc += op * cie_info->code_align;
341 ALOGV("DW_CFA_advance_loc: %d to 0x%x", op, dstate->loc);
345 dstate->regs[op].rule = 'o';
346 dstate->regs[op].value = offset * cie_info->data_align;
347 ALOGV("DW_CFA_offset: r%d = o(%d)", op, dstate->regs[op].value);
350 dstate->regs[op].rule = stack->regs[op]
[all...]
/system/core/toolbox/cp/
H A 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;
328 copy(char *argv[], enum op type, int fts_options)
/system/core/libpixelflinger/
H A 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) argument
230 switch(op) {

Completed in 337 milliseconds