/external/u-boot/drivers/usb/eth/ |
D | r8152_fw.c | 723 static void rtl_clear_bp(struct r8152 *tp) in rtl_clear_bp() argument 725 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_0, 0); in rtl_clear_bp() 726 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_2, 0); in rtl_clear_bp() 727 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_4, 0); in rtl_clear_bp() 728 ocp_write_dword(tp, MCU_TYPE_PLA, PLA_BP_6, 0); in rtl_clear_bp() 729 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_0, 0); in rtl_clear_bp() 730 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_2, 0); in rtl_clear_bp() 731 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_4, 0); in rtl_clear_bp() 732 ocp_write_dword(tp, MCU_TYPE_USB, USB_BP_6, 0); in rtl_clear_bp() 736 ocp_write_word(tp, MCU_TYPE_PLA, PLA_BP_BA, 0); in rtl_clear_bp() [all …]
|
D | r8152.c | 71 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in get_registers() argument 76 ret = usb_control_msg(tp->udev, usb_rcvctrlpipe(tp->udev, 0), in get_registers() 84 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers() argument 89 return usb_control_msg(tp->udev, usb_sndctrlpipe(tp->udev, 0), in set_registers() 94 int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read() argument 110 ret = get_registers(tp, index, type, txsize, data); in generic_ocp_read() 122 int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, in generic_ocp_write() argument 141 ret = set_registers(tp, index, type | byte_en_to_hw, 4, data); in generic_ocp_write() 155 ret = set_registers(tp, index, in generic_ocp_write() 167 ret = set_registers(tp, index, type | byte_en_to_hw, 4, data); in generic_ocp_write() [all …]
|
/external/tcpdump/ |
D | addrtoname.c | 343 struct enamemem *tp; in lookup_emem() local 349 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; in lookup_emem() 350 while (tp->e_nxt) in lookup_emem() 351 if (tp->e_addr0 == i && in lookup_emem() 352 tp->e_addr1 == j && in lookup_emem() 353 tp->e_addr2 == k) in lookup_emem() 354 return tp; in lookup_emem() 356 tp = tp->e_nxt; in lookup_emem() 357 tp->e_addr0 = i; in lookup_emem() 358 tp->e_addr1 = j; in lookup_emem() [all …]
|
D | print-dhcp6.c | 284 const u_char *tp; in dhcp6opt_print() local 316 tp = (const u_char *)(dh6o + 1); in dhcp6opt_print() 317 switch (EXTRACT_16BITS(tp)) { in dhcp6opt_print() 321 EXTRACT_16BITS(&tp[2]), in dhcp6opt_print() 322 EXTRACT_32BITS(&tp[4]))); in dhcp6opt_print() 324 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print() 336 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print() 347 EXTRACT_16BITS(&tp[2]))); in dhcp6opt_print() 349 ND_PRINT((ndo, "%02x", tp[i])); in dhcp6opt_print() 358 ND_PRINT((ndo, " type %d)", EXTRACT_16BITS(tp))); in dhcp6opt_print() [all …]
|
D | print-atalk.c | 413 register const struct atNBPtuple *tp = in nbp_print() local 431 if ((const u_char *)tp > ep) { in nbp_print() 440 if ((const u_char *)(tp + 1) > ep) { in nbp_print() 444 (void)nbp_name_print(ndo, tp, ep); in nbp_print() 452 if (tp->enumerator) in nbp_print() 453 ND_PRINT((ndo, " [enum=%d]", tp->enumerator)); in nbp_print() 454 if (EXTRACT_16BITS(&tp->net) != snet || in nbp_print() 455 tp->node != snode || tp->skt != skt) in nbp_print() 457 ataddr_string(ndo, EXTRACT_16BITS(&tp->net), in nbp_print() 458 tp->node), tp->skt)); in nbp_print() [all …]
|
D | strtoaddr.c | 161 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in strtoaddr6() local 166 memset((tp = tmp), '\0', NS_IN6ADDRSZ); in strtoaddr6() 167 endp = tp + NS_IN6ADDRSZ; in strtoaddr6() 193 colonp = tp; in strtoaddr6() 197 if (tp + NS_INT16SZ > endp) in strtoaddr6() 199 *tp++ = (u_char) (val >> 8) & 0xff; in strtoaddr6() 200 *tp++ = (u_char) val & 0xff; in strtoaddr6() 205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && in strtoaddr6() 206 strtoaddr(curtok, tp) > 0) { in strtoaddr6() 207 tp += NS_INADDRSZ; in strtoaddr6() [all …]
|
/external/python/cffi/cffi/ |
D | vengine_cpy.py | 47 def _do_collect_type(self, tp): argument 48 if ((not isinstance(tp, model.PrimitiveType) 49 or tp.name == 'long double') 50 and tp not in self._typesdict): 52 self._typesdict[tp] = num 204 lst = [(key, tp) for (key, (tp, qual)) in 210 for name, tp in self._get_declarations(): 219 method(tp, realname) 225 for name, tp in self._get_declarations(): 229 method(tp, realname, module, **kwds) [all …]
|
D | recompiler.py | 143 for tp in all_decls: 144 if tp.is_raw_function: 145 assert self._typesdict[tp] is None 146 self._typesdict[tp] = len(self.cffi_types) 147 self.cffi_types.append(tp) # placeholder 148 for tp1 in tp.args: 160 for tp in all_decls: 161 if not tp.is_raw_function and self._typesdict[tp] is None: 162 self._typesdict[tp] = len(self.cffi_types) 163 self.cffi_types.append(tp) # placeholder [all …]
|
D | vengine_gen.py | 94 lst = [(key, tp) for (key, (tp, qual)) in 100 for name, tp in self._get_declarations(): 109 method(tp, realname) 115 for name, tp in self._get_declarations(): 119 method(tp, realname, module, **kwds) 124 def _generate_nothing(self, tp, name): argument 127 def _loaded_noop(self, tp, name, module, **kwds): argument 140 def _generate_gen_function_decl(self, tp, name): argument 141 assert isinstance(tp, model.FunctionPtrType) 142 if tp.ellipsis: [all …]
|
D | cparser.py | 445 def _declare_function(self, tp, quals, decl): argument 446 tp = self._get_type_pointer(tp, quals) 455 self._declare(tag + decl.name, tp) 460 tp, quals = self._get_type_and_quals(node, name=decl.name) 461 assert isinstance(tp, model.RawFunctionType) 462 self._declare_function(tp, quals, decl) 475 tp, quals = self._get_type_and_quals(node, 477 if tp.is_raw_function: 478 self._declare_function(tp, quals, decl) 479 elif (tp.is_integer_type() and [all …]
|
/external/pdfium/third_party/libopenjpeg20/ |
D | thread.c | 579 opj_thread_pool_t *tp; member 619 static OPJ_BOOL opj_thread_pool_setup(opj_thread_pool_t* tp, int num_threads); 621 opj_thread_pool_t* tp, 627 opj_thread_pool_t* tp; in opj_thread_pool_create() local 629 tp = (opj_thread_pool_t*) opj_calloc(1, sizeof(opj_thread_pool_t)); in opj_thread_pool_create() 630 if (!tp) { in opj_thread_pool_create() 633 tp->state = OPJWTS_OK; in opj_thread_pool_create() 636 tp->tls = opj_tls_new(); in opj_thread_pool_create() 637 if (!tp->tls) { in opj_thread_pool_create() 638 opj_free(tp); in opj_thread_pool_create() [all …]
|
/external/perfetto/src/tracing/core/ |
D | trace_packet_unittest.cc | 33 TracePacket tp; in TEST() local 34 tp.AddSlice(ser_buf.data(), ser_buf.size()); in TEST() 35 auto slice = tp.slices().begin(); in TEST() 36 ASSERT_NE(tp.slices().end(), slice); in TEST() 39 ASSERT_EQ(tp.slices().end(), ++slice); in TEST() 42 ASSERT_TRUE(decoded_packet.ParseFromString(tp.GetRawBytesForTesting())); in TEST() 51 TracePacket tp; in TEST() local 52 tp.AddSlice({ser_buf.data(), 3}); in TEST() 53 tp.AddSlice({ser_buf.data() + 3, 5}); in TEST() 54 tp.AddSlice({ser_buf.data() + 3 + 5, ser_buf.size() - 3 - 5}); in TEST() [all …]
|
/external/curl/lib/ |
D | inet_pton.c | 97 unsigned char tmp[INADDRSZ], *tp; in inet_pton4() local 101 tp = tmp; in inet_pton4() 102 *tp = 0; in inet_pton4() 108 unsigned int val = *tp * 10 + (unsigned int)(pch - digits); in inet_pton4() 110 if(saw_digit && *tp == 0) in inet_pton4() 114 *tp = (unsigned char)val; in inet_pton4() 124 *++tp = 0; in inet_pton4() 155 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() local 160 memset((tp = tmp), 0, IN6ADDRSZ); in inet_pton6() 161 endp = tp + IN6ADDRSZ; in inet_pton6() [all …]
|
/external/clang/test/Analysis/ |
D | uninit-const.c | 26 int* tp = &t; // expected-note {{'tp' initialized here}} in f_1() local 27 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_1() 47 int* tp = p; // expected-note {{'tp' initialized here}} in f_2() local 48 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to uninit… in f_2() 64 int* tp = ta; // expected-note {{'tp' initialized here}} in f_5() local 65 …doStuff_pointerToConstInt(tp); // expected-warning {{Function call argument is a pointer to unini… in f_5() 77 int* tp = ta; in f_6() local 78 doStuff_pointerToConstInt(tp); // no-warning in f_6() 150 int* tp = &t; // expected-note {{'tp' initialized here}} in f_variadic_unp_unv() local 151 …doStuff_variadic(tp,v); // expected-warning {{Function call argument is a pointer to uninitialize… in f_variadic_unp_unv() [all …]
|
/external/mksh/src/ |
D | exec.c | 62 struct tbl *tp = NULL; in execute() local 130 tp = findcom(ap[0], FC_BI|FC_FUNC); in execute() 146 if (iosetup(*iowp, tp) < 0) { in execute() 152 if (tp && tp->type == CSHELL && in execute() 153 (tp->flag & SPEC_BI)) in execute() 162 rv = comexec(t, tp, (const char **)ap, flags, xerrok); in execute() 484 comexec(struct op *t, struct tbl * volatile tp, const char **ap, in comexec() argument 530 while (tp && tp->type == CSHELL) { in comexec() 533 if (tp->val.f == c_builtin) { in comexec() 536 tp = NULL; in comexec() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_memoryview.py | 29 def check_getitem_with_type(self, tp): argument 30 b = tp(self._source) 51 for tp in self._types: 52 self.check_getitem_with_type(tp) 55 for tp in self._types: 56 b = tp(self._source) 77 tp = self.rw_type 82 self._check_contents(tp, b, b"1bcdef") 83 m[0:1] = tp(b"0") 84 self._check_contents(tp, b, b"0bcdef") [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_memoryview.py | 29 def check_getitem_with_type(self, tp): argument 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/ltp/testcases/kernel/syscalls/settimeofday/ |
D | settimeofday01.c | 72 struct timeval tp, tp1, tp2; variable 93 gettimeofday(&tp, NULL); in main() 94 tp.tv_sec += VAL_SEC; in main() 95 tp.tv_usec += VAL_MSEC; in main() 96 if (tp.tv_usec >= USEC_PER_SEC) in main() 97 tp.tv_usec = VAL_MSEC; in main() 99 TEST(settimeofday(&tp, NULL)); in main() 109 if (tp2.tv_sec > tp.tv_sec) { in main() 111 (suseconds_t) (tp2.tv_sec - tp.tv_sec) * 1000 + in main() 112 (tp2.tv_usec - tp.tv_usec) / 1000; in main() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | armv8-mont.pl | 56 $ovf, $i,$j,$tp,$tj) = map("x$_",6..17,19..24); 85 sub $tp,sp,$num,lsl#3 89 and $tp,$tp,#-16 // ABI says so 99 mov sp,$tp // alloca 135 str $lo1,[$tp],#8 // tp[j-1] 152 stp $lo1,$hi1,[$tp] 158 add $tp,sp,#8 183 ldr $tj,[$tp],#8 // tp[j] 200 str $lo1,[$tp,#-16] // tp[j-1] 204 ldr $tj,[$tp],#8 // tp[j] [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBITestExtended.java | 55 TestParams tp = new TestParams(); in TestExtended() local 156 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended() 161 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended() 166 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended() 171 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended() 176 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); in TestExtended() 197 tp.currentLocale = new ULocale(localeName); in TestExtended() 204 tp.dataToBreak.setLength(0); in TestExtended() 205 Arrays.fill(tp.expectedBreaks, 0); in TestExtended() 206 Arrays.fill(tp.srcCol, 0); in TestExtended() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITestExtended.java | 58 TestParams tp = new TestParams(); in TestExtended() local 159 tp.bi = BreakIterator.getWordInstance(tp.currentLocale); in TestExtended() 164 tp.bi = BreakIterator.getCharacterInstance(tp.currentLocale); in TestExtended() 169 tp.bi = BreakIterator.getLineInstance(tp.currentLocale); in TestExtended() 174 tp.bi = BreakIterator.getSentenceInstance(tp.currentLocale); in TestExtended() 179 tp.bi = BreakIterator.getTitleInstance(tp.currentLocale); in TestExtended() 200 tp.currentLocale = new ULocale(localeName); in TestExtended() 207 tp.dataToBreak.setLength(0); in TestExtended() 208 Arrays.fill(tp.expectedBreaks, 0); in TestExtended() 209 Arrays.fill(tp.srcCol, 0); in TestExtended() [all …]
|
/external/blktrace/btt/ |
D | mmap.c | 50 struct blk_io_trace *tp, in convert_to_cpu() argument 57 memcpy(tp, t, sizeof(*tp)); in convert_to_cpu() 59 tp->magic = be32_to_cpu(t->magic); in convert_to_cpu() 60 tp->sequence = be32_to_cpu(t->sequence); in convert_to_cpu() 61 tp->time = be64_to_cpu(t->time); in convert_to_cpu() 62 tp->sector = be64_to_cpu(t->sector); in convert_to_cpu() 63 tp->bytes = be32_to_cpu(t->bytes); in convert_to_cpu() 64 tp->action = be32_to_cpu(t->action); in convert_to_cpu() 65 tp->pid = be32_to_cpu(t->pid); in convert_to_cpu() 66 tp->device = be32_to_cpu(t->device); in convert_to_cpu() [all …]
|
/external/openssh/openbsd-compat/ |
D | inet_ntop.c | 118 char *tp, *ep; in inet_ntop6() local 158 tp = tmp; in inet_ntop6() 160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6() 165 if (tp + 1 >= ep) in inet_ntop6() 167 *tp++ = ':'; in inet_ntop6() 173 if (tp + 1 >= ep) in inet_ntop6() 175 *tp++ = ':'; in inet_ntop6() 180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6() 182 tp += strlen(tp); in inet_ntop6() 185 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6() [all …]
|
/external/python/cpython3/Objects/ |
D | object.c | 134 PyTypeObject *tp; in _Py_dump_counts() local 135 for (tp = type_list; tp; tp = tp->tp_next) in _Py_dump_counts() 139 tp->tp_name, tp->tp_allocs, tp->tp_frees, in _Py_dump_counts() 140 tp->tp_maxalloc); in _Py_dump_counts() 155 PyTypeObject *tp; in _Py_get_counts() local 162 for (tp = type_list; tp; tp = tp->tp_next) { in _Py_get_counts() 163 v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs, in _Py_get_counts() 164 tp->tp_frees, tp->tp_maxalloc); in _Py_get_counts() 180 _Py_inc_count(PyTypeObject *tp) in _Py_inc_count() argument 182 if (tp->tp_next == NULL && tp->tp_prev == NULL) { in _Py_inc_count() [all …]
|
/external/iputils/ |
D | rdisc.c | 1313 struct table *tp; in find_router() local 1315 tp = table; in find_router() 1316 while (tp) { in find_router() 1317 if (tp->router.s_addr == addr.s_addr) in find_router() 1318 return (tp); in find_router() 1319 tp = tp->next; in find_router() 1326 struct table *tp; in max_preference() local 1329 tp = table; in max_preference() 1330 while (tp) { in max_preference() 1331 if (tp->preference > max) in max_preference() [all …]
|