HomeSort by relevance Sort by last modified time
    Searched defs:ndef (Results 1 - 24 of 24) sorted by null

  /external/wpa_supplicant_8/wpa_supplicant/
nfc_pw_token.c 41 struct wpabuf *buf = NULL, *ndef = NULL; local
57 ndef = ndef_build_wifi(buf);
58 if (ndef == NULL)
65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef),
66 wpabuf_len(ndef));
67 printf("#NDEF=%s\n", txt);
76 wpabuf_free(ndef);
ctrl_iface.c 1274 int ndef; local
1307 int ndef; local
1422 int ndef; local
1505 int ndef; local
1867 int ndef; local
    [all...]
  /external/tensorflow/tensorflow/core/framework/
op_segment_test.cc 64 OpSegment::CreateKernelFn GetFn(const NodeDef* ndef) {
65 return [this, ndef](OpKernel** kernel) {
68 *ndef, TF_GRAPH_DEF_VERSION, &s);
85 auto* ndef = &float_nodedefs_[i]; local
86 TF_EXPECT_OK(opseg.FindOrCreate("A", ndef->name(), &op, GetFn(ndef)));
87 ValidateOpAndTypes(op, *ndef, DT_FLOAT);
90 ndef = &int32_nodedefs_[i];
91 TF_EXPECT_OK(opseg.FindOrCreate("B", ndef->name(), &op, GetFn(ndef)));
136 const auto& ndef = int32_nodedefs_[0]; local
    [all...]
resource_mgr_test.cc 143 NodeDef ndef; local
144 ndef.set_name("foo");
146 AddNodeAttr("container", attr_container, &ndef);
149 AddNodeAttr("shared_name", attr_shared_name, &ndef);
151 TF_RETURN_IF_ERROR(cinfo.Init(&rmgr, ndef, use_node_name_as_default));
function_test.cc 1204 NodeDef ndef; local
1235 NodeDef ndef; local
1260 NodeDef ndef; local
1307 NodeDef* ndef = fdef2.add_node_def(); local
    [all...]
op_kernel_test.cc 187 NodeDef ndef = CreateNodeDef("Test1", {DT_FLOAT, DT_INT32}); local
189 TF_ASSERT_OK(SupportedDeviceTypesForNode(DeviceTypes(), ndef, &devs));
198 NodeDef ndef = CreateNodeDef("Test3", {DT_INT8, DT_INT8}); local
200 TF_ASSERT_OK(SupportedDeviceTypesForNode(DeviceTypes(), ndef, &devs));
207 NodeDef ndef = CreateNodeDef("Test3", {DT_FLOAT, DT_FLOAT}); local
209 TF_ASSERT_OK(SupportedDeviceTypesForNode(DeviceTypes(), ndef, &devs));
215 NodeDef ndef = CreateNodeDef("Test3", {DT_STRING, DT_STRING}); local
217 TF_ASSERT_OK(SupportedDeviceTypesForNode(DeviceTypes(), ndef, &devs));
223 NodeDef ndef = CreateNodeDef("Test4", {DT_FLOAT}); local
225 TF_ASSERT_OK(SupportedDeviceTypesForNode(DeviceTypes(), ndef, &devs))
564 const NodeDef ndef = CreateNodeDef("DuplicateKernel", {}); local
583 const NodeDef ndef = local
605 const NodeDef ndef = CreateNodeDef("BadConstraint", {}); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WriteWifiConfigToNfcDialog.java 29 import android.nfc.tech.Ndef;
177 Ndef ndef = Ndef.get(tag); local
179 if (ndef != null) {
180 if (ndef.isWritable()) {
185 ndef.connect();
186 ndef.writeNdefMessage(new NdefMessage(record));
210 Log.e(TAG, "Tag does not support NDEF");
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
NdefTagTester.java 26 import android.nfc.tech.Ndef;
34 * {@link TagTester} for NDEF tags. It writes a semi-random NDEF tag with a random id but
43 private static final String PAYLOAD = "CTS Verifier NDEF Tag";
55 if (tech.equals(Ndef.class.getName())) {
56 Ndef ndef = Ndef.get(tag); local
57 return ndef != null && ndef.isWritable()
    [all...]
  /cts/tests/tests/ndef/src/android/ndef/cts/
NdefTest.java 17 package android.ndef.cts;
30 * NDEF is a NFC-Forum defined data format.<p>
31 * NDEF is often used with NFC, but it is just a data format and no NFC
299 //A Smart Poster containing a URL and no text (nested NDEF Messages) */
  /development/samples/ApiDemos/src/com/example/android/apis/nfc/
ForegroundDispatch.java 34 * based NDEF dispatch as well as all dispatched for NfcF tags.
61 IntentFilter ndef = new IntentFilter(NfcAdapter.ACTION_NDEF_DISCOVERED); local
63 ndef.addDataType("*/*");
68 ndef,
  /external/boringssl/src/crypto/asn1/
tasn_enc.c 79 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use
132 int i, seqcontlen, seqlen, ndef = 1; local
194 ndef = 2;
231 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
235 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
246 if (ndef == 2)
262 int i, ret, flags, ttag, tclass, ndef; local
298 /* if template and arguments require ndef, use it */
300 ndef = 2;
302 ndef = 1
490 int ndef = 0; local
    [all...]
  /external/tensorflow/tensorflow/core/graph/
gradients.cc 68 NodeDef ndef; local
69 ndef.set_name(g->NewName(kNodeLabel));
70 ndef.set_op("ZerosLike");
71 ndef.add_input(input.name());
72 AddNodeAttr("T", input.dtype(), &ndef);
74 Node* ret = g->AddNode(ndef, &s);
85 NodeDef ndef; local
86 ndef.set_name(g->NewName(kNodeLabel));
87 ndef.set_op(kGradientOp);
97 ndef.add_input(nout.name())
281 NodeDef ndef; local
    [all...]
graph_partition_test.cc 118 for (const NodeDef& ndef : gdef.node()) {
120 if (ndef.op() == "_Recv") {
122 for (const string& input_name : ndef.input()) {
131 if (StringPiece(ndef.name()).starts_with("_cloop")) {
132 if (ndef.op() == "Enter") {
135 if (ndef.op() == "Merge") {
138 if (ndef.op() == "Switch") {
141 if (ndef.op() == "NextIteration") {
400 for (const NodeDef& ndef : gdef.node()) {
401 if (ndef.name() == "A3")
434 NodeDef ndef; local
    [all...]
graph_partition.cc 785 const NodeDef* ndef = &gdef->node(n); local
786 for (int i = 0; i < ndef->input_size(); ++i) {
787 node_to_output_nodes[ParseTensorName(ndef->input(i)).first.ToString()]
788 .push_back(ndef);
791 TF_RETURN_IF_ERROR(GetNodeAttr(*ndef, "_start_time", &start_time));
792 node_to_start_time[ndef] = start_time;
793 inputs_needed[ndef] = ndef->input_size();
794 if (ndef->input_size() == 0) {
795 enqueue(ndef);
803 const NodeDef* ndef = &gdef->node(n); local
888 NodeDef* ndef = gdef->mutable_node(n); local
    [all...]
  /packages/apps/Nfc/tests/src/com/android/nfc/snep/
SnepBasicTests.java 212 NdefMessage ndef = getSmallNdef(); local
214 (byte)2, SnepMessage.REQUEST_PUT, ndef.toByteArray().length, 0, ndef);
248 NdefMessage ndef = getSmallNdef(); local
250 version, SnepMessage.REQUEST_PUT, ndef.toByteArray().length, 0, ndef);
278 * A SNEP Server implementation that accepts PUT requests for all ndef
  /external/one-true-awk/
run.c 225 int i, ncall, ndef; local
243 ndef = (int) fcn->fval; /* args in defn */
244 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) );
245 if (ncall > ndef)
247 s, ncall, ndef);
248 if (ncall + ndef > NARGS)
249 FATAL("function %s has %d arguments, limit %d", s, ncall+ndef, NARGS);
264 for ( ; i < ndef; i++) { /* add null args for ones not provided */
279 fp->nargs = ndef; /* number defined with (excess are locals) */
286 for (i = 0; i < ndef; i++)
    [all...]
  /external/tensorflow/tensorflow/c/eager/
c_api.cc 648 const tensorflow::NodeDef& ndef = op->attrs.BuildNodeDef(); local
649 DCHECK_EQ(signature->input_arg_size(), ndef.input_size());
650 *fdef.add_node_def() = ndef;
661 ndef.name(), ":", op_def_arg.name(), ":", 0);
666 auto i = ndef.attr().find(type_attr);
667 if (i == ndef.attr().end()) {
670 " in NodeDef ", ndef.DebugString()));
804 const tensorflow::NodeDef& ndef = op->attrs.BuildNodeDef(); local
813 tensorflow::KernelAndDevice::Init(ndef, ctx->func_lib(device), kernel);
    [all...]
  /packages/apps/Nfc/nci/jni/
NativeNfcTag.cpp 74 // framework Ndef.java for Google public NFC API.
86 0; // whether tag already contains a NDEF message
87 static bool sCheckNdefCapable = false; // whether tag has NDEF capability
179 return; // not reading NDEF message right now, so just return
207 ** Description: Receive NDEF-message related events from stack.
247 ** Description: Read the NDEF message on the tag.
251 ** Returns: NDEF message.
343 ** Description: Write a NDEF message to the tag.
346 ** buf: Contains a NDEF message.
374 // if tag does not contain a NDEF messag
1141 jint* ndef = NULL; local
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcDispatcher.java 50 import android.nfc.tech.Ndef;
296 Ndef ndef = Ndef.get(tag); local
301 if (ndef != null) {
302 message = ndef.getCachedNdefMessage();
316 if (ndef != null) {
317 message = ndef.getCachedNdefMessage();
341 if (NfcWifiProtectedSetup.tryNfcWifiSetup(ndef, mContext)) {
348 // We only allow NDEF-message dispatch in provisioning mod
    [all...]
  /system/nfc/src/nfc/include/
rw_api.h 53 RW_T1T_NDEF_DETECT_EVT, /* NDEF detection complete */
54 RW_T1T_NDEF_READ_EVT, /* NDEF read completed */
55 RW_T1T_NDEF_WRITE_EVT, /* NDEF write complete */
67 RW_T2T_NDEF_DETECT_EVT, /* NDEF detection complete */
69 RW_T2T_NDEF_READ_EVT, /* NDEF read completed */
70 RW_T2T_NDEF_WRITE_EVT, /* NDEF write complete */
83 RW_T3T_NDEF_DETECT_EVT, /* NDEF detection complete */
94 RW_T4T_FIRST_EVT, /* Result of NDEF detection procedure */
95 /* Mandatory NDEF file is selected */
110 RW_I93_FIRST_EVT, /* Result of NDEF detection procedure *
246 tRW_DETECT_NDEF_DATA ndef; \/* The information of detected NDEF data *\/ member in union:__anon3639
    [all...]
  /external/tensorflow/tensorflow/core/common_runtime/
function.cc 89 NodeDef ndef; local
90 ndef.set_name(g->NewName(kNodeLabel));
91 ndef.set_op("NoOp");
93 Node* ret = g->AddNode(ndef, &s);
100 NodeDef ndef; local
101 ndef.set_name(g->NewName(kNodeLabel));
102 ndef.set_op("Identity");
103 ndef.add_input(input.name());
104 AddNodeAttr("T", BaseType(input.dtype()), &ndef);
106 Node* ret = g->AddNode(ndef, &s)
115 NodeDef ndef; local
129 NodeDef ndef; local
1191 NodeDef ndef = n->def(); local
    [all...]
  /external/tensorflow/tensorflow/core/distributed_runtime/
master_session.cc 327 const NodeDef& ndef = graph_def.node(i); local
328 const bool is_recv = ndef.op() == "_Recv";
329 const bool is_send = ndef.op() == "_Send";
336 TF_CHECK_OK(GetNodeAttr(ndef, "client_terminated", &client_terminated));
339 TF_CHECK_OK(GetNodeAttr(ndef, "tensor_name", &name));
341 TF_CHECK_OK(GetNodeAttr(ndef, "send_device", &send_device));
343 TF_CHECK_OK(GetNodeAttr(ndef, "recv_device", &recv_device));
346 GetNodeAttr(ndef, "send_device_incarnation",
    [all...]
  /external/wpa_supplicant_8/hostapd/
ctrl_iface.c 258 int ndef; local
263 ndef = 0;
264 else if (os_strcmp(cmd, "NDEF") == 0)
265 ndef = 1;
269 buf = hostapd_wps_nfc_config_token(hapd, ndef);
286 int ndef)
291 buf = hostapd_wps_nfc_token_gen(hapd, ndef);
314 if (os_strcmp(cmd, "NDEF") == 0)
337 int ndef; local
345 ndef = 0
    [all...]
  /external/elfutils/src/
ldgeneric.c 3803 int ndef = 0; local
    [all...]

Completed in 769 milliseconds