/system/core/sh/ |
mystring.c | 91 * prefix -- see if pfx is a prefix of string. 95 prefix(const char *pfx, const char *string) 97 while (*pfx) { 98 if (*pfx++ != *string++)
|
show.c | 73 shtree(union node *n, int ind, char *pfx, FILE *fp) 81 indent(ind, pfx, fp); 250 indent(int amount, char *pfx, FILE *fp) 255 if (pfx && i == amount - 1) 256 fputs(pfx, fp);
|
/external/valgrind/main/VEX/priv/ |
guest_amd64_toIR.c | 681 static Bool IS_VALID_PFX ( Prefix pfx ) { 682 return toBool((pfx & 0xFF000000) == PFX_EMPTY); 685 static Bool haveREX ( Prefix pfx ) { 686 return toBool(pfx & PFX_REX); 689 static Int getRexW ( Prefix pfx ) { 690 return (pfx & PFX_REXW) ? 1 : 0; 692 static Int getRexR ( Prefix pfx ) { 693 return (pfx & PFX_REXR) ? 1 : 0; 695 static Int getRexX ( Prefix pfx ) { 696 return (pfx & PFX_REXX) ? 1 : 0 26481 Prefix pfx = PFX_EMPTY; local [all...] |
/bionic/libc/stdio/ |
tempnam.c | 45 tempnam(const char *dir, const char *pfx) 53 if (!pfx) 54 pfx = "tmp."; 58 *(f + strlen(f) - 1) == '/'? "": "/", pfx); 65 *(f + strlen(f) - 1) == '/'? "": "/", pfx); 71 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXXXXX", f, pfx); 76 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXXXXX", f, pfx);
|
/external/libvpx/libvpx/build/make/ |
gen_asm_deps.sh | 29 --build-pfx=*) pfx="${optval}" 55 $self --build-pfx=$pfx --depfile=$out ${raw_inc_paths} `dirname $srcfile`/$inc 58 $self --build-pfx=$pfx --depfile=$out ${raw_inc_paths} "${found_inc_path}/$inc" 61 echo ${out} ${out%d}o: "${pfx}${inc}"
|
/external/iproute2/ip/ |
ipprefix.c | 75 struct in6_addr *pfx; local 78 pfx = (struct in6_addr *)RTA_DATA(tb[PREFIX_ADDRESS]); 81 fprintf(fp, "%s", rt_addr_n2a(family, sizeof(*pfx), pfx,
|
ifcfg | 87 pfx="$ipaddr peer $peer" 97 pfx="$ipaddr/$pfxlen" 105 ip addr del $pfx dev $dev $label || exit 1 122 if ! ip address add $pfx brd + dev $dev $label; then 123 echo "Error: failed to add $pfx on $dev." 1>&2
|
ipneigh.c | 37 inet_prefix pfx; member in struct:__anon9118 219 if (filter.pfx.family) { 224 if (inet_addr_match(&dst, &filter.pfx, filter.pfx.bitlen)) 365 get_prefix(&filter.pfx, *argv, filter.family); 367 filter.family = filter.pfx.family;
|
ipaddress.c | 44 inet_prefix pfx; member in struct:__anon9113 494 if (filter.pfx.family) { 500 if (inet_addr_match(&dst, &filter.pfx, filter.pfx.bitlen)) 735 get_prefix(&filter.pfx, *argv, filter.family); 737 filter.family = filter.pfx.family; 910 if (filter.pfx.family || filter.label) { 916 if (filter.pfx.family && tb[IFA_LOCAL]) { 921 if (inet_addr_match(&dst, &filter.pfx, filter.pfx.bitlen) [all...] |
/bionic/libc/kernel/arch-mips/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); } 77 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) static inline void pfx##out##bwlq##p(type val, unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); __val = pfx##ioswab##bwlq(__addr, val); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); *__addr = __val; slow; } static inline type pfx##in##bwlq##p(unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); __val = *__addr; slow; return pfx##ioswab##bwlq(__addr, __val); [all...] |
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); } 77 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) static inline void pfx##out##bwlq##p(type val, unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); __val = pfx##ioswab##bwlq(__addr, val); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); *__addr = __val; slow; } static inline type pfx##in##bwlq##p(unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); __val = *__addr; slow; return pfx##ioswab##bwlq(__addr, __val); [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); } 77 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) static inline void pfx##out##bwlq##p(type val, unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); __val = pfx##ioswab##bwlq(__addr, val); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); *__addr = __val; slow; } static inline type pfx##in##bwlq##p(unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); __val = *__addr; slow; return pfx##ioswab##bwlq(__addr, __val); [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ |
io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) __val = *__mem; else if (cpu_has_64bits) { unsigned long __flags; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __readq" "\n\t" "ld %L0, %1" "\n\t" "dsra32 %M0, %L0, 0" "\n\t" "sll %L0, %L0, 0" "\n\t" ".set mips0" "\n" : "=r" (__val) : "m" (*__mem)); if (irq) local_irq_restore(__flags); } else { __val = 0; BUG(); } return pfx##ioswab##bwlq(__mem, __val); } 77 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) static inline void pfx##out##bwlq##p(type val, unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); __val = pfx##ioswab##bwlq(__addr, val); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); *__addr = __val; slow; } static inline type pfx##in##bwlq##p(unsigned long port) { volatile type *__addr; type __val; __addr = (void *)__swizzle_addr_##bwlq(mips_io_port_base + port); BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); __val = *__addr; slow; return pfx##ioswab##bwlq(__addr, __val); [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
tempname.c | 124 __path_search (char *tmpl, size_t tmpl_len, const char *dir, const char *pfx, 130 if (!pfx || !pfx[0]) 132 pfx = "file"; 137 plen = strlen (pfx); 169 /* check we have room for "${dir}/${pfx}XXXXXX\0" */ 176 sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
|
/external/iproute2/lib/ |
ll_addr.c | 63 inet_prefix pfx; local 64 if (get_addr_1(&pfx, arg, AF_INET)) { 70 memcpy(lladdr, pfx.data, 4);
|
/external/llvm/bindings/python/llvm/ |
common.py | 108 pfx, ext = 'lib', '.dylib' 110 pfx, ext = '', '.dll' 112 pfx, ext = 'lib', '.so' 116 lib = cdll.LoadLibrary(pfx + i + ext)
|
/external/kernel-headers/original/asm-mips/ |
io.h | 298 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) \ 300 static inline void pfx##write##bwlq(type val, \ 308 __val = pfx##ioswab##bwlq(__mem, val); \ 334 static inline type pfx##read##bwlq(const volatile void __iomem *mem) \ 363 return pfx##ioswab##bwlq(__mem, __val); \ 366 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, p, slow) \ 368 static inline void pfx##out##bwlq##p(type val, unsigned long port) \ 375 __val = pfx##ioswab##bwlq(__addr, val); \ 384 static inline type pfx##in##bwlq##p(unsigned long port) \ 396 return pfx##ioswab##bwlq(__addr, __val); [all...] |
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
dryrun.py | 61 pfx = 'dryrun-' 63 if kwargs['port_name'].startswith(pfx): 64 kwargs['port_name'] = kwargs['port_name'][len(pfx):]
|
/external/iproute2/examples/ |
gaiconf | 41 ${IP} -6 addrlabel list | while read p pfx l lbl; do 42 echo label ${pfx} ${lbl}
|
/external/iptables/extensions/ |
libxt_devgroup.c | 121 static void devgroup_show(const char *pfx, const struct xt_devgroup_info *info, 127 printf(" %ssrc-group ", pfx); 134 printf(" %sdst-group ", pfx);
|
libxt_CT.c | 84 static void ct_print_events(const char *pfx, const struct event_tbl *tbl, 90 printf(" %s ", pfx);
|
/external/qemu/target-arm/ |
helper.h | 18 #define PAS_OP(pfx) \ 19 DEF_HELPER_3(pfx ## add8, i32, i32, i32, ptr) \ 20 DEF_HELPER_3(pfx ## sub8, i32, i32, i32, ptr) \ 21 DEF_HELPER_3(pfx ## sub16, i32, i32, i32, ptr) \ 22 DEF_HELPER_3(pfx ## add16, i32, i32, i32, ptr) \ 23 DEF_HELPER_3(pfx ## addsubx, i32, i32, i32, ptr) \ 24 DEF_HELPER_3(pfx ## subaddx, i32, i32, i32, ptr) 30 #define PAS_OP(pfx) \ 31 DEF_HELPER_2(pfx ## add8, i32, i32, i32) \ 32 DEF_HELPER_2(pfx ## sub8, i32, i32, i32) [all...] |
/external/elfutils/tests/ |
allregs.c | 100 const char *set, *pfx; member in struct:reginfo 145 state->info[regno].pfx = prefix; 208 state.info[i].pfx ?: "", state.info[i].name,
|
/external/chromium/net/socket/ |
socket_test_util.cc | 54 const char* pfx = "Data: "; local 56 DVLOG(1) << pfx << "<None>"; 60 DVLOG(1) << pfx 71 pfx = " "; 76 DVLOG(1) << pfx 87 DVLOG(1) << pfx 96 DVLOG(1) << pfx [all...] |
/external/tcpdump/missing/ |
getaddrinfo.c | 774 u_char pfx; local 788 pfx = ((struct in6_addr *)pton)->s6_addr[0]; 789 if (pfx == 0 || pfx == 0xfe || pfx == 0xff)
|