Home
last modified time | relevance | path

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

123

/reactos/drivers/filesystems/btrfs/
H A Dextent-tree.c719 RtlCopyMemory(newei, tp.item->data, ptr - tp.item->data); in increase_extent_refcount()
814 RtlCopyMemory(newei, tp.item->data, tp.item->size); in increase_extent_refcount()
824 …nsert_tree_item(Vcb, Vcb->extent_root, tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.of… in increase_extent_refcount()
873 RtlCopyMemory(newei, tp.item->data, tp.item->size); in increase_extent_refcount()
883 …nsert_tree_item(Vcb, Vcb->extent_root, tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.of… in increase_extent_refcount()
1340 RtlCopyMemory(newei, tp.item->data, tp.item->size); in decrease_extent_refcount()
1421 RtlCopyMemory(newei, tp.item->data, tp.item->size); in decrease_extent_refcount()
1473 RtlCopyMemory(newei, tp.item->data, tp.item->size); in decrease_extent_refcount()
1483 …nsert_tree_item(Vcb, Vcb->extent_root, tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.of… in decrease_extent_refcount()
1525 RtlCopyMemory(newei, tp.item->data, tp.item->size); in decrease_extent_refcount()
[all …]
H A Dtreefuncs.c383 t1 = tp->tree; in skip_to_difference()
611 next = next_item(tp->tree, tp->item);
635 t = tp->tree;
726 if (prev_item(tp->tree, tp->item)) {
728 prev_tp->item = prev_item(tp->tree, tp->item);
736 t = tp->tree;
927 if (tp.item) {
990 *ptp = tp;
992 t = tp.tree;
1035 tp->tree->size -= sizeof(leaf_node) + tp->item->size;
[all …]
H A Dsend.c238 traverse_ptr tp; in send_read_symlink() local
252 …ERR("could not find (%I64x,%x,%I64x)\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.… in send_read_symlink()
287 if (tp2 && !tp) { in send_inode()
772 uint64_t inode = tp ? tp->item->key.obj_id : 0, dir = tp ? tp->item->key.offset : 0; in send_inode_ref()
2622 …if (tp && tp2 && tp->item->size == tp2->item->size && RtlCompareMemory(tp->item->data, tp2->item->… in send_extent_data()
2639 if (tp) { in send_extent_data()
2771 …if (tp && tp2 && tp->item->size == tp2->item->size && RtlCompareMemory(tp->item->data, tp2->item->… in send_xattr()
2785 if (tp && tp->item->size < sizeof(DIR_ITEM)) { in send_xattr()
3093 … TRACE("~ %I64x,%x,%I64x\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.offset); in _Function_class_()
3110 …if (tp.item->size == tp2.item->size && tp.item->size > 0 && RtlCompareMemory(tp.item->data, tp2.it… in _Function_class_()
[all …]
H A Dfree-space.c115 …x,%x,%I64x) was %u bytes, expected %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in clear_free_space_cache()
468 traverse_ptr tp; in load_stored_free_space_cache() local
498 …x,%x,%I64x) was %u bytes, expected %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in load_stored_free_space_cache()
758 …x,%x,%I64x) was %u bytes, expected %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in load_stored_free_space_tree()
784 …x,%x,%I64x) was %u bytes, expected %lu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in load_stored_free_space_tree()
787 …WARN("(%I64x,%x,%I64x) has size of 0\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.… in load_stored_free_space_tree()
804 RtlCopyMemory(bmparr, tp.item->data, tp.item->size); in load_stored_free_space_tree()
844 if (lastoff < tp.item->key.obj_id + tp.item->key.offset) { in load_stored_free_space_tree()
1253 …x,%x,%I64x) was %u bytes, expected %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in allocate_cache_chunk()
1347 …x,%x,%I64x) was %u bytes, expected %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in allocate_cache_chunk()
[all …]
H A Dbalance.c230 traverse_ptr tp; variable
256 …if (tp.item->key.obj_id == address && tp.item->key.obj_type == TYPE_METADATA_ITEM && tp.item->size…
570 traverse_ptr tp; variable
1102 traverse_ptr tp; in balance_metadata_chunk() local
1222 traverse_ptr tp; variable
1673 traverse_ptr tp; in balance_data_chunk() local
2380 traverse_ptr tp; in add_balance_item() local
2453 traverse_ptr tp; in remove_balance_item() local
2588 traverse_ptr tp; variable
2807 traverse_ptr tp; variable
[all …]
H A Dflushthread.c1083 traverse_ptr tp; in shared_tree_is_unique() local
2113 traverse_ptr tp; in update_backup_superblock() local
2560 RtlCopyMemory(data, tp.item->data, tp.item->size); in flush_changed_extent()
2927 RtlCopyMemory(bgi, tp.item->data, tp.item->size); in update_chunk_usage()
3563 RtlCopyMemory(eism, tp.item->data, tp.item->size); in update_extent_level()
3610 RtlCopyMemory(eit, tp.item->data, tp.item->size); in update_extent_level()
3621 …insert_tree_item(Vcb, Vcb->extent_root, tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.o… in update_extent_level()
6369 RtlCopyMemory(rr2, tp.item->data, tp.item->size); in add_root_ref()
6419 if (!keycmp(tp.item->key, searchkey) && tp.item->size > 0) { in update_root_backref()
6500 RtlCopyMemory(ri, tp.item->data, tp.item->size); in add_root_item_to_cache()
[all …]
H A Dscrub.c51 traverse_ptr tp; in log_file_checksum_error() local
100 …x) was %u bytes, expected at least %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in log_file_checksum_error()
105 …4x,%x,%I64x) was %u bytes, expected at least %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, t… in log_file_checksum_error()
163 …x) was %u bytes, expected at least %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in log_file_checksum_error()
444 traverse_ptr tp; in log_unrecoverable_error() local
466 …(tp.item->key.obj_type == TYPE_EXTENT_ITEM && tp.item->key.obj_id + tp.item->key.offset <= address… in log_unrecoverable_error()
472 …x) was %u bytes, expected at least %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke… in log_unrecoverable_error()
2428 traverse_ptr tp; in scrub_chunk_raid56_stripe_run() local
2839 traverse_ptr tp; in scrub_chunk_raid56() local
2926 traverse_ptr tp; in scrub_chunk() local
[all …]
H A Dcreate.c499 tp = next_tp;
548 tp = next_tp;
549 …TRACE("moving on to %I64x,%x,%I64x\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.of…
559 …x) was %u bytes, expected at least %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke…
564 …("(%I64x,%x,%I64x): DIR_ITEM name length is zero\n", tp.item->key.obj_id, tp.item->key.obj_type, t…
825 tp = next_tp;
1219 RtlCopyMemory(&ext->extent_data, tp.item->data, tp.item->size);
1373 traverse_ptr tp; variable
1435 …4x) was %u bytes, expected at least %u\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke…
2656 traverse_ptr tp; variable
[all …]
H A Dbtrfs.c409 tp = prev_tp;
411 …TRACE("moving on to %I64x,%x,%I64x\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.of…
475 traverse_ptr tp; local
496 …x) was %u bytes, expected at least %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke…
1276 traverse_ptr tp; variable
3029 if (tp) {
3100 … TRACE("(%I64x,%x,%I64x)\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.offset);
3251 …x,%x,%I64x) was %u bytes, expected %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke…
3535 … TRACE("(%I64x,%x,%I64x)\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.offset);
3539 …x,%x,%I64x) was %u bytes, expected %Iu\n", tp.item->key.obj_id, tp.item->key.obj_type, tp.item->ke…
[all …]
/reactos/sdk/lib/crt/sys_stat/
H A Dsystime.c30 tp->tm_mday = Time.wDay; in _getsystime()
31 tp->tm_hour = Time.wHour; in _getsystime()
32 tp->tm_min = Time.wMinute; in _getsystime()
33 tp->tm_sec = Time.wSecond; in _getsystime()
35 tp->tm_isdst = -1; in _getsystime()
39 tp->tm_isdst = 1; in _getsystime()
42 tp->tm_isdst = 0; in _getsystime()
46 tp->tm_yday = 1; in _getsystime()
48 tp->tm_yday = 1; in _getsystime()
68 Time.wDay = tp->tm_mday; in _setsystime()
[all …]
/reactos/dll/win32/uxtheme/
H A Dproperty.c29 PTHEME_PROPERTY tp; in GetThemeBool() local
48 PTHEME_PROPERTY tp; in GetThemeColor() local
68 PTHEME_PROPERTY tp; in GetThemeEnumValue() local
93 PTHEME_PROPERTY tp; in GetThemeFilename() local
111 PTHEME_PROPERTY tp; in GetThemeFont() local
129 PTHEME_PROPERTY tp; in GetThemeInt() local
147 PTHEME_PROPERTY tp; in GetThemeIntList() local
165 PTHEME_PROPERTY tp; in GetThemePosition() local
183 PTHEME_PROPERTY tp; in GetThemeRect() local
201 PTHEME_PROPERTY tp; in GetThemeString() local
[all …]
H A Dmetric.c29 PTHEME_PROPERTY tp; in GetThemeSysBool() local
37 hr = MSSTYLES_GetPropertyBool(tp, &ret); in GetThemeSysBool()
61 PTHEME_PROPERTY tp; in GetThemeSysColor() local
69 hr = MSSTYLES_GetPropertyColor(tp, &color); in GetThemeSysColor()
94 PTHEME_PROPERTY tp; in GetThemeSysFont() local
101 hr = MSSTYLES_GetPropertyFont(tp, hdc, plf); in GetThemeSysFont()
136 PTHEME_PROPERTY tp; in GetThemeSysInt() local
146 if((tp = MSSTYLES_FindMetric(ptc->tf , TMT_INT, iIntID))) in GetThemeSysInt()
147 return MSSTYLES_GetPropertyInt(tp, piValue); in GetThemeSysInt()
156 PTHEME_PROPERTY tp; in GetThemeSysSize() local
[all …]
H A Dmsstyles.c839 PTHEME_PROPERTY tp; in MSSTYLES_FindProperty() local
845 return tp; in MSSTYLES_FindProperty()
858 return tp; in MSSTYLES_FindProperty()
997 if(*tp->lpValue == 't' || *tp->lpValue == 'T') in MSSTYLES_GetPropertyBool()
1014 lpEnd = tp->lpValue + tp->dwValueLen; in MSSTYLES_GetPropertyColor()
1080 LPCWSTR lpEnd = tp->lpValue + tp->dwValueLen; in MSSTYLES_GetPropertyFont()
1096 if(!MSSTYLES_GetNextInteger(tp->lpValue, (tp->lpValue + tp->dwValueLen), NULL, piVal)) { in MSSTYLES_GetPropertyInt()
1112 LPCWSTR lpEnd = tp->lpValue + tp->dwValueLen; in MSSTYLES_GetPropertyIntList()
1131 LPCWSTR lpEnd = tp->lpValue + tp->dwValueLen; in MSSTYLES_GetPropertyPosition()
1165 LPCWSTR lpEnd = tp->lpValue + tp->dwValueLen; in MSSTYLES_GetPropertyRect()
[all …]
H A Duxthemep.h136 HRESULT MSSTYLES_GetPropertyBool(PTHEME_PROPERTY tp, BOOL *pfVal);
137 HRESULT MSSTYLES_GetPropertyColor(PTHEME_PROPERTY tp, COLORREF *pColor);
138 HRESULT MSSTYLES_GetPropertyFont(PTHEME_PROPERTY tp, HDC hdc, LOGFONTW *pFont);
139 HRESULT MSSTYLES_GetPropertyInt(PTHEME_PROPERTY tp, int *piVal);
140 HRESULT MSSTYLES_GetPropertyIntList(PTHEME_PROPERTY tp, INTLIST *pIntList);
141 HRESULT MSSTYLES_GetPropertyPosition(PTHEME_PROPERTY tp, POINT *pPoint);
142 HRESULT MSSTYLES_GetPropertyString(PTHEME_PROPERTY tp, LPWSTR pszBuff, int cchMaxBuffChars);
143 HRESULT MSSTYLES_GetPropertyRect(PTHEME_PROPERTY tp, RECT *pRect);
144 HRESULT MSSTYLES_GetPropertyMargins(PTHEME_PROPERTY tp, RECT *prc, MARGINS *pMargins);
/reactos/drivers/network/tcpip/include/
H A Dtcpcore.h2502 memset(&tp->ack, 0, sizeof(tp->ack)); in tcp_delack_init()
2507 tp->tstamp_ok = tp->sack_ok = tp->wscale_ok = tp->snd_wscale = 0; in tcp_clear_options()
2771 __tcp_fast_path_on(tp, tp->snd_wnd>>tp->snd_wscale); in tcp_fast_path_on()
2793 s32 win = tp->rcv_wup + tp->rcv_wnd - tp->rcv_nxt; in tcp_receive_window()
2918 return tp->packets_out - tp->left_out + tp->retrans_out; in tcp_packets_in_flight()
2959 if (tp->sack_ok && tp->sacked_out >= tp->packets_out - tp->lost_out) in tcp_sync_left_out()
2960 tp->sacked_out = tp->packets_out - tp->lost_out; in tcp_sync_left_out()
2961 tp->left_out = tp->sacked_out + tp->lost_out; in tcp_sync_left_out()
2993 tp->snd_cwnd = min(tp->snd_cwnd, in __tcp_enter_cwr()
2996 tp->high_seq = tp->snd_nxt; in __tcp_enter_cwr()
[all …]
/reactos/sdk/lib/crt/string/
H A Dwitow.c22 wchar_t* tp = tmp; in _i64tow() local
38 while (v || tp == tmp) { in _i64tow()
42 *tp++ = i+L'0'; in _i64tow()
44 *tp++ = i + L'a' - 10; in _i64tow()
53 while (tp > tmp) in _i64tow()
54 *sp++ = *--tp; in _i64tow()
65 wchar_t* tp = tmp; in _ui64tow() local
75 while (v || tp == tmp) { in _ui64tow()
79 *tp++ = i+L'0'; in _ui64tow()
88 while (tp > tmp) in _ui64tow()
[all …]
/reactos/sdk/tools/mkisofs/schilytools/libschily/
H A Dgettimeofday.c40 gettimeofday(tp, dummy) in gettimeofday() argument
41 struct timeval *tp; in gettimeofday()
47 if (tp == 0)
59 tp->tv_sec = (long) (T / MS_FTIME_SECS - MS_FTIME_ADD);
60 tp->tv_usec = (long) (T % MS_FTIME_SECS) / 10;
71 gettimeofday(tp, dummy) in gettimeofday() argument
72 struct timeval *tp; in gettimeofday()
77 if (tp == 0)
81 tp->tv_sec = t;
82 tp->tv_usec = 0;
/reactos/dll/win32/winhttp/
H A Dinet_ntop.c116 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; in inet_ntop6() local
155 tp = tmp; in inet_ntop6()
161 *tp++ = ':'; in inet_ntop6()
166 *tp++ = ':'; in inet_ntop6()
170 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) in inet_ntop6()
172 tp += strlen(tp); in inet_ntop6()
175 tp += SPRINTF((tp, "%x", words[i])); in inet_ntop6()
179 *tp++ = ':'; in inet_ntop6()
180 *tp++ = '\0'; in inet_ntop6()
185 if ((size_t)(tp - tmp) > size) { in inet_ntop6()
/reactos/dll/win32/wininet/
H A Dinet_ntop.c117 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; in inet_ntop6() local
156 tp = tmp; in inet_ntop6()
162 *tp++ = ':'; in inet_ntop6()
167 *tp++ = ':'; in inet_ntop6()
171 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) in inet_ntop6()
173 tp += strlen(tp); in inet_ntop6()
176 tp += SPRINTF((tp, "%x", words[i])); in inet_ntop6()
180 *tp++ = ':'; in inet_ntop6()
181 *tp++ = '\0'; in inet_ntop6()
186 if ((socklen_t)(tp - tmp) > size) { in inet_ntop6()
/reactos/base/applications/network/ftp/
H A Dcmds.c382 while (*tp && !islower(*tp)) { in mput()
399 tp = dotrans(tp); in mput()
402 tp = domap(tp); in mput()
405 cp, tp, cp != tp || !interactive); in mput()
426 tp = (mapflag) ? domap(tp) : tp; in mput()
453 tp = (mapflag) ? domap(tp) : tp; in mput()
455 *cpp, tp, *cpp != tp || !interactive); in mput()
535 while (*tp && !islower(*tp)) { in getit()
676 while (*tp && !islower(*tp)) { in mget()
693 tp = dotrans(tp); in mget()
[all …]
/reactos/base/services/dhcpcsvc/dhcp/
H A Doptions.c638 struct packet tp; in do_packet() local
646 memset(&tp, 0, sizeof(tp)); in do_packet()
647 tp.raw = packet; in do_packet()
650 tp.client_addr = from; in do_packet()
652 tp.haddr = hfrom; in do_packet()
654 parse_options(&tp); in do_packet()
657 tp.packet_type = tp.options[DHO_DHCP_MESSAGE_TYPE].data[0]; in do_packet()
658 if (tp.packet_type) in do_packet()
659 dhcp(&tp); in do_packet()
661 bootp(&tp); in do_packet()
[all …]
/reactos/dll/3rdparty/libtiff/
H A Dtif_luv.c191 int16* tp; in LogL16Decode() local
202 tp = (int16*) op; in LogL16Decode()
211 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0])); in LogL16Decode()
225 tp[i++] |= b; in LogL16Decode()
267 uint32* tp; in LogLuvDecode24() local
324 uint32* tp; in LogLuvDecode32() local
345 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0])); in LogLuvDecode32()
359 tp[i++] |= b; in LogLuvDecode32()
444 int16* tp; in LogL16Encode() local
542 uint32* tp; in LogLuvEncode24() local
[all …]
H A Dtif_lzw.c369 char *tp; in LZWDecode() local
419 tp = op; in LZWDecode()
422 --tp; in LZWDecode()
425 *tp = (char)t; in LZWDecode()
537 tp = op + len; in LZWDecode()
540 --tp; in LZWDecode()
609 char *tp; in LZWDecodeCompat() local
644 tp = op + occ; in LZWDecodeCompat()
656 tp = op; in LZWDecodeCompat()
765 tp = op + len; in LZWDecodeCompat()
[all …]
/reactos/dll/opengl/glu32/src/libnurbs/internals/
H A Dmapdescv.cc124 REAL *tp = &tmp[0][0][0]; in calcPartialVelocity() local
143 REAL *ti = tp; in calcPartialVelocity()
145 REAL *til = tp + idist; in calcPartialVelocity()
164 REAL *til = tp + idist - istride; in calcPartialVelocity()
167 for( REAL *ti = tp; ti != til; ti += istride ) in calcPartialVelocity()
175 REAL *tjl = tp + jdist - jstride; in calcPartialVelocity()
178 for( REAL *tj = tp; tj != tjl; tj += jstride ) in calcPartialVelocity()
189 for( REAL *ti = tp, *mi = mp, *til = tp + id; ti != til; ti += istride, mi += mistride ) in calcPartialVelocity()
/reactos/base/applications/taskmgr/
H A Dshutdown.c23 TOKEN_PRIVILEGES tp; in EnablePrivilege() local
32 &tp.Privileges[0].Luid); in EnablePrivilege()
35 tp.PrivilegeCount = 1; in EnablePrivilege()
36 tp.Privileges[0].Attributes = (bEnablePrivilege ? SE_PRIVILEGE_ENABLED : 0); in EnablePrivilege()
38 Success = AdjustTokenPrivileges(hToken, FALSE, &tp, 0, NULL, NULL); in EnablePrivilege()

123