/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
inet_ntop.c | 139 char *tp, *ep;
local 184 tp = tmp;
191 *tp++ = ':';
196 if (tp + 1 >= ep)
198 *tp++ = ':';
205 if (!inet_ntop4(src+12, tp, (socklen_t)(ep - tp)))
207 tp += strlen(tp);
210 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i]); [all...] |
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
pitest-4.c | 17 * There are another 1 thread TP, which is used to check the 18 * priority change of TL, P(TB1)<P(TL)<P(TP)<P(TB2), P(TH) stands for 27 * 2. Create 1 TP threads and do workload. The thread 30 * run when TP sleep a wee bit in between. 69 } tp[] = { variable in typeref:struct:thread_param 72 1, 0, 100, 4, SCHED_FIFO, "TP", 0, 0, 0, 0}, { 99 struct thread_param *tp = param; local 102 unsigned long mask = 1 << tp->cpu; 108 "%d %s", tp->name, tp->index, rc, strerror(rc)) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
22-1.c | 57 struct timespec tp; local 85 ret = clock_gettime(clp, &tp); 92 while (tp.tv_sec < 1); 104 ret = clock_gettime(clt, &tp); 111 while (tp.tv_sec < 1); 131 ret = clock_gettime(clp, &tp); 138 if (tp.tv_sec > 0) { 152 ret = clock_gettime(clt, &tp); 159 if (tp.tv_sec > 0) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_memoryview.py | 26 def check_getitem_with_type(self, tp):
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...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITestExtended.java | 58 TestParams tp = new TestParams(); local 159 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); 164 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); 169 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); 174 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); 179 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITestExtended.java | 55 TestParams tp = new TestParams(); local 156 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); 161 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); 166 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); 171 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); 176 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale) [all...] |
/external/iperf3/src/ |
t_timer.c | 54 Timer *tp; local 57 tp = tmr_create(NULL, timer_proc, JunkClientData, 3000000, 0); 58 if (!tp)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
8-2.c | 35 struct timespec tp; local 40 if (clock_gettime(invalid_tests[i], &tp) == 0) {
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
MessageFormatterPerfTest.java | 75 final FormattingTuple tp = MessageFormatter.format("This is some rather short message {} ", i1); local 76 tp.getMessage(); 77 tp.getArgArray(); 78 tp.getThrowable(); 89 final FormattingTuple tp = MessageFormatter.format("This is some {} short message {} ", i1, i2); local 90 tp.getMessage(); 91 tp.getArgArray(); 92 tp.getThrowable();
|
/external/tensorflow/tensorflow/core/common_runtime/ |
mkl_threadpool_device_test.cc | 33 ThreadPoolDevice* tp = new ThreadPoolDevice( local 44 ThreadPoolDevice* tp = new ThreadPoolDevice( local
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
lseek11.c | 202 struct tparam *tp = &tparams[n]; local 208 offset = (tp->startblock * block_size) + tp->offset; 209 offset = SAFE_LSEEK(fd, offset, tp->whence); 210 if (tp->data) { 211 SAFE_READ(1, fd, buf, tp->count); 212 rc = strcmp(buf, tp->data); 221 n, (tp->whence == SEEK_DATA) ? "SEEK_DATA" : "SEEK_HOLE", 222 tp->startblock, tp->offset, tp->data ? tp->data : "", buf) [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
AbsoluteSizeSpanTest.java | 73 TextPaint tp = new TextPaint(); local 74 absoluteSizeSpan.updateMeasureState(tp); 75 assertEquals(1.0f, tp.getTextSize(), 0.0f); 78 absoluteSizeSpan.updateMeasureState(tp); 79 assertEquals(10.0f, tp.getTextSize(), 0.0f); 95 TextPaint tp = new TextPaint(); local 96 absoluteSizeSpan.updateDrawState(tp); 97 assertEquals(2.0f, tp.getTextSize(), 0.0f); 101 absoluteSizeSpan.updateDrawState(tp); 102 assertEquals(20.0f, tp.getTextSize(), 0.0f) [all...] |
TypefaceSpanTest.java | 71 TextPaint tp = new TextPaint(); local 72 assertNull(tp.getTypeface()); 74 typefaceSpan.updateMeasureState(tp); 76 assertNotNull(tp.getTypeface()); 78 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle()); 92 TextPaint tp = new TextPaint(); local 93 assertNull(tp.getTypeface()); 95 typefaceSpan.updateDrawState(tp); 97 assertNotNull(tp.getTypeface()); 99 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle()) [all...] |
StyleSpanTest.java | 65 TextPaint tp = new TextPaint(); local 67 tp.setTypeface(tf); 69 assertNotNull(tp.getTypeface()); 70 assertEquals(Typeface.NORMAL, tp.getTypeface().getStyle()); 72 styleSpan.updateMeasureState(tp); 74 assertNotNull(tp.getTypeface()); 75 assertEquals(Typeface.BOLD, tp.getTypeface().getStyle()); 89 TextPaint tp = new TextPaint(); local 91 tp.setTypeface(tf); 93 assertNotNull(tp.getTypeface()) [all...] |
/external/mksh/src/ |
exec.c | 62 struct tbl *tp = NULL; local 130 tp = findcom(ap[0], FC_BI|FC_FUNC); 146 if (iosetup(*iowp, tp) < 0) { 152 if (tp && tp->type == CSHELL && 153 (tp->flag & SPEC_BI)) 162 rv = comexec(t, tp, (const char **)ap, flags, xerrok); 484 comexec(struct op *t, struct tbl * volatile tp, const char **ap, 530 while (tp && tp->type == CSHELL) 1047 struct tbl *tp = NULL; local 1072 struct tbl *tp; local 1120 struct tbl *tp; local 1176 struct tbl *tp = NULL, *tbi; local 1270 struct tbl *tp; local [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
ATokenBuffer.cpp | 63 buffer++; // leave the first elem empty so tp-1 is valid ptr
65 tp = &buffer[0];
66 last = tp-1;
110 if ( tp <= last ) // is there any buffered lookahead still to be read?
112 return *tp++; // read buffered lookahead
139 tp = last;
140 return *tp++;
147 /* MR23 */ printMessage(stderr, "rewind(%d)[nm=%d,from=%d,%d.n=%d]\n", pos, num_markers, tp-buffer,pos,test[pos]);
150 tp = &buffer[pos];
162 test[tp-buffer]++; [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
ATokenBuffer.cpp | 61 buffer++; // leave the first elem empty so tp-1 is valid ptr
63 tp = &buffer[0];
64 last = tp-1;
109 if ( tp <= last ) // is there any buffered lookahead still to be read?
111 return *tp++; // read buffered lookahead
138 tp = last;
139 return *tp++;
146 fprintf(stderr, "rewind(%d)[nm=%d,from=%d,%d.n=%d]\n", pos, num_markers, tp-buffer,pos,test[pos]);
149 tp = &buffer[pos];
161 test[tp-buffer]++; [all...] |
/external/tcpdump/ |
print-atalk.c | 413 register const struct atNBPtuple *tp = local 431 if ((const u_char *)tp > ep) { 440 if ((const u_char *)(tp + 1) > ep) { 444 (void)nbp_name_print(ndo, tp, ep); 452 if (tp->enumerator) 453 ND_PRINT((ndo, " [enum=%d]", tp->enumerator)); 454 if (EXTRACT_16BITS(&tp->net) != snet || 455 tp->node != snode || tp->skt != skt) 457 ataddr_string(ndo, EXTRACT_16BITS(&tp->net) 570 register struct hnamemem *tp, *tp2; local [all...] |
/external/libffi/src/ |
raw_api.c | 60 ffi_type **tp = cif->arg_types; local 64 for (i = 0; i < cif->nargs; i++, tp++, args++) 66 switch ((*tp)->type) 101 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; 110 for (i = 0; i < cif->nargs; i++, tp++, args++) 113 if ((*tp)->type == FFI_TYPE_STRUCT) 119 if ((*tp)->type == FFI_TYPE_COMPLEX) 126 raw += ALIGN ((*tp)->size, sizeof (void*)) / sizeof (void*); 141 ffi_type **tp = cif->arg_types; local 143 for (i = 0; i < cif->nargs; i++, tp++, args++ [all...] |
/external/ltp/testcases/kernel/syscalls/sched_rr_get_interval/ |
sched_rr_get_interval03.c | 40 * address specified as &tp is invalid 81 struct timespec tp; variable in typeref:struct:timespec 89 struct timespec *tp; member in struct:test_cases_t 93 &inval_pid, &tp, EINVAL}, { 94 &unused_pid, &tp, ESRCH}, 122 test_cases[i].tp));
|
/external/iputils/ |
rdisc.c | 1313 struct table *tp; local 1315 tp = table; 1316 while (tp) { 1317 if (tp->router.s_addr == addr.s_addr) 1318 return (tp); 1319 tp = tp->next; 1326 struct table *tp; local 1329 tp = table; 1330 while (tp) { 1343 struct table **tpp, *tp; local 1381 struct table **tpp, *tp; local 1397 struct table *tp; local [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
inet_neta.c | 97 char *tp;
local 106 tp = dst;
112 size -= (size_t)(dst - tp);
|
/external/libcxx/src/ |
chrono.cpp | 79 struct timespec tp; 80 if (0 != clock_gettime(CLOCK_REALTIME, &tp)) 82 return time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000)); 119 struct timespec tp; variable in typeref:struct:chrono::timespec 120 if (0 != clock_gettime(CLOCK_UPTIME_RAW, &tp)) 122 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); 206 struct timespec tp; variable in typeref:struct:chrono::timespec 207 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp)) [all...] |
/external/python/cpython2/Lib/test/ |
test_memoryview.py | 29 def check_getitem_with_type(self, tp): 31 b = tp(self._source) 52 for tp in self._types: 53 self.check_getitem_with_type(tp) 56 for tp in self._types: 57 b = tp(self._source) 62 for tp in self._types: 63 b = tp(self._source) 84 tp = self.rw_type 88 m[0] = tp(b"0" [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
raw_api.c | 60 ffi_type **tp = cif->arg_types; local 64 for (i = 0; i < cif->nargs; i++, tp++, args++) 66 switch ((*tp)->type) 97 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; 106 for (i = 0; i < cif->nargs; i++, tp++, args++) 109 if ((*tp)->type == FFI_TYPE_STRUCT) 117 raw += ALIGN ((*tp)->size, sizeof (void*)) / sizeof (void*); 132 ffi_type **tp = cif->arg_types; local 134 for (i = 0; i < cif->nargs; i++, tp++, args++) 136 switch ((*tp)->type [all...] |