/external/opencv/cv/src/ |
cvsamplers.cpp | 90 CvPoint ip, CvRect* pRect ) 95 if( ip.x >= 0 ) 97 src += ip.x*pix_size; 102 rect.x = -ip.x; 107 if( ip.x + win_size.width < src_size.width ) 111 rect.width = src_size.width - ip.x - 1; 120 if( ip.y >= 0 ) 122 src += ip.y * src_step; 126 rect.y = -ip.y; 128 if( ip.y + win_size.height < src_size.height 396 CvPoint ip; local [all...] |
/external/syslinux/com32/cmenu/ |
complex.c | 255 char ip[30]; local 286 add_item("<s>tatic", "Use static IP I will specify later", 304 add_item("<b>aseurl by IP?", "Specify gui baseurl by IP address", 423 csprint("Enter IP address (last two octets only): ", 0x07); 424 strcpy(ip, "Junk"); 425 editstring(ip, sizeof ip); 427 strcat(cmd, ip);
|
/external/syslinux/com32/lib/syslinux/ |
load_linux.c | 97 struct initramfs *ip; local 100 for (ip = initramfs->next; ip->len; ip = ip->next) { 101 len = ip->len; 106 if (ip->next->len) { 107 pad = -next_addr & (ip->next->align - 1); 112 if (ip->data_len) { 113 if (syslinux_add_movelist(fraglist, addr, (addr_t) ip->data, len) [all...] |
/external/syslinux/com32/lua/src/ |
lmathlib.c | 99 lua_Number ip; local 100 lua_Number fp = l_mathop(modf)(luaL_checknumber(L, 1), &ip); 101 lua_pushnumber(L, ip);
|
/external/syslinux/core/ |
graphics.c | 196 const uint8_t *ip = in; local 202 uint8_t px = *ip++;
|
/external/syslinux/core/legacynet/ |
dnsresolv.c | 173 * parse the ip_str and return the ip address with *res. 182 uint32_t ip = 0; local 193 ip = (ip << 8) | part; 199 *res = htonl(ip); 206 * and returns the ip addr in _ip_ if it exists and can be found. 289 udp_write.ip = srv;
|
/external/syslinux/gpxe/src/arch/i386/include/ |
comboot.h | 92 uint16_t ip; /* Offset 44 */ member in struct:__anon37765
|
/external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
pxe_undi.c | 37 #include <gpxe/ip.h> 519 struct in_addr ip = { .s_addr = undi_get_mcast_address->InetAddr }; local 522 DBG ( "PXENV_UNDI_GET_MCAST_ADDRESS %s", inet_ntoa ( ip ) ); 524 if ( ( rc = ll_protocol->mc_hash ( AF_INET, &ip,
|
/external/syslinux/gpxe/src/crypto/axtls/ |
aes.c | 170 const unsigned char *ip; local 205 ip = Rcon; 217 tmp=tmp2^(((unsigned int)*ip)<<24); 218 ip++;
|
/external/syslinux/memdisk/ |
conio.c | 294 long *ip = va_arg(args, long *); local 295 *ip = (str - buf); 297 int *ip = va_arg(args, int *); local 298 *ip = (str - buf);
|
/external/tcpdump/ |
print-ip.c | 22 /* \summary: IP printer */ 36 #include "ip.h" 39 static const char tstr[] = "[|ip]"; 55 * print the recorded route in an IP RR, LSRR or SSRR option. 89 * Otherwise, return IP destination. 96 const struct ip *ip) 103 cp = (const u_char *)(ip + 1); 104 length = (IP_HL(ip) << 2) - sizeof(struct ip); 331 const struct ip *ip; member in struct:ip_print_demux_state [all...] |
print-tcp.c | 48 #include "ip.h" 59 const struct ip *ip, const struct tcphdr *tp, 141 register const struct ip *ip, 145 return nextproto4_cksum(ndo, ip, (const uint8_t *)tp, len, len, 165 register const struct ip *ip; local 177 ip = (const struct ip *)bp2 [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
slice_op.cc | 362 T* ip = in_buf + (d0 * in_strides[0]); local 366 T* ip1 = ip + (d1 * in_strides[1]); 380 T* ip = in_buf + (d0 * in_strides[0]); local 384 T* ip1 = ip + (d1 * in_strides[1]);
|
/external/toybox/toys/pending/ |
arp.c | 217 char ip[128], hw_addr[128], mask[12], dev[128], *host_ip = NULL, *buf; local 261 if ((sscanf(buf, "%s 0x%x 0x%x %s %s %s\n", ip, 266 || (toys.optargs[0] && strcmp(host_ip, ip))) { 277 printf("%s (%s) at" , host_name, ip);
|
tcpsvd.c | 1 /* tcpsvd.c - TCP(UDP)/IP service daemon 17 usage: tcpsvd [-hEv] [-c N] [-C N[:MSG]] [-b N] [-u User] [-l Name] IP Port Prog 18 usage: udpsvd [-hEv] [-c N] [-u User] [-l Name] IP Port Prog 20 Create TCP/UDP socket, bind to IP:PORT and listen for incoming connection. 23 IP IP to listen on, 0 = all 30 -C N[:MSG] (TCP Only) Allow only up to N (> 0) connections from the same IP 31 New connections from this IP address are closed 55 char *ip; member in struct:list_pid 73 // convert IP address to string 106 uint32_t ip[8] = {0,}; local 126 char *ip = NULL; local 176 char *ip = delete(&pids, pid_n); local [all...] |
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
Utils.java | 62 int ip = 0; local 67 while (ip < xp.length && i < x.length) { 69 while (ip < xp.length && xp[ip] < x[i]) ip++; 70 if (ip >= xp.length) break; 71 if (xp[ip] == x[i]) { 72 y[i] = yp[ip]; 74 double dy = yp[ip] - yp[ip-1] [all...] |
/external/webrtc/webrtc/base/ |
ipaddress.cc | 19 #include <netinet/ip.h> 46 static bool IsPrivateV4(uint32_t ip); 118 std::ostream& operator<<(std::ostream& os, const IPAddress& ip) { 119 os << ip.ToString(); 214 std::ostream& operator<<(std::ostream& os, const InterfaceAddress& ip) { 215 os << static_cast<const IPAddress&>(ip); 217 if (ip.family() == AF_INET6) 218 os << "|flags:0x" << std::hex << ip.ipv6_flags(); 273 IPAddress ip; local 274 if (!IPFromString(str, &ip)) { [all...] |
nat_unittest.cc | 178 // The physical NAT tests require connectivity to the selected ip from the 180 // check to see if it's worth even trying with this ip. 223 // Find an available IP with matching family. The test breaks if int_addr 224 // can't talk to ip, so check for connectivity as well. 227 const IPAddress& ip = (*it)->GetBestIP(); local 228 if (ip.family() == int_addr.family() && TestConnectivity(int_addr, ip)) { 229 ext_addr2.SetIP(ip); 234 LOG(LS_WARNING) << "No available IP of same family as " << int_addr; 238 LOG(LS_INFO) << "selected ip " << ext_addr2.ipaddr() [all...] |
natsocketfactory.cc | 25 const IPAddress& ip = remote_addr.ipaddr(); local 26 int family = ip.family(); 33 in_addr v4addr = ip.ipv4_address(); 38 in6_addr v6addr = ip.ipv6_address(); 461 // See if we have the requested IP, or any of our children do.
|
network_unittest.cc | 105 IPAddress ip; local 106 IPFromString(ip_string, &ip); 107 ipv6_addr->sin6_addr = ip.ipv6_address(); 199 IPAddress ip = (*it)->GetBestIP(); local 200 SocketAddress bindaddress(ip, 0); 203 int fd = static_cast<int>(socket(ip.family(), SOCK_STREAM, IPPROTO_TCP)); 335 IPAddress ip; local 337 EXPECT_TRUE(IPFromString("abcd::1234:5678:abcd:ef12", &ip)); 342 ipv6_eth0_linklocalnetwork.AddIP(ip); 343 EXPECT_TRUE(IPFromString("abcd::5678:abcd:ef12:3456", &ip)); 398 IPAddress ip; local 471 IPAddress ip; local 511 IPAddress ip; local 569 IPAddress ip; local 665 IPAddress ip; local 878 InterfaceAddress ip; local 945 IPAddress ip; local [all...] |
socketaddress.cc | 21 #include <netinet/ip.h> 55 SocketAddress::SocketAddress(const IPAddress& ip, int port) { 56 SetIP(ip); 96 void SocketAddress::SetIP(const IPAddress& ip) { 99 ip_ = ip; 117 void SocketAddress::SetResolvedIP(const IPAddress& ip) { 118 ip_ = ip; 127 uint32_t SocketAddress::ip() const { function in class:rtc::SocketAddress 140 // If the hostname was a literal IP string, it may need to have square 152 // If the hostname was a literal IP string, it may need to have squar [all...] |
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_rdft.c | 14 * All changes are covered by the WebRTC license and IP grant: 135 (d) Replacing ip[i] by ((k<<31)>>25) + ((k >> 1)<<5). 143 static const int ip[4] = {0, 64, 32, 96}; local 146 j1 = 2 * j + ip[k]; 147 k1 = 2 * k + ip[j]; 187 j1 = 2 * k + 8 + ip[k];
|
/frameworks/base/core/java/android/os/ |
PatternMatcher.java | 192 int ip = 0, im = 0; local 194 while ((ip<NP) && (im<NM)) { 196 ip++; 197 nextChar = ip < NP ? pattern.charAt(ip) : 0; 201 ip++; 202 nextChar = ip < NP ? pattern.charAt(ip) : 0; 206 if (ip >= (NP-1)) { 211 ip++ [all...] |
/frameworks/base/services/net/java/android/net/ip/ |
ConnectivityPacketTracker.java | 17 package android.net.ip;
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicColorMatrix.cpp | 177 short ip[16]; member in class:android::renderscript::RsdCpuScriptIntrinsicColorMatrix 239 if (ip[i] != 0) { 250 if ((ip[0] == ip[1]) && (ip[0] == ip[2]) && 251 (ip[4] == ip[5]) && (ip[4] == ip[6]) & [all...] |