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

12

/system/netd/server/
H A DFirewallController.cpp141 const char* op; local
143 op = "-I";
145 op = "-D";
149 res |= execIptables(V4V6, op, LOCAL_INPUT, "-i", iface, "-j", "RETURN", NULL);
150 res |= execIptables(V4V6, op, LOCAL_OUTPUT, "-o", iface, "-j", "RETURN", NULL);
165 const char* op; local
167 op = "-I";
169 op = "-D";
173 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL);
174 res |= execIptables(target, op, LOCAL_OUTPU
196 const char* op; local
228 const char* op; local
[all...]
H A DIdletimerController.h40 int modifyInterfaceIdletimer(IptOp op, const char *iface, uint32_t timeout,
H A DIdletimerController.cpp40 * # If the label name does match an interface, the rules will be a no-op.
191 int IdletimerController::modifyInterfaceIdletimer(IptOp op, const char *iface, argument
209 (op == IptOpAdd) ? "-A" : "-D",
232 (op == IptOpAdd) ? "-A" : "-D",
H A 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);
H A DBandwidthController.cpp303 std::string BandwidthController::makeIptablesSpecialAppCmd(IptOp op, int uid, const char *chain) { argument
308 switch (op) {
313 ALOGE("Append op not supported for %s uids", chain);
410 IptOp op; local
417 op = IptOpInsert;
421 op = IptOpDelete;
460 iptCmd = makeIptablesSpecialAppCmd(op, uid, chain);
476 std::string BandwidthController::makeIptablesQuotaCmd(IptOp op, const char *costName, int64_t quota) { argument
481 ALOGV("makeIptablesQuotaCmd(%d, %" PRId64")", op, quota);
483 switch (op) {
857 runIptablesAlertCmd(IptOp op, const char *alertName, int64_t bytes) argument
889 runIptablesAlertFwdCmd(IptOp op, const char *alertName, int64_t bytes) argument
[all...]
/system/core/libpixelflinger/codeflinger/
H A Dmips_opcode.h55 unsigned op: 6; member in struct:__anon1431::__anon1432
60 unsigned op: 6; member in struct:__anon1431::__anon1433
69 unsigned op: 6; member in struct:__anon1431::__anon1434
79 unsigned op: 6; /* always '0x11' */ member in struct:__anon1431::__anon1435
84 unsigned op: 6; member in struct:__anon1431::__anon1436
91 unsigned op: 6; member in struct:__anon1431::__anon1437
96 unsigned op: 6; member in struct:__anon1431::__anon1438
105 unsigned op: 6; /* always '0x11' */ member in struct:__anon1431::__anon1439
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...]
/system/bt/include/
H A Dbte.h78 /* options associated with close op */
90 UINT8 op; member in struct:tHCISU_USERIAL_MSG_tag
94 extern void bte_hcisu_userial_oper( tUSERIAL_MSG_CBACK *p_cback, UINT8 port, UINT8 op, UINT8 option );
/system/keymaster/
H A Doperation_table.cpp42 UniquePtr<Operation> op(operation);
53 table_[i].operation = op.release();
H A Dhmac_operation.cpp69 UniquePtr<HmacOperation> op(new (std::nothrow) HmacOperation(
72 if (!op.get())
75 *error = op->error();
80 return op.release();
H A Drsa_operation.cpp88 RsaOperation* op = InstantiateOperation(digest, padding, rsa.release());
89 if (!op)
91 return op;
105 UniquePtr<RsaOperation> op(RsaOperationFactory::CreateRsaOperation(key, begin_params, error));
106 if (op.get()) {
107 switch (op->padding()) {
110 if (op->digest() != KM_DIGEST_NONE) {
117 if (op->digest() == KM_DIGEST_NONE) {
128 return op.release();
H A Decdsa_operation.cpp51 Operation* op = InstantiateOperation(digest, pkey.release()); local
52 if (!op)
54 return op;
/system/bt/stack/srvc/
H A Dsrvc_dis_int.h77 extern void dis_c_cmpl_cback (tSRVC_CLCB *p_clcb, tGATTC_OPTYPE op,
H A Dsrvc_eng.c37 static void srvc_eng_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
50 typedef void (*tSRVC_ENG_C_CMPL_ACTION)(tSRVC_CLCB *p_clcb, tGATTC_OPTYPE op,
325 static void srvc_eng_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, argument
330 GATT_TRACE_EVENT ("srvc_eng_c_cmpl_cback() - op_code: 0x%02x status: 0x%02x ", op, status);
340 srvc_eng_c_cmpl_act[p_clcb->cur_srvc_id - 1](p_clcb, op, status, p_data);
/system/core/fastboot/
H A Dengine.c67 unsigned op; member in struct:Action
136 static Action *queue_action(unsigned op, const char *fmt, ...) argument
160 a->op = op;
386 if (a->op == OP_DOWNLOAD) {
390 } else if (a->op == OP_COMMAND) {
394 } else if (a->op == OP_QUERY) {
398 } else if (a->op == OP_NOTICE) {
400 } else if (a->op == OP_DOWNLOAD_SPARSE) {
404 } else if (a->op
[all...]
/system/bt/btif/src/
H A Dbtif_gatt_test.c115 static void btif_test_command_complete_cback(UINT16 conn_id, tGATTC_OPTYPE op, argument
119 __FUNCTION__, op, conn_id, status);
121 switch (op)
135 LOG_DEBUG ("%s: Unknown op_code (0x%02x)", __FUNCTION__, op);
/system/bt/hci/include/
H A Dbt_vendor_lib.h342 int (*op)(bt_vendor_opcode_t opcode, void *param); member in struct:__anon736
/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);
336 ALOGD("op %d len %d {%s} %s", x[0], optsz, buf, name == NULL ? "" : name);
359 if (reply->op != OP_BOOTREPLY) {
360 if (verbose) ALOGD("Wrong Op %d != %d\n", reply->op, OP_BOOTREPLY);
/system/bt/bta/gatt/
H A Dbta_gattc_act.c55 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status,
1492 UINT8 op = (UINT8)p_data->op_cmpl.op_code; local
1495 APPL_TRACE_DEBUG("bta_gattc_op_cmpl op = %d", op);
1497 if (op == GATTC_OPTYPE_INDICATION || op == GATTC_OPTYPE_NOTIFICATION)
1501 else if (op >= GATTC_OPTYPE_READ)
1508 if (p_clcb->p_q_cmd->hdr.event != bta_gattc_opcode_to_int_evt[op - GATTC_OPTYPE_READ])
1514 APPL_TRACE_ERROR("expect op:(%s :0x%04x), receive unexpected operation (%s).",
1516 bta_gattc_op_code_name[op]);
2017 bta_gattc_proc_other_indication(tBTA_GATTC_CLCB *p_clcb, UINT8 op, tGATT_CL_COMPLETE *p_data, tBTA_GATTC_NOTIFY *p_notify) argument
2045 bta_gattc_process_indicate(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_CL_COMPLETE *p_data) argument
2137 bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) argument
[all...]
/system/extras/perfprofd/quipper/base/
H A Dlogging.h240 #define CHECK_OP(name, op, val1, val2) \
243 #val1 " " #op " " #val2)) \
282 #define DEFINE_CHECK_OP_IMPL(name, op) \
286 if (v1 op v2) return NULL; \
290 if (v1 op v2) return NULL; \
403 #define DCHECK_OP(name, op, val1, val2) \
407 #val1 " " #op " " #val2)) \
/system/bt/hci/src/
H A Dvendor.c95 return lib_interface->op(opcode, param);
100 return lib_interface->op(opcode, param);
/system/bt/stack/gap/
H A Dgap_ble.c48 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data);
548 UINT16 op = p_clcb->cl_op_uuid; local
555 if (p_cback && op)
618 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) argument
632 GAP_TRACE_EVENT ("gap_ble_c_cmpl_cback() - op_code: 0x%02x status: 0x%02x read_type: 0x%04x", op, status, op_type);
634 if (op != GATTC_OPTYPE_READ)
786 GAP_TRACE_ERROR ("Cannot cancel current op is not get dev name");
/system/bt/stack/gatt/
H A Dgatt_attr.c48 static void gatt_cl_op_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status,
392 static void gatt_cl_op_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, argument
400 if (op == GATTC_OPTYPE_WRITE)

Completed in 229 milliseconds

12