Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 869) sorted by relevance

12345678910>>...35

/third_party/node/deps/npm/node_modules/ip/test/
Dapi-test.js3 var ip = require('..'); variable
11 var buf = ip.toBuffer('127.0.0.1');
13 assert.equal(ip.toString(buf), '127.0.0.1');
19 ip.toBuffer('127.0.0.1', buf, offset);
21 assert.equal(ip.toString(buf, offset, 4), '127.0.0.1');
25 var buf = ip.toBuffer('::1');
27 assert.equal(ip.toString(buf), '::1');
28 assert.equal(ip.toString(ip.toBuffer('1::')), '1::');
29 assert.equal(ip.toString(ip.toBuffer('abcd::dcba')), 'abcd::dcba');
35 ip.toBuffer('::1', buf, offset);
[all …]
/third_party/ffmpeg/libavcodec/
Dvp3dsp.c50 int16_t *ip = input; in idct() local
60 if (ip[0 * 8] | ip[1 * 8] | ip[2 * 8] | ip[3 * 8] | in idct()
61 ip[4 * 8] | ip[5 * 8] | ip[6 * 8] | ip[7 * 8]) { in idct()
62 A = M(xC1S7, ip[1 * 8]) + M(xC7S1, ip[7 * 8]); in idct()
63 B = M(xC7S1, ip[1 * 8]) - M(xC1S7, ip[7 * 8]); in idct()
64 C = M(xC3S5, ip[3 * 8]) + M(xC5S3, ip[5 * 8]); in idct()
65 D = M(xC3S5, ip[5 * 8]) - M(xC5S3, ip[3 * 8]); in idct()
73 E = M(xC4S4, (ip[0 * 8] + ip[4 * 8])); in idct()
74 F = M(xC4S4, (ip[0 * 8] - ip[4 * 8])); in idct()
76 G = M(xC2S6, ip[2 * 8]) + M(xC6S2, ip[6 * 8]); in idct()
[all …]
/third_party/node/deps/npm/node_modules/ip/lib/
Dip.js3 var ip = exports; variable
7 ip.toBuffer = function(ip, buff, offset) { argument
12 if (this.isV4Format(ip)) {
14 ip.split(/\./g).map(function(byte) {
17 } else if (this.isV6Format(ip)) {
18 var sections = ip.split(':', 8);
57 throw Error('Invalid ip address: ' + ip);
63 ip.toString = function(buff, offset, length) {
91 ip.isV4Format = function(ip) { argument
92 return ipv4Regex.test(ip);
[all …]
/third_party/ffmpeg/libavcodec/arm/
Dsimple_idct_armv5te.S52 mov ip, #16384
53 sub ip, ip, #1 /* ip = W4 */
54 smlabb v1, ip, a3, v1 /* v1 = W4*row[0]+(1<<(RS-1)) */
55 ldr ip, =W26 /* ip = W2 | (W6 << 16) */
56 smultb a2, ip, a4
57 smulbb lr, ip, a4
63 ldr ip, =W13 /* ip = W1 | (W3 << 16) */
65 smulbt v5, ip, a3
67 smlatt v5, ip, a4, v5
68 smultt a2, ip, a3
[all …]
Dsimple_idct_armv6.S56 smlad r4, r2, ip, r1
57 smlsd r7, r2, ip, r1
58 ldr ip, =W13 /* ip = W1 | (W3 << 16) */
63 smuad r8, r3, ip /* r8 = B0 = W1*row[1] + W3*row[3] */
66 pkhtb r2, ip, r10,asr #16 /* r3 = W7 | (W3 << 16) */
67 pkhbt r1, ip, r10,lsl #16 /* r1 = W1 | (W5 << 16) */
75 smlsdx r11,lr, ip, r11 /* B3 += W3*row[5] - W1*row[7] */
76 ldr ip, =W46 /* ip = W4 | (W6 << 16) */
81 smlad r4, r2, ip, r4 /* A0 += W4*row[4] + W6*row[6] */
82 smlsd r7, r2, ip, r7 /* A3 += W4*row[4] - W6*row[6] */
[all …]
/third_party/node/deps/npm/node_modules/ip/
DREADME.md2 [![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)
10 npm install ip
16 git clone https://github.com/indutny/node-ip.git
20 Get your ip address, compare ip addresses, validate ip addresses, etc.
23 var ip = require('ip');
25 ip.address() // my ip address
26 ip.isEqual('::1', '::0:1'); // true
27 ip.toBuffer('127.0.0.1') // Buffer([127, 0, 0, 1])
28 ip.toString(new Buffer([127, 0, 0, 1])) // 127.0.0.1
29 ip.fromPrefixLen(24) // 255.255.255.0
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/backend/
Dconstant-pointer.c1 extern int *ip[];
6 ip[0] = (void *)0L; in foo()
7 ip[1] = (int *)0L; in foo()
8 ip[2] = (void *)0; in foo()
9 ip[3] = (int *)0; in foo()
10 ip[4] = (void *)(long)0; in foo()
11 ip[5] = (int *)(long)0; in foo()
12 ip[6] = (void *)123; in foo()
13 ip[7] = (int *)123; in foo()
14 ip[8] = (void *)123L; in foo()
[all …]
/third_party/libunwind/src/ptrace/
D_UPT_find_proc_info.c36 get_unwind_info (struct elf_dyn_info *edi, pid_t pid, unw_addr_space_t as, unw_word_t ip) in get_unwind_info() argument
44 if (edi->ktab.format != -1 && ip >= edi->ktab.start_ip && ip < edi->ktab.end_ip) in get_unwind_info()
49 && ip >= edi->di_cache.start_ip && ip < edi->di_cache.end_ip) in get_unwind_info()
52 && ip >= edi->di_arm.start_ip && ip < edi->di_arm.end_ip) in get_unwind_info()
55 && ip >= edi->di_debug.start_ip && ip < edi->di_debug.end_ip)) in get_unwind_info()
61 map = tdep_get_elf_image (as, pid, ip); in get_unwind_info()
65 if (tdep_find_unwind_table (edi, &map->ei, as, map->path, map->start, map->offset, ip) < 0) in get_unwind_info()
74 && (ip < edi->di_cache.start_ip || ip >= edi->di_cache.end_ip)) in get_unwind_info()
78 && (ip < edi->di_debug.start_ip || ip >= edi->di_debug.end_ip)) in get_unwind_info()
92 _UPT_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in _UPT_find_proc_info() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dr500_fragprog_emit.c225 static void alu_nop(struct r300_fragment_program_compiler *c, int ip) in alu_nop() argument
229 if ((code->inst[ip].inst0 & 0x3) != R500_INST_TYPE_TEX) { in alu_nop()
230 code->inst[ip].inst0 |= R500_INST_NOP; in alu_nop()
239 int ip; in emit_paired() local
247 ip = ++code->inst_end; in emit_paired()
252 if (ip > 0) { in emit_paired()
253 alu_nop(c, ip - 1); in emit_paired()
257 code->inst[ip].inst5 = translate_rgb_op(c, inst->RGB.Opcode); in emit_paired()
258 code->inst[ip].inst4 = translate_alpha_op(c, inst->Alpha.Opcode); in emit_paired()
261 code->inst[ip].inst0 = R500_INST_TYPE_OUT; in emit_paired()
[all …]
/third_party/libunwind/src/coredump/
D_UCD_find_proc_info.c34 get_unwind_info(struct UCD_info *ui, unw_addr_space_t as, unw_word_t ip) in get_unwind_info() argument
42 if (ui->edi.ktab.format != -1 && ip >= ui->edi.ktab.start_ip && ip < ui->edi.ktab.end_ip) in get_unwind_info()
47 && ip >= ui->edi.di_cache.start_ip && ip < ui->edi.di_cache.end_ip) in get_unwind_info()
50 && ip >= ui->edi.di_arm.start_ip && ip < ui->edi.di_arm.end_ip) in get_unwind_info()
53 && ip >= ui->edi.di_debug.start_ip && ip < ui->edi.di_debug.end_ip)) in get_unwind_info()
59 coredump_phdr_t *phdr = _UCD_get_elf_image(ui, ip); in get_unwind_info()
75 if (tdep_find_unwind_table(&ui->edi, as, phdr->backing_filename, segbase, mapoff, ip) < 0) in get_unwind_info()
86 && (ip < ui->edi.di_cache.start_ip || ip >= ui->edi.di_cache.end_ip)) in get_unwind_info()
90 && (ip < ui->edi.di_debug.start_ip || ip >= ui->edi.di_debug.end_ip)) in get_unwind_info()
108 _UCD_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in _UCD_find_proc_info() argument
[all …]
/third_party/ltp/testcases/network/iproute/
Dip_tests.sh29 ROD ip link add $iface type dummy
32 ROD ip addr add ${ip4_addr}/24 dev $iface
50 [ -n "$iface" -a -d /sys/class/net/$iface ] && ip link del $iface
55 [ "$ip4_addr" ] && ip route show | grep -q $ip4_addr && ip route del $ip4_addr
64 ip link set ${iface} mtu 1281
73 ip link set $iface mtu $MTUSZ_BAK
83 ip link show $iface | grep $iface > /dev/null
97 ip addr add 127.6.6.6/24 dev lo
104 ip addr show dev lo | grep 127.6.6.6 > /dev/null
111 ip addr del 127.6.6.6/24 dev lo
[all …]
/third_party/lz4/lib/
Dlz4hc.c86 #define UPDATABLE(ip, op, anchor) &ip, &op, &anchor argument
120 LZ4_FORCE_INLINE void LZ4HC_Insert (LZ4HC_CCtx_internal* hc4, const BYTE* ip) in LZ4HC_Insert() argument
126 U32 const target = (U32)(ip - prefixPtr) + prefixIdx; in LZ4HC_Insert()
128 assert(ip >= prefixPtr); in LZ4HC_Insert()
146 int LZ4HC_countBack(const BYTE* const ip, const BYTE* const match, in LZ4HC_countBack() argument
150 int const min = (int)MAX(iMin - ip, mMin - match); in LZ4HC_countBack()
152 assert(ip >= iMin); assert((size_t)(ip-iMin) < (1U<<31)); in LZ4HC_countBack()
155 && (ip[back-1] == match[back-1]) ) in LZ4HC_countBack()
177 LZ4HC_countPattern(const BYTE* ip, const BYTE* const iEnd, U32 const pattern32) in LZ4HC_countPattern() argument
179 const BYTE* const iStart = ip; in LZ4HC_countPattern()
[all …]
/third_party/openssl/crypto/
Dex_data.c32 EX_CALLBACKS *ip; in get_and_lock() local
49 ip = &global->ex_data[class_index]; in get_and_lock()
50 return ip; in get_and_lock()
73 EX_CALLBACKS *ip = &global->ex_data[i]; in ossl_crypto_cleanup_all_ex_data_int() local
75 sk_EX_CALLBACK_pop_free(ip->meth, cleanup_cb); in ossl_crypto_cleanup_all_ex_data_int()
76 ip->meth = NULL; in ossl_crypto_cleanup_all_ex_data_int()
107 EX_CALLBACKS *ip; in ossl_crypto_free_ex_index_ex() local
115 ip = get_and_lock(global, class_index); in ossl_crypto_free_ex_index_ex()
116 if (ip == NULL) in ossl_crypto_free_ex_index_ex()
119 if (idx < 0 || idx >= sk_EX_CALLBACK_num(ip->meth)) in ossl_crypto_free_ex_index_ex()
[all …]
/third_party/ffmpeg/libavformat/
Drtpdec_qcelp.c60 InterleavePacket* ip; in store_packet() local
133 ip = &data->group[data->interleave_index]; in store_packet()
134 ip->size = len - 1 - frame_size; in store_packet()
135 ip->pos = 0; in store_packet()
136 memcpy(ip->data, &buf[1 + frame_size], ip->size); in store_packet()
140 data->group_finished = ip->size == 0; in store_packet()
155 InterleavePacket* ip = &data->group[data->interleave_index]; in return_stored_frame() local
166 if (ip->size == 0) { in return_stored_frame()
172 if (ip->pos >= ip->size) in return_stored_frame()
174 if (ip->data[ip->pos] >= FF_ARRAY_ELEMS(frame_sizes)) in return_stored_frame()
[all …]
/third_party/skia/third_party/externals/brotli/c/enc/
Dcompress_fragment_two_pass.c244 const uint8_t* ip = input; in CreateCommands() local
265 for (next_hash = Hash(++ip, shift, min_match); ; ) { in CreateCommands()
283 const uint8_t* next_ip = ip; in CreateCommands()
286 BROTLI_DCHECK(next_emit < ip); in CreateCommands()
291 ip = next_ip; in CreateCommands()
292 BROTLI_DCHECK(hash == Hash(ip, shift, min_match)); in CreateCommands()
293 next_ip = ip + bytes_between_hash_lookups; in CreateCommands()
298 candidate = ip - last_distance; in CreateCommands()
299 if (IsMatch(ip, candidate, min_match)) { in CreateCommands()
300 if (BROTLI_PREDICT_TRUE(candidate < ip)) { in CreateCommands()
[all …]
/third_party/node/deps/brotli/c/enc/
Dcompress_fragment_two_pass.c244 const uint8_t* ip = input; in CreateCommands() local
265 for (next_hash = Hash(++ip, shift, min_match); ; ) { in CreateCommands()
283 const uint8_t* next_ip = ip; in CreateCommands()
286 BROTLI_DCHECK(next_emit < ip); in CreateCommands()
291 ip = next_ip; in CreateCommands()
292 BROTLI_DCHECK(hash == Hash(ip, shift, min_match)); in CreateCommands()
293 next_ip = ip + bytes_between_hash_lookups; in CreateCommands()
298 candidate = ip - last_distance; in CreateCommands()
299 if (IsMatch(ip, candidate, min_match)) { in CreateCommands()
300 if (BROTLI_PREDICT_TRUE(candidate < ip)) { in CreateCommands()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate_shaders.c47 uint32_t ip; member
183 uint64_t inst = validation_state->shader[validation_state->ip]; in check_tmu_write()
307 uint64_t inst = validation_state->shader[validation_state->ip]; in validate_uniform_address_write()
380 uint64_t inst = validation_state->shader[validation_state->ip]; in check_reg_write()
471 uint64_t inst = validation_state->shader[validation_state->ip]; in track_live_clamps()
546 uint64_t inst = validation_state->shader[validation_state->ip]; in check_instruction_writes()
568 int ip) in check_branch() argument
582 validation_state->ip); in check_branch()
593 uint64_t inst = validation_state->shader[validation_state->ip]; in check_instruction_reads()
628 int ip; in vc4_validate_branches() local
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_live_variables.cpp68 int ip = 0; in setup_def_use() local
71 assert(ip == block->start_ip); in setup_def_use()
73 assert(cfg->blocks[block->num - 1]->end_ip == ip - 1); in setup_def_use()
85 start[v] = MIN2(start[v], ip); in setup_def_use()
86 end[v] = ip; in setup_def_use()
108 start[v] = MIN2(start[v], ip); in setup_def_use()
109 end[v] = ip; in setup_def_use()
131 ip++; in setup_def_use()
260 check_register_live_range(const vec4_live_variables *live, int ip, in check_register_live_range() argument
265 live->start[var + j] > ip || live->end[var + j] < ip) in check_register_live_range()
[all …]
/third_party/musl/src/string/
Dwcsstr.c9 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_wcsstr() local
16 ip = -1; jp = 0; k = p = 1; in twoway_wcsstr()
18 if (n[ip+k] == n[jp+k]) { in twoway_wcsstr()
23 } else if (n[ip+k] > n[jp+k]) { in twoway_wcsstr()
26 p = jp - ip; in twoway_wcsstr()
28 ip = jp++; in twoway_wcsstr()
32 ms = ip; in twoway_wcsstr()
36 ip = -1; jp = 0; k = p = 1; in twoway_wcsstr()
38 if (n[ip+k] == n[jp+k]) { in twoway_wcsstr()
43 } else if (n[ip+k] < n[jp+k]) { in twoway_wcsstr()
[all …]
/third_party/libunwind/src/mi/
DGfind_dynamic_proc_info.c31 local_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in local_find_proc_info() argument
40 local_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in local_find_proc_info() argument
55 if (ip >= di->start_ip && ip < di->end_ip) in local_find_proc_info()
56 return unwi_extract_dynamic_proc_info (as, ip, pi, di, need_unwind_info, in local_find_proc_info()
66 remote_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in remote_find_proc_info() argument
75 remote_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, in remote_find_proc_info() argument
78 return unwi_dyn_remote_find_proc_info (as, ip, pi, need_unwind_info, arg); in remote_find_proc_info()
84 unwi_find_dynamic_proc_info (unw_addr_space_t as, unw_word_t ip, in unwi_find_dynamic_proc_info() argument
89 return local_find_proc_info (as, ip, pi, need_unwind_info, arg); in unwi_find_dynamic_proc_info()
91 return remote_find_proc_info (as, ip, pi, need_unwind_info, arg); in unwi_find_dynamic_proc_info()
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_helper.sh88 ip)
174 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip link add veth0 type veth peer name veth1 || \
190 ip netns > /dev/null || \
198 ip netns del $NS_HANDLE0 2>/dev/null
199 ip netns del $NS_HANDLE1 2>/dev/null
201 ip netns add $NS_HANDLE0 || \
203 ip netns add $NS_HANDLE1 || \
206 $NS_EXEC $NS_HANDLE0 ip link add veth0 type veth peer name veth1 || \
209 $NS_EXEC $NS_HANDLE0 ip link set veth1 netns $NS_HANDLE1 || \
245 $NS_EXEC $NS_HANDLE0 $NS_TYPE ip address add $IP0/$NETMASK dev veth0 ||
[all …]
/third_party/musl/src/setjmp/arm/
Dsetjmp.S11 mov ip,r0
12 stmia ip!,{v1,v2,v3,v4,v5,v6,sl,fp}
14 stmia ip!,{r2,lr}
27 stc p2, cr4, [ip], #48
32 vstmia ip!, {d8-d15}
40 stcl p1, cr10, [ip], #8
41 stcl p1, cr11, [ip], #8
42 stcl p1, cr12, [ip], #8
43 stcl p1, cr13, [ip], #8
44 stcl p1, cr14, [ip], #8
[all …]
Dlongjmp.S8 mov ip,r0
11 ldmia ip!, {v1,v2,v3,v4,v5,v6,sl,fp}
12 ldmia ip!, {r2,lr}
25 ldc p2, cr4, [ip], #48
30 vldmia ip!, {d8-d15}
38 ldcl p1, cr10, [ip], #8
39 ldcl p1, cr11, [ip], #8
40 ldcl p1, cr12, [ip], #8
41 ldcl p1, cr13, [ip], #8
42 ldcl p1, cr14, [ip], #8
[all …]
/third_party/python/PC/
Dlauncher.c221 INSTALLED_PYTHON * ip; in find_existing_python() local
223 for (i = 0, ip = installed_pythons; i < num_installed_pythons; i++, ip++) { in find_existing_python()
224 if (_wcsicmp(path, ip->executable) == 0) { in find_existing_python()
225 result = ip; in find_existing_python()
237 INSTALLED_PYTHON * ip; in find_existing_python2() local
239 for (i = 0, ip = installed_pythons; i < num_installed_pythons; i++, ip++) { in find_existing_python2()
240 if (bits == ip->bits && _wcsicmp(version, ip->version) == 0) { in find_existing_python2()
241 result = ip; in find_existing_python2()
259 INSTALLED_PYTHON * ip, * pip; in _locate_pythons_for_key() local
270 ip = &installed_pythons[num_installed_pythons]; in _locate_pythons_for_key()
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_core.c286 snmp_oid_to_ip4(const u32_t *oid, ip4_addr_t *ip) in snmp_oid_to_ip4() argument
292 ip4_addr_copy(*ip, *IP4_ADDR_ANY4); in snmp_oid_to_ip4()
296 IP4_ADDR(ip, oid[0], oid[1], oid[2], oid[3]); in snmp_oid_to_ip4()
306 snmp_ip4_to_oid(const ip4_addr_t *ip, u32_t *oid) in snmp_ip4_to_oid() argument
308 oid[0] = ip4_addr1(ip); in snmp_ip4_to_oid()
309 oid[1] = ip4_addr2(ip); in snmp_ip4_to_oid()
310 oid[2] = ip4_addr3(ip); in snmp_ip4_to_oid()
311 oid[3] = ip4_addr4(ip); in snmp_ip4_to_oid()
322 snmp_oid_to_ip6(const u32_t *oid, ip6_addr_t *ip) in snmp_oid_to_ip6() argument
340 ip6_addr_set_any(ip); in snmp_oid_to_ip6()
[all …]

12345678910>>...35