Home
last modified time | relevance | path

Searched refs:my_data (Results 1 – 5 of 5) sorted by relevance

/trueos/contrib/unbound/libunbound/python/examples/
HDasync-lookup.py41 def call_back(my_data,status,result): argument
42 print "Call_back:", my_data
45 my_data['done_flag'] = True
48 my_data = {'done_flag':False,'arbitrary':"object"} variable
49 status, async_id = ctx.resolve_async("www.nic.cz", my_data, call_back, unbound.RR_TYPE_A, unbound.R…
51 while (status == 0) and (not my_data['done_flag']):
/trueos/contrib/unbound/libunbound/python/doc/examples/
HDexample3.rst19 def call_back(my_data,status,result):
20 print "Call_back:", my_data
23 my_data['done_flag'] = True
26 my_data = {'done_flag':False,'arbitrary':"object"}
27 …status, async_id = ctx.resolve_async("www.seznam.cz", my_data, call_back, unbound.RR_TYPE_A, unbou…
29 while (status == 0) and (not my_data['done_flag']):
36 …ethod is able to pass on any Python object. In this example, we used a dictionary object `my_data`.
/trueos/contrib/libarchive/libarchive/test/
HDtest_open_failure.c29 struct my_data { struct
44 struct my_data *private = (struct my_data *)_private; in my_read() argument
55 struct my_data *private = (struct my_data *)_private; in my_write()
67 struct my_data *private = (struct my_data *)_private; in my_open()
77 struct my_data *private = (struct my_data *)_private; in my_close()
88 struct my_data private; in DEFINE_TEST()
/trueos/sys/dev/my/
HDif_myreg.h214 u_int32_t my_data; member
305 #define MY_TXDATA(x) x->my_ptr->my_frag[x->my_lastdesc].my_data
HDif_my.c1095 c->my_ptr->my_data = vtophys(mtod(m_new, caddr_t)); in my_newbuf()
1367 f->my_data = vtophys(mtod(m_new, caddr_t)); in my_encap()