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
180 (op == IptOpAdd) ? 'A' : 'D', LOCAL_RAW_PREROUTING, iface, timeout, classLabel);
189 (op == IptOpAdd) ? 'A' : 'D', LOCAL_MANGLE_POSTROUTING, iface, timeout, classLabel);
H A DBandwidthController.h115 std::string makeIptablesNaughtyCmd(IptOp op, int uid);
116 std::string makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota);
118 int runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes);
119 int runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes);
H A DBandwidthController.cpp284 std::string BandwidthController::makeIptablesNaughtyCmd(IptOp op, int uid) { argument
289 switch (op) {
319 IptOp op; local
326 op = IptOpInsert;
330 op = IptOpDelete;
368 naughtyCmd = makeIptablesNaughtyCmd(op, uid);
384 std::string BandwidthController::makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota) { argument
389 ALOGV("makeIptablesQuotaCmd(%d, %lld)", op, quota);
391 switch (op) {
740 int BandwidthController::runIptablesAlertCmd(IptOp op, cons argument
772 runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) argument
[all...]
/system/core/toolbox/
H A Ddmesg.c16 int n, op; local
19 op = KLOG_READ_CLEAR;
21 op = KLOG_READ_ALL;
24 n = klogctl(op, buffer, KLOG_BUF_LEN);
/system/core/libpixelflinger/codeflinger/
H A Dmips_opcode.h55 unsigned op: 6; member in struct:__anon425::__anon426
60 unsigned op: 6; member in struct:__anon425::__anon427
69 unsigned op: 6; member in struct:__anon425::__anon428
79 unsigned op: 6; /* always '0x11' */ member in struct:__anon425::__anon429
84 unsigned op: 6; member in struct:__anon425::__anon430
91 unsigned op: 6; member in struct:__anon425::__anon431
96 unsigned op: 6; member in struct:__anon425::__anon432
105 unsigned op: 6; /* always '0x11' */ member in struct:__anon425::__anon433
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.c96 uint32_t op; local
97 if (!try_get_word(memory, addr, &op))
100 // ALOGV("@0x%08x: 0x%08x\n", addr, op);
101 switch (op & 0xffff0000) {
105 int32_t immediate = ((((int)op) << 16) >> 16);
114 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.c87 unsigned op; member in struct:Action
192 static Action *queue_action(unsigned op, const char *fmt, ...) argument
216 a->op = op;
613 if (a->op == OP_DOWNLOAD) {
617 } else if (a->op == OP_COMMAND) {
621 } else if (a->op == OP_QUERY) {
625 } else if (a->op == OP_NOTICE) {
627 } else if (a->op == OP_FORMAT) {
631 } else if (a->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) {
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h2355 #define cmd_opcode_ogf(op) (op >> 10)
2356 #define cmd_opcode_ocf(op) (op & 0x03ff)

Completed in 138 milliseconds