| /freebsd/contrib/netbsd-tests/bin/sh/ |
| H A D | t_fsplit.sh | 58 oifs="$IFS" 59 IFS="$nl" 61 IFS="$oifs" 102 # Check that IFS is applied to text from ${x-...} unless it is inside 158 # Check that IFS is applied to text from ${x+...} unless it is inside 227 # repeat with an alphabetic in IFS 228 check 'IFS=q; set ${x-aqbqc}; echo $#' 3 229 check 'IFS=q; for i in ${x-aqbqc}; do echo "z${i}z"; done' \ 231 check 'IFS=q; for i in ${x-"aqb"qc}; do echo "z${i}z"; done' \ 233 check 'IFS=q; for i in ${x-"aq${x-bqc}"qd}; do echo "z${i}z"; done' \ [all …]
|
| /freebsd/sbin/routed/ |
| H A D | if.c | 649 struct interface ifs, ifs0, *ifp, *ifp1; in ifinit() local 744 memcpy(&ifs, &ifs0, sizeof(ifs)); in ifinit() 748 if (iff_up(ifs.int_if_flags)) { in ifinit() 751 ifs.int_name); in ifinit() 757 if (iff_up(ifs.int_if_flags)) { in ifinit() 760 ifs.int_name); in ifinit() 766 ifs.int_addr = S_ADDR(INFO_IFA(&info)); in ifinit() 768 if (ntohl(ifs.int_addr)>>24 == 0 in ifinit() 769 || ntohl(ifs.int_addr)>>24 == 0xff) { in ifinit() 770 if (iff_up(ifs.int_if_flags)) { in ifinit() [all …]
|
| /freebsd/bin/sh/tests/builtins/ |
| H A D | read1.0 | 9 echo " 1 2 3 " | { unset IFS; read a b c; echo "x${a}x${b}x${c}x"; } 10 echo " 1 2 3 " | { IFS=$(printf ' \t\n') read a b c; echo "x${a}x${b}x${c}x"; } 11 echo " 1 2 3 " | { IFS= read a b; echo "x${a}x${b}x"; } 13 echo " 1,2 3 " | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 14 echo ", 2 ,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 15 echo " 1 ,,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 16 echo " 1 , , 3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 17 echo " 1 ,2 3," | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 18 echo " 1 ,2 3,," | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } 20 echo " 1,2 3 " | { IFS=', ' read a b c; echo "x${a}x${b}x${c}x"; } [all …]
|
| H A D | read4.0 | 4 printf '%s\n' '\a\:b:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 5 printf '%s\n' '\a:b\:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 7 printf '%s\n' '\\:a' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 9 printf '%s\n' '\\\:a' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; }
|
| /freebsd/usr.sbin/manctl/ |
| H A D | manctl.sh | 63 IFS='.' ; set $pname 66 IFS=" " ; echo ignoring $pname 1>&2 ; return 0 ; 77 IFS=" " 80 IFS=" " ; set `file $pname` 102 IFS=" " 106 # reset IFS - this is important! 107 IFS=" " 197 IFS='.' ; set $pname 199 IFS=" " ; echo ignoring $pname 1>&2 ; return 0 ; 209 IFS [all...] |
| /freebsd/contrib/openpam/m4/ |
| H A D | ltoptions.m4 | 177 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 179 IFS=$lt_save_ifs 184 IFS=$lt_save_ifs 231 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 233 IFS=$lt_save_ifs 238 IFS=$lt_save_ifs 285 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 287 IFS=$lt_save_ifs 292 IFS=$lt_save_ifs 402 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, [all …]
|
| /freebsd/bin/sh/tests/expansion/ |
| H A D | tilde1.0 | 12 oIFS="$IFS" 14 IFS='|' 16 IFS="$oIFS" 31 ooIFS=$IFS 32 IFS=m 36 IFS=$ooIFS
|
| H A D | tilde2.0 | 12 oIFS="$IFS" 14 IFS='|' 16 IFS="$oIFS" 48 ooIFS=$IFS 49 IFS=m 54 IFS=$ooIFS
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | InterfaceStubs.cpp | 23 // TODO: Use IFS library directly in the future. in ConstructJob() 25 CmdArgs.push_back("--input-format=IFS"); in ConstructJob() 27 CmdArgs.push_back(WriteBin ? "--output-format=ELF" : "--output-format=IFS"); in ConstructJob() 40 (WriteBin ? "ifso" : "ifs")); in ConstructJob() 42 OutputFilename += (WriteBin ? ".ifso" : ".ifs"); in ConstructJob() 48 // we look for .ifs files present in the same location as the object files. in ConstructJob() 54 llvm::sys::path::replace_extension(InputFilename, ".ifs"); in ConstructJob()
|
| /freebsd/usr.bin/man/ |
| H A D | man.sh | 99 local IFS 115 IFS=: 119 unset IFS 125 IFS=: 129 unset IFS 134 IFS=: 138 unset IFS 208 local IFS 210 # Don't accidentally inherit callers IFS (breaks perl manpages) 211 unset IFS [all …]
|
| /freebsd/contrib/openresolv/ |
| H A D | dnsmasq.in | 79 SIFS=${IFS-y} OIFS=$IFS 80 IFS=. 84 unset IFS 86 IFS=$OIFS 97 SIFS=${IFS-y} OIFS=$IFS bytes= front= back= 99 IFS=: 126 unset IFS 128 IFS=$OIFS
|
| /freebsd/contrib/openbsm/m4/ |
| H A D | ltoptions.m4 | 177 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 179 IFS=$lt_save_ifs 184 IFS=$lt_save_ifs 231 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 233 IFS=$lt_save_ifs 238 IFS=$lt_save_ifs 285 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 287 IFS=$lt_save_ifs 292 IFS=$lt_save_ifs 392 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, [all …]
|
| /freebsd/contrib/ntp/sntp/libevent/m4/ |
| H A D | ltoptions.m4 | 177 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 179 IFS=$lt_save_ifs 184 IFS=$lt_save_ifs 231 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 233 IFS=$lt_save_ifs 238 IFS=$lt_save_ifs 285 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 287 IFS=$lt_save_ifs 292 IFS=$lt_save_ifs 392 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, [all …]
|
| /freebsd/contrib/ntp/sntp/m4/ |
| H A D | ltoptions.m4 | 177 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 179 IFS=$lt_save_ifs 184 IFS=$lt_save_ifs 231 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 233 IFS=$lt_save_ifs 238 IFS=$lt_save_ifs 285 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 287 IFS=$lt_save_ifs 292 IFS=$lt_save_ifs 392 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, [all …]
|
| /freebsd/contrib/libevent/m4/ |
| H A D | ltoptions.m4 | 177 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 179 IFS=$lt_save_ifs 184 IFS=$lt_save_ifs 231 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 233 IFS=$lt_save_ifs 238 IFS=$lt_save_ifs 285 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 287 IFS=$lt_save_ifs 292 IFS=$lt_save_ifs 392 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, [all …]
|
| /freebsd/contrib/ldns/m4/ |
| H A D | ltoptions.m4 | 177 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 179 IFS=$lt_save_ifs 184 IFS=$lt_save_ifs 231 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 233 IFS=$lt_save_ifs 238 IFS=$lt_save_ifs 285 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 287 IFS=$lt_save_ifs 292 IFS=$lt_save_ifs 392 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, [all …]
|
| /freebsd/contrib/file/m4/ |
| H A D | ltoptions.m4 | 177 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 179 IFS=$lt_save_ifs 184 IFS=$lt_save_ifs 231 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 233 IFS=$lt_save_ifs 238 IFS=$lt_save_ifs 285 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 287 IFS=$lt_save_ifs 292 IFS=$lt_save_ifs 392 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
| H A D | IFSStub.cpp | 14 using namespace llvm::ifs; 61 uint8_t ifs::convertIFSBitWidthToELF(IFSBitWidthType BitWidth) { in convertIFSBitWidthToELF() 72 uint8_t ifs::convertIFSEndiannessToELF(IFSEndiannessType Endianness) { in convertIFSEndiannessToELF() 83 uint8_t ifs::convertIFSSymbolTypeToELF(IFSSymbolType SymbolType) { in convertIFSSymbolTypeToELF() 98 IFSBitWidthType ifs::convertELFBitWidthToIFS(uint8_t BitWidth) { in convertELFBitWidthToIFS() 109 IFSEndiannessType ifs::convertELFEndiannessToIFS(uint8_t Endianness) { in convertELFEndiannessToIFS() 120 IFSSymbolType ifs::convertELFSymbolTypeToIFS(uint8_t SymbolType) { in convertELFSymbolTypeToIFS()
|
| H A D | IFSHandler.cpp | 24 using namespace llvm::ifs; 141 if (!IO.mapTag("!ifs-v1", true)) in mapping() 154 if (!IO.mapTag("!ifs-v1", true)) in mapping() 179 Expected<std::unique_ptr<IFSStub>> ifs::readIFSFromBuffer(StringRef Buf) { in readIFSFromBuffer() 188 return createStringError(Err, "YAML failed reading as IFS"); in readIFSFromBuffer() 193 "IFS version " + Stub->IfsVersion.getAsString() + " is unsupported.", in readIFSFromBuffer() 201 "IFS arch '" + *Stub->Target.ArchString + "' is unsupported"); in readIFSFromBuffer() 208 "IFS symbol type for symbol '" + Item.Name + "' is unsupported"); in writeIFSToOutputStream() 213 Error ifs::writeIFSToOutputStream(raw_ostream &OS, const IFSStub &Stub) { in writeIFSToOutputStream() 231 Error ifs in overrideIFSTarget() [all...] |
| /freebsd/contrib/llvm-project/llvm/include/llvm/InterfaceStub/ |
| H A D | IFSStub.h | 22 namespace ifs { 115 /// This function convert bit width type from IFS enum to ELF format 118 /// @param BitWidth IFS bit width type. 121 /// This function convert endianness type from IFS enum to ELF format 124 /// @param Endianness IFS endianness type. 127 /// This function convert symbol type from IFS enum to ELF format 130 /// @param SymbolType IFS symbol type. 154 } // namespace ifs
|
| /freebsd/contrib/ntp/sntp/libevent/build-aux/ |
| H A D | compile | 36 IFS=" "" $nl" 100 save_IFS=$IFS 101 IFS=';' 104 IFS=$save_IFS 121 IFS=$save_IFS 192 save_ifs="$IFS"; IFS=',' 194 IFS="$save_ifs" 197 IFS="$save_ifs"
|
| /freebsd/contrib/ntp/sntp/libevent/ |
| H A D | compile | 36 IFS=" "" $nl" 100 save_IFS=$IFS 101 IFS=';' 104 IFS=$save_IFS 121 IFS=$save_IFS 192 save_ifs="$IFS"; IFS=',' 194 IFS="$save_ifs" 197 IFS="$save_ifs"
|
| /freebsd/contrib/libedit/ |
| H A D | tokenizer.c | 63 #define IFS STR("\t \n") macro 86 Char *ifs; /* In field separator */ in TYPE() local 121 FUN(tok,init)(const Char *ifs) in TYPE() 127 tok->ifs = tok_strdup(ifs ? ifs : IFS); in TYPE() 128 if (tok->ifs == NULL) { in TYPE() 136 tok_free(tok->ifs); in TYPE() 144 tok_free(tok->ifs); in TYPE() 180 tok_free(tok->ifs); in FUN() 377 if (Strchr(tok->ifs, *ptr) != NULL) in FUN()
|
| /freebsd/usr.sbin/fwget/usb/ |
| H A D | usb | 26 local IFS 28 oldifs=$IFS 29 IFS=$'\n' 42 IFS=${oldifs}
|
| /freebsd/sbin/ipf/ipfs/ |
| H A D | ipfs.c | 86 int changestateif(char *ifs, char *fname) in changestateif() argument 93 s = strchr(ifs, ','); in changestateif() 98 olen = strlen(ifs); in changestateif() 111 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { in changestateif() 115 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { in changestateif() 119 if (!strncmp(ips.ips_is.is_ifname[2], ifs, olen + 1)) { in changestateif() 123 if (!strncmp(ips.ips_is.is_ifname[3], ifs, olen + 1)) { in changestateif() 148 int changenatif(char *ifs, char *fname) in changenatif() argument 156 s = strchr(ifs, ','); in changenatif() 161 olen = strlen(ifs); in changenatif() [all …]
|