Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 54) sorted by relevance

123

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dinet_pton.c126 u_char tmp[NS_INADDRSZ], *tp; in inet_pton4() local
130 *(tp = tmp) = 0; in inet_pton4()
135 u_int new = *tp * 10 + (u_int)(pch - digits); in inet_pton4()
139 *tp = (u_char)new; in inet_pton4()
148 *++tp = 0; in inet_pton4()
181 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local
186 memset((tp = tmp), '\0', NS_IN6ADDRSZ); in inet_pton6()
187 endp = tp + NS_IN6ADDRSZ; in inet_pton6()
214 colonp = tp; in inet_pton6()
217 if (tp + NS_INT16SZ > endp) in inet_pton6()
[all …]
Dinet_neta.c97 char *tp; in inet_neta() local
106 tp = dst; in inet_neta()
112 size -= (size_t)(dst - tp); in inet_neta()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_memoryview.py26 def check_getitem_with_type(self, tp): argument
28 b = tp(self._source)
49 for tp in self._types:
50 self.check_getitem_with_type(tp)
53 for tp in self._types:
54 b = tp(self._source)
59 for tp in self._types:
60 b = tp(self._source)
81 tp = self.rw_type
85 m[0] = tp(b"0")
[all …]
Dtest_tuple.py120 def check_track_dynamic(self, tp, always_track): argument
124 check(tp())
125 check(tp([]))
126 check(tp(set()))
127 check(tp([1, x, y]))
128 check(tp(obj for obj in [1, x, y]))
129 check(tp(set([1, x, y])))
130 check(tp(tuple([obj]) for obj in [1, x, y]))
131 check(tuple(tp([obj]) for obj in [1, x, y]))
133 self._tracked(tp([z]))
[all …]
Dtest_macos.py25 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN)
26 self.assertEqual(tp, 'ABCD')
44 cr, tp = MacOS.GetCreatorAndType(test_support.TESTFN)
46 self.assertEqual(tp, 'EFGH')
51 tp = None
55 tp = ln.split()[-1][1:-1]
60 self.assertEqual(tp, 'EFGH')
Dtest_io.py601 buf = self.tp(raw)
607 bufio = self.tp(rawio)
618 bufio = self.tp(rawio)
624 tp = self.tp
626 class MyBufferedIO(tp):
654 bufio = self.tp(rawio)
668 self.tp(rawio).xyzzy
680 b = self.tp(raw)
681 clsname = "%s.%s" % (self.tp.__module__, self.tp.__name__)
693 b = self.tp(raw)
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/
Dinet_ntop.c139 char *tp, *ep; in inet_ntop6() local
184 tp = tmp; in inet_ntop6()
191 *tp++ = ':'; in inet_ntop6()
196 if (tp + 1 >= ep) in inet_ntop6()
198 *tp++ = ':'; in inet_ntop6()
205 if (!inet_ntop4(src+12, tp, (socklen_t)(ep - tp))) in inet_ntop6()
207 tp += strlen(tp); in inet_ntop6()
210 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i]); in inet_ntop6()
211 if (advance <= 0 || advance >= ep - tp) in inet_ntop6()
213 tp += advance; in inet_ntop6()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DATokenBuffer.cpp63 tp = &buffer[0]; in ANTLRTokenBuffer()
64 last = tp-1; in ANTLRTokenBuffer()
109 if ( tp <= last ) // is there any buffered lookahead still to be read? in getToken()
111 return *tp++; // read buffered lookahead in getToken()
138 tp = last; in getToken()
139 return *tp++; in getToken()
146 fprintf(stderr, "rewind(%d)[nm=%d,from=%d,%d.n=%d]\n", pos, num_markers, tp-buffer,pos,test[pos]); in rewind()
149 tp = &buffer[pos]; in rewind()
161 test[tp-buffer]++; in mark()
162 fprintf(stderr,"mark(%d)[nm=%d,%d.n=%d]\n",tp-buffer,num_markers+1,tp-buffer,test[tp-buffer]); in mark()
[all …]
DATokenBuffer.h63 _ANTLRTokenPtr *tp; // pts into buffer; current token ptr variable
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DATokenBuffer.cpp65 tp = &buffer[0]; in ANTLRTokenBuffer()
66 last = tp-1; in ANTLRTokenBuffer()
110 if ( tp <= last ) // is there any buffered lookahead still to be read? in getToken()
112 return *tp++; // read buffered lookahead in getToken()
139 tp = last; in getToken()
140 return *tp++; in getToken()
147 …/* MR23 */ printMessage(stderr, "rewind(%d)[nm=%d,from=%d,%d.n=%d]\n", pos, num_markers, tp-buffer… in rewind()
150 tp = &buffer[pos]; in rewind()
162 test[tp-buffer]++; in mark()
163 …MR23 */ printMessage(stderr,"mark(%d)[nm=%d,%d.n=%d]\n",tp-buffer,num_markers+1,tp-buffer,test[tp-… in mark()
[all …]
DATokenBuffer.h63 _ANTLRTokenPtr *tp; // pts into buffer; current token ptr variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dobject.c92 PyTypeObject *tp; in dump_counts() local
94 for (tp = type_list; tp; tp = tp->tp_next) in dump_counts()
98 tp->tp_name, tp->tp_allocs, tp->tp_frees, in dump_counts()
99 tp->tp_maxalloc); in dump_counts()
114 PyTypeObject *tp; in get_counts() local
121 for (tp = type_list; tp; tp = tp->tp_next) { in get_counts()
122 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in get_counts()
123 tp->tp_frees, tp->tp_maxalloc); in get_counts()
139 inc_count(PyTypeObject *tp) in inc_count() argument
141 if (tp->tp_next == NULL && tp->tp_prev == NULL) { in inc_count()
[all …]
Dstructseq.c17 #define VISIBLE_SIZE_TP(tp) PyInt_AsLong( \ argument
18 PyDict_GetItemString((tp)->tp_dict, visible_length_key))
20 #define REAL_SIZE_TP(tp) PyInt_AsLong( \ argument
21 PyDict_GetItemString((tp)->tp_dict, real_length_key))
24 #define UNNAMED_FIELDS_TP(tp) PyInt_AsLong( \ argument
25 PyDict_GetItemString((tp)->tp_dict, unnamed_fields_key))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dobject.c92 PyTypeObject *tp; in dump_counts() local
94 for (tp = type_list; tp; tp = tp->tp_next) in dump_counts()
98 tp->tp_name, tp->tp_allocs, tp->tp_frees, in dump_counts()
99 tp->tp_maxalloc); in dump_counts()
114 PyTypeObject *tp; in get_counts() local
121 for (tp = type_list; tp; tp = tp->tp_next) { in get_counts()
122 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in get_counts()
123 tp->tp_frees, tp->tp_maxalloc); in get_counts()
139 inc_count(PyTypeObject *tp) in inc_count() argument
141 if (tp->tp_next == NULL && tp->tp_prev == NULL) { in inc_count()
[all …]
Dstructseq.c17 #define VISIBLE_SIZE_TP(tp) PyInt_AsLong( \ argument
18 PyDict_GetItemString((tp)->tp_dict, visible_length_key))
20 #define REAL_SIZE_TP(tp) PyInt_AsLong( \ argument
21 PyDict_GetItemString((tp)->tp_dict, real_length_key))
24 #define UNNAMED_FIELDS_TP(tp) PyInt_AsLong( \ argument
25 PyDict_GetItemString((tp)->tp_dict, unnamed_fields_key))
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
Dgettimeofday.c58 gettimeofday (struct timeval *tp, void *ignore) in gettimeofday() argument
63 tp->tv_sec = t; in gettimeofday()
64 tp->tv_usec = 0; in gettimeofday()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
Drefactor.py140 tp, value = advance()
141 if tp in ignore:
143 elif tp == token.STRING:
147 elif tp == token.NAME and value == u"from":
148 tp, value = advance()
149 if tp != token.NAME or value != u"__future__":
151 tp, value = advance()
152 if tp != token.NAME or value != u"import":
154 tp, value = advance()
155 if tp == token.OP and value == u"(":
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/
DbgenModule.py76 for tp in self.typeobjects:
77 tp.outputTypeObjectInitializer()
Dscantools.py724 def generate(self, tp, name, arglist, modifiers=[]): argument
726 self.typeused(tp, 'return')
728 classname, listname = self.destination(tp, name, arglist, modifiers)
730 classname, listname = self.destination(tp, name, arglist)
737 self.specfile.write("f = %s(%s, %r,\n" % (classname, tp, name))
748 oline = "Adding to %s:\n%s(returntype=%s, name=%r" % (listname, classname, tp, name)
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/
Dreentrant.h222 #define thr_create(tp, ta, f, a) __libc_thr_create((tp), (ta), (f), (a)) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgcmodule.c1465 _PyObject_GC_New(PyTypeObject *tp) in _PyObject_GC_New() argument
1467 PyObject *op = _PyObject_GC_Malloc(_PyObject_SIZE(tp)); in _PyObject_GC_New()
1469 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
1474 _PyObject_GC_NewVar(PyTypeObject *tp, Py_ssize_t nitems) in _PyObject_GC_NewVar() argument
1476 const size_t size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_GC_NewVar()
1479 op = PyObject_INIT_VAR(op, tp, nitems); in _PyObject_GC_NewVar()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dgcmodule.c1519 _PyObject_GC_New(PyTypeObject *tp) in _PyObject_GC_New() argument
1521 PyObject *op = _PyObject_GC_Malloc(_PyObject_SIZE(tp)); in _PyObject_GC_New()
1523 op = PyObject_INIT(op, tp); in _PyObject_GC_New()
1528 _PyObject_GC_NewVar(PyTypeObject *tp, Py_ssize_t nitems) in _PyObject_GC_NewVar() argument
1530 const size_t size = _PyObject_VAR_SIZE(tp, nitems); in _PyObject_GC_NewVar()
1533 op = PyObject_INIT_VAR(op, tp, nitems); in _PyObject_GC_NewVar()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Diobase.c198 PyObject *tp, *v, *tb; in _PyIOBase_finalize() local
208 PyErr_Fetch(&tp, &v, &tb); in _PyIOBase_finalize()
231 PyErr_Restore(tp, v, tb); in _PyIOBase_finalize()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.c1310 char *tp, **cp; in tok_get() local
1311 tp = cbuf; in tok_get()
1313 *tp++ = c = tok_nextc(tok); in tok_get()
1315 (size_t)(tp - cbuf + 1) < sizeof(cbuf)); in tok_get()
1316 *tp = '\0'; in tok_get()
1320 if ((tp = strstr(cbuf, *cp))) { in tok_get()
1321 int newsize = atoi(tp + strlen(*cp)); in tok_get()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.c1330 char *tp, **cp; in tok_get() local
1331 tp = cbuf; in tok_get()
1333 *tp++ = c = tok_nextc(tok); in tok_get()
1335 (size_t)(tp - cbuf + 1) < sizeof(cbuf)); in tok_get()
1336 *tp = '\0'; in tok_get()
1340 if ((tp = strstr(cbuf, *cp))) { in tok_get()
1341 int newsize = atoi(tp + strlen(*cp)); in tok_get()

123