/reactos/base/services/dhcpcsvc/dhcp/ |
H A D | dhclient.c | 193 make_request(ip, ip->client->active); in state_reboot() 218 make_discover(ip, ip->client->active); in state_init() 219 ip->client->xid = ip->client->packet.xid; in state_init() 303 ip->client->xid = ip->client->packet.xid; in state_selecting() 594 ip->client->active = ip->client->new; in bind_lease() 635 make_request(ip, ip->client->active); in state_bound() 636 ip->client->xid = ip->client->packet.xid; in state_bound() 1045 (void)send_packet(ip, &ip->client->packet, ip->client->packet_length, in send_discover() 1235 (void) send_packet(ip, &ip->client->packet, ip->client->packet_length, in send_request() 1251 (void) send_packet(ip, &ip->client->packet, ip->client->packet_length, in send_decline() [all …]
|
H A D | dispatch.c | 176 struct interface_info *ip; in dispatch() local 177 ip = l->local; in dispatch() 179 !ip->dead)) { in dispatch() 208 struct interface_info *ip = l->local; in got_one() local 215 ip->errors++; in got_one() 216 if (ip->errors > 20) { in got_one() 219 ip->name); in got_one() 220 ip->dead = 1; in got_one() 223 adapter = AdapterFindInfo(ip); in got_one() 362 struct interface_info *ip = proto->local; in remove_protocol() local [all …]
|
/reactos/drivers/filesystems/btrfs/zstd/ |
H A D | zstd_double_fast.c | 33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable() 150 ip++; in ZSTD_compressBlock_doubleFast_generic() 158 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic() 159 ip++; in ZSTD_compressBlock_doubleFast_generic() 200 ip += ((ip-anchor) >> kSearchStrength) + 1; in ZSTD_compressBlock_doubleFast_generic() 240 …while (((ip>anchor) & (match>dictStart)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /… in ZSTD_compressBlock_doubleFast_generic() 244 …while (((ip>anchor) & (match>prefixLowest)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; … in ZSTD_compressBlock_doubleFast_generic() 258 anchor = ip; in ZSTD_compressBlock_doubleFast_generic() 416 ip++; in ZSTD_compressBlock_doubleFast_extDict_generic() 456 ip += ((ip-anchor) >> kSearchStrength) + 1; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
H A D | zstd_lazy.c | 690 while (ip < ilimit) { in ZSTD_compressBlock_lazy_generic() 711 matchLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() 730 ip ++; in ZSTD_compressBlock_lazy_generic() 733 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() 765 ip ++; in ZSTD_compressBlock_lazy_generic() 852 && (MEM_read32(ip) == MEM_read32(ip - offset_2)) ) { in ZSTD_compressBlock_lazy_generic() 854 matchLength = ZSTD_count(ip+4, ip+4-offset_2, iend) + 4; in ZSTD_compressBlock_lazy_generic() 958 ip += (ip == prefixStart); in ZSTD_compressBlock_lazy_extDict_generic() 967 while (ip < ilimit) { in ZSTD_compressBlock_lazy_extDict_generic() 1001 ip ++; in ZSTD_compressBlock_lazy_extDict_generic() [all …]
|
H A D | zstd_fast.c | 31 for ( ; ip + fastHashFillStep < iend + 2; ip += fastHashFillStep) { in ZSTD_fillHashTable() 274 ip++; in ZSTD_compressBlock_fast_dictMatchState_generic() 283 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_dictMatchState_generic() 300 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_dictMatchState_generic() 314 ip += mLength; in ZSTD_compressBlock_fast_dictMatchState_generic() 315 anchor = ip; in ZSTD_compressBlock_fast_dictMatchState_generic() 321 hashTable[ZSTD_hashPtr(ip-2, hlog, mls)] = (U32)(ip-2-base); in ZSTD_compressBlock_fast_dictMatchState_generic() 425 ip++; in ZSTD_compressBlock_fast_extDict_generic() 433 ip += ((ip-anchor) >> kSearchStrength) + stepSize; in ZSTD_compressBlock_fast_extDict_generic() 440 …while (((ip>anchor) & (match>lowMatchPtr)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; }… in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
H A D | entropy_common.c | 46 const BYTE* ip = istart; in FSE_readNCount() local 70 bitStream = MEM_readLE32(ip); in FSE_readNCount() 85 if (ip < iend-5) { in FSE_readNCount() 86 ip += 2; in FSE_readNCount() 101 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount() 130 if ((ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { in FSE_readNCount() 135 ip = iend - 4; in FSE_readNCount() 143 ip += (bitCount+7)>>3; in FSE_readNCount() 144 return ip-istart; in FSE_readNCount() 165 iSize = ip[0]; in HUF_readStats() [all …]
|
H A D | hist.c | 32 const BYTE* ip = (const BYTE*)src; in HIST_count_simple() local 40 while (ip<end) { in HIST_count_simple() 42 count[*ip++]++; in HIST_count_simple() 92 { U32 cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 93 while (ip < iend-15) { in HIST_count_parallel_wksp() 94 U32 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 99 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 104 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 109 c = cached; cached = MEM_read32(ip); ip += 4; in HIST_count_parallel_wksp() 115 ip-=4; in HIST_count_parallel_wksp() [all …]
|
H A D | zstd_ldm.c | 282 BYTE const* ip = istart; in ZSTD_ldm_generateSequences_internal() local 287 while (ip <= ilimit) { in ZSTD_ldm_generateSequences_internal() 292 if (ip != istart) { in ZSTD_ldm_generateSequences_internal() 299 lastHashed = ip; in ZSTD_ldm_generateSequences_internal() 303 ip++; in ZSTD_ldm_generateSequences_internal() 370 ip++; in ZSTD_ldm_generateSequences_internal() 376 ip -= backwardMatchLength; in ZSTD_ldm_generateSequences_internal() 411 ip += mLength; in ZSTD_ldm_generateSequences_internal() 412 anchor = ip; in ZSTD_ldm_generateSequences_internal() 577 BYTE const* ip = istart; in ZSTD_ldm_blockCompress() local [all …]
|
H A D | zstd_decompress_block.c | 493 nbSeq = *ip++; in ZSTD_decodeSeqHeaders() 502 nbSeq = MEM_readLE16(ip) + LONGNBSEQ, ip+=2; in ZSTD_decodeSeqHeaders() 515 ip++; in ZSTD_decodeSeqHeaders() 520 ip, iend-ip, in ZSTD_decodeSeqHeaders() 530 ip, iend-ip, in ZSTD_decodeSeqHeaders() 540 ip, iend-ip, in ZSTD_decodeSeqHeaders() 549 return ip-istart; in ZSTD_decodeSeqHeaders() 596 *ip -= sub2; in ZSTD_overlapCopy8() 600 *ip += 8; in ZSTD_overlapCopy8() 1021 ERR_isError(BIT_initDStream(&seqState.DStream, ip, iend-ip)), in ZSTD_decompressSequences_body() [all …]
|
H A D | zstd_opt.c | 349 U32 const target = (U32)(ip - base); in ZSTD_insertAndFindFirstIndexHash3() 389 const U32 current = (U32)(ip-base); in ZSTD_insertBt1() 489 U32 const target = (U32)(ip - base); in ZSTD_updateTree_internal() 522 U32 const current = (U32)(ip-base); in ZSTD_insertBtAndGetAllMatches() 576 repLen = (U32)ZSTD_count(ip+minMatch, ip+minMatch-repOffset, iLimit) + minMatch; in ZSTD_insertBtAndGetAllMatches() 805 const BYTE* ip = istart; in ZSTD_compressBlock_opt_generic() local 826 ip += (ip==prefixStart); in ZSTD_compressBlock_opt_generic() 829 while (ip < ilimit) { in ZSTD_compressBlock_opt_generic() 836 if (!nbMatches) { ip++; continue; } in ZSTD_compressBlock_opt_generic() 892 const BYTE* const inr = ip + cur; in ZSTD_compressBlock_opt_generic() [all …]
|
H A D | zstd_decompress.c | 246 const BYTE* ip = (const BYTE*)src; in ZSTD_getFrameHeader_advanced() local 492 ip += zfh.headerSize; in ZSTD_findFrameSizeInfo() 516 ip += 4; in ZSTD_findFrameSizeInfo() 643 ip += ZSTD_blockHeaderSize; in ZSTD_decompressFrame() 668 assert(ip != NULL); in ZSTD_decompressFrame() 669 ip += cBlockSize; in ZSTD_decompressFrame() 684 ip += 4; in ZSTD_decompressFrame() 689 *srcPtr = ip; in ZSTD_decompressFrame() 1593 const char* ip = istart; in ZSTD_decompressStream() local 1793 loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, iend-ip); in ZSTD_decompressStream() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/apps/snmp/ |
H A D | snmp_core.c | 311 oid[0] = ip4_addr1(ip); in snmp_ip4_to_oid() 312 oid[1] = ip4_addr2(ip); in snmp_ip4_to_oid() 313 oid[2] = ip4_addr3(ip); in snmp_ip4_to_oid() 314 oid[3] = ip4_addr4(ip); in snmp_ip4_to_oid() 343 ip6_addr_set_any(ip); in snmp_oid_to_ip6() 394 idx = snmp_ip_to_oid(ip, oid); in snmp_ip_port_to_oid() 410 if (IP_IS_ANY_TYPE_VAL(*ip)) { in snmp_ip_to_oid() 414 } else if (IP_IS_V6(ip)) { in snmp_ip_to_oid() 459 memset(ip, 0, sizeof(*ip)); in snmp_oid_to_ip() 475 IP_SET_TYPE(ip, IPADDR_TYPE_V4); in snmp_oid_to_ip() [all …]
|
/reactos/modules/rostests/winetests/ntdll/ |
H A D | rtl.c | 1846 memset(&ip, 0, sizeof(ip)); in test_RtlIpv6AddressToString() 2028 ip.s6_words[0], ip.s6_words[1], ip.s6_words[2], ip.s6_words[3], in compare_RtlIpv6StringToAddressW() 2029 ip.s6_words[4], ip.s6_words[5], ip.s6_words[6], ip.s6_words[7], in compare_RtlIpv6StringToAddressW() 2117 ip.s6_words[0], ip.s6_words[1], ip.s6_words[2], ip.s6_words[3], in test_RtlIpv6StringToAddress() 2118 ip.s6_words[4], ip.s6_words[5], ip.s6_words[6], ip.s6_words[7], in test_RtlIpv6StringToAddress() 2147 ip.s6_words[0], ip.s6_words[1], ip.s6_words[2], ip.s6_words[3], in compare_RtlIpv6StringToAddressExW() 2148 ip.s6_words[4], ip.s6_words[5], ip.s6_words[6], ip.s6_words[7], in compare_RtlIpv6StringToAddressExW() 2353 ip.s6_words[0], ip.s6_words[1], ip.s6_words[2], ip.s6_words[3], in test_RtlIpv6StringToAddressEx() 2354 ip.s6_words[4], ip.s6_words[5], ip.s6_words[6], ip.s6_words[7], in test_RtlIpv6StringToAddressEx() 2380 ip.s6_words[0], ip.s6_words[1], ip.s6_words[2], ip.s6_words[3], in test_RtlIpv6StringToAddressEx() [all …]
|
/reactos/modules/rostests/winetests/comctl32/ |
H A D | ipaddress.c | 42 CHAR ip[16]; in test_get_set_text() local 53 r = GetWindowTextA(hwnd, ip, ARRAY_SIZE(ip)); in test_get_set_text() 55 ok(strcmp(ip, "0.0.0.0") == 0, "Expected null IP address, got %s\n", ip); in test_get_set_text() 58 r = GetWindowTextA(hwnd, ip, ARRAY_SIZE(ip)); in test_get_set_text() 60 ok(strcmp(ip, "127.0.0.1") == 0, "Expected 127.0.0.1, got %s\n", ip); in test_get_set_text()
|
/reactos/drivers/filesystems/ext2/src/nls/ |
H A D | nls_base.c | 82 const __u8 *ip; in utf8_mbstowcs() local 86 ip = s; in utf8_mbstowcs() 87 while (*ip && n > 0) { in utf8_mbstowcs() 88 if (*ip & 0x80) { in utf8_mbstowcs() 92 ip++; in utf8_mbstowcs() 96 ip += size; in utf8_mbstowcs() 100 *op++ = *ip++; in utf8_mbstowcs() 138 const __u16 *ip; in utf8_wcstombs() local 143 ip = pwcs; in utf8_wcstombs() 145 if (*ip > 0x7f) { in utf8_wcstombs() [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/psaux/ |
H A D | t1decode.c | 427 FT_Byte* ip; in t1_decoder_parse_charstrings() local 488 while ( ip < limit ) in t1_decoder_parse_charstrings() 513 switch ( *ip++ ) in t1_decoder_parse_charstrings() 580 switch ( *ip++ ) in t1_decoder_parse_charstrings() 630 ip += 4; in t1_decoder_parse_charstrings() 672 value = ( ( ip[-2] - 247 ) * 256 ) + ip[-1] + 108; in t1_decoder_parse_charstrings() 674 value = -( ( ( ip[-2] - 251 ) * 256 ) + ip[-1] + 108 ); in t1_decoder_parse_charstrings() 1713 switch ( *ip++ ) in t1_decoder_parse_metrics() 1768 ip += 4; in t1_decoder_parse_metrics() 1805 value = ( ( ip[-2] - 247 ) * 256 ) + ip[-1] + 108; in t1_decoder_parse_metrics() [all …]
|
H A D | cffdecode.c | 497 FT_Byte* ip; in cff_decoder_parse_charstrings() local 540 while ( ip < limit ) in cff_decoder_parse_charstrings() 550 v = *ip++; in cff_decoder_parse_charstrings() 565 val = (FT_Short)( ( (FT_UShort)ip[0] << 8 ) | ip[1] ); in cff_decoder_parse_charstrings() 566 ip += 2; in cff_decoder_parse_charstrings() 572 if ( ip >= limit ) in cff_decoder_parse_charstrings() 578 if ( ip >= limit ) in cff_decoder_parse_charstrings() 590 ip += 4; in cff_decoder_parse_charstrings() 656 if ( ip >= limit ) in cff_decoder_parse_charstrings() 658 v = *ip++; in cff_decoder_parse_charstrings() [all …]
|
/reactos/modules/rosapps/applications/net/dhcpd/src/leases/ |
H A D | leases.c | 83 temp->data.ip = inet_addr( textip ); in init_leases_list() 119 temp->data.ip = i; in init_leases_list() 120 temp->data.ip = temp->data.ip << 8; in init_leases_list() 121 temp->data.ip += ip2; in init_leases_list() 122 temp->data.ip = temp->data.ip << 8; in init_leases_list() 123 temp->data.ip += ip1; in init_leases_list() 124 temp->data.ip = temp->data.ip << 8; in init_leases_list() 125 temp->data.ip += ip0; in init_leases_list() 152 dhcpl->ip = temp->data.ip; in find_lease() 167 dhcpl->ip = temp->data.ip; in find_lease() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/ |
H A D | vj.c | 165 u16_t ilen = IPH_HL(ip); in vj_compress_tcp() 178 if (IPH_PROTO(ip) != IP_PROTO_TCP) { in vj_compress_tcp() 211 ip = (struct ip_hdr *)np->payload; in vj_compress_tcp() 395 MEMCPY(&cs->cs_ip, ip, hlen); in vj_compress_tcp() 438 MEMCPY(&cs->cs_ip, ip, hlen); in vj_compress_tcp() 439 IPH_PROTO_SET(ip, cs->cs_id); in vj_compress_tcp() 463 struct ip_hdr *ip; in vj_uncompress_uncomp() local 465 ip = (struct ip_hdr *)nb->payload; in vj_uncompress_uncomp() 466 hlen = IPH_HL(ip) << 2; in vj_uncompress_uncomp() 467 if (IPH_PROTO(ip) >= MAX_SLOTS in vj_uncompress_uncomp() [all …]
|
/reactos/dll/3rdparty/libtiff/ |
H A D | tif_pixarlog.c | 979 ip += 3; in horizontalDifferenceF() 993 ip += 4; in horizontalDifferenceF() 1025 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference16() 1031 ip += 3; in horizontalDifference16() 1037 r2 = wp[0] = CLAMP(ip[0]); g2 = wp[1] = CLAMP(ip[1]); in horizontalDifference16() 1038 b2 = wp[2] = CLAMP(ip[2]); a2 = wp[3] = CLAMP(ip[3]); in horizontalDifference16() 1043 ip += 4; in horizontalDifference16() 1050 REPEAT(stride, wp[0] = CLAMP(ip[0]); wp++; ip++) in horizontalDifference16() 1084 ip += 3; in horizontalDifference8() 1097 ip += 4; in horizontalDifference8() [all …]
|
/reactos/drivers/filesystems/btrfs/ |
H A D | compress.c | 433 ip = in; in lzo_do_compress() 434 ii = ip; in lzo_do_compress() 436 DVAL_FIRST(dv, ip); UPDATE_D(dict, cycle, dv, ip); ip++; in lzo_do_compress() 437 DVAL_NEXT(dv, ip); UPDATE_D(dict, cycle, dv, ip); ip++; in lzo_do_compress() 438 DVAL_NEXT(dv, ip); UPDATE_D(dict, cycle, dv, ip); ip++; in lzo_do_compress() 439 DVAL_NEXT(dv, ip); UPDATE_D(dict, cycle, dv, ip); ip++; in lzo_do_compress() 451 …CHECK_MPOS_NON_DET(m_pos, m_off, in, ip, M4_MAX_OFFSET) && m_pos[0] == ip[0] && m_pos[1] == ip[1] … in lzo_do_compress() 471 ++ip; in lzo_do_compress() 517 if (*m_pos++ != *ip++ || *m_pos++ != *ip++ || *m_pos++ != *ip++ || in lzo_do_compress() 518 *m_pos++ != *ip++ || *m_pos++ != *ip++ || *m_pos++ != *ip++) { in lzo_do_compress() [all …]
|
/reactos/base/applications/calc/ |
H A D | rpn_mpfr.c | 330 calc_node_t *op, ip; in evalStack() local 333 mpfr_init(ip.number.mf); in evalStack() 335 node_copy(&ip, op); in evalStack() 344 run_operator(&ip, op, &ip, op->operation); in evalStack() 356 if (ip.operation != RPN_OPERATOR_EQUAL && ip.operation != RPN_OPERATOR_PERCENT) in evalStack() 357 push(&ip); in evalStack() 362 mpfr_clear(ip.number.mf); in evalStack() 413 calc_node_t *op, ip; in exec_closeparent() local 415 rpn_alloc(&ip.number); in exec_closeparent() 423 run_operator(&ip, op, &ip, op->operation); in exec_closeparent() [all …]
|
H A D | rpn_ieee.c | 359 calc_node_t *op, ip; in evalStack() local 363 ip = *op; in evalStack() 372 run_operator(&ip, op, &ip, op->operation); in evalStack() 383 if (ip.operation != RPN_OPERATOR_EQUAL && ip.operation != RPN_OPERATOR_PERCENT) in evalStack() 384 push(&ip); in evalStack() 388 *number = ip.number; in evalStack() 438 calc_node_t *op, ip; in exec_closeparent() local 440 ip.number = *number; in exec_closeparent() 441 ip.base = calc.base; in exec_closeparent() 448 run_operator(&ip, op, &ip, op->operation); in exec_closeparent() [all …]
|
/reactos/drivers/network/tcpip/ip/ |
H A D | CMakeLists.txt | 7 lwip_glue/ip.c 16 network/ip.c 32 add_library(ip OBJECT ${SOURCE} ${ip_asm}) target 34 target_link_libraries(ip lwipcore) 37 target_include_directories(ip BEFORE 41 add_pch(ip precomp.h SOURCE)
|
/reactos/drivers/network/tcpip/lwip/src/core/ipv4/ |
H A D | ip4.c | 222 IP_STATS_INC(ip.rterr); in ip4_route() 377 IP_STATS_INC(ip.fw); in ip4_forward() 379 IP_STATS_INC(ip.xmit); in ip4_forward() 475 IP_STATS_INC(ip.recv); 484 IP_STATS_INC(ip.err); 485 IP_STATS_INC(ip.drop); 526 IP_STATS_INC(ip.drop); 687 IP_STATS_INC(ip.drop); 705 IP_STATS_INC(ip.drop); 932 IP_STATS_INC(ip.err); [all …]
|