Home
last modified time | relevance | path

Searched refs:CStr (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/tcsh/
H A Ded.xmap.c114 static int TraverseMap (XmapNode *, CStr *, XmapVal *);
115 static int TryNode (XmapNode *, CStr *, XmapVal *, int);
116 static XmapNode *GetFreeNode (CStr *);
118 static int TryDeleteNode (XmapNode **, CStr *);
119 static int Lookup (struct Strbuf *, const CStr *,
134 XmapStr(CStr *str) in XmapStr()
161 GetXkey(CStr *ch, XmapVal *val) in GetXkey()
171 TraverseMap(XmapNode *ptr, CStr *ch, XmapVal *val) in TraverseMap()
209 AddXkey(const CStr *Xkey, XmapVal *val, int ntype) in AddXkey()
211 CStr cs; in AddXkey()
[all …]
H A Dtc.bind.c36 static void printkey (const KEYCMD *, CStr *);
39 static CStr *parsestring (const Char *, CStr *);
40 static CStr *parsebind (const Char *, CStr *);
60 CStr in; in dobindkey()
61 CStr out; in dobindkey()
226 printkey(const KEYCMD *map, CStr *in) in printkey()
267 static CStr *
268 parsebind(const Char *s, CStr *str) in parsebind()
373 static CStr *
374 parsestring(const Char *str, CStr *buf) in parsestring()
[all …]
H A Ded.decls.h93 extern int SetArrowKeys (const CStr *, XmapVal *, int);
97 extern int ClearArrowKeys (const CStr *);
98 extern void PrintArrowKeys (const CStr *);
270 extern XmapVal *XmapStr (CStr *);
272 extern void AddXkey (const CStr *, XmapVal *, int);
273 extern void ClearXkey (KEYCMD *, const CStr *);
274 extern int GetXkey (CStr *, XmapVal *);
276 extern int DeleteXkey (const CStr *);
277 extern void PrintXkey (const CStr *);
280 extern unsigned char *unparsestring (const CStr *, const Char *);
H A Ded.h104 } CStr; typedef
108 CStr str;
135 EXTERN CStr *KillRing; /* kill ring */
H A Ded.screen.c774 CStr cs; in DefaultArrowKeys()
827 SetArrowKeys(const CStr *name, XmapVal *fun, int type) in SetArrowKeys()
850 ClearArrowKeys(const CStr *name) in ClearArrowKeys()
862 PrintArrowKeys(const CStr *name) in PrintArrowKeys()
879 CStr cs; in BindArrowKeys()
H A Ded.defns.c1835 CStr cstr; in ed_InitMetaBindings()
1891 CStr cstr; in ed_InitEmacsMaps()
H A Ded.inputl.c710 CStr cstr; in GetNextCommand()
H A Ded.chared.c855 CStr *new; in SetKillRing()
862 new = xcalloc(max, sizeof(CStr)); in SetKillRing()
893 CStr save, *pos; in c_push_kill()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenInstruction.cpp301 static void ParseConstraint(StringRef CStr, CGIOperandList &Ops, Record *Rec) { in ParseConstraint() argument
303 StringRef::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
304 StringRef::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
305 StringRef Tok = CStr.substr(start, wpos - start); in ParseConstraint()
307 StringRef Name = CStr.substr(wpos + 1); in ParseConstraint()
312 Rec->getName() + "': '" + CStr + "'"); in ParseConstraint()
327 StringRef::size_type pos = CStr.find_first_of('='); in ParseConstraint()
329 CStr.find_first_of(" \t", pos) != (pos + 1) || in ParseConstraint()
330 CStr.find_last_of(" \t", pos) != (pos - 1)) in ParseConstraint()
331 PrintFatalError(Rec->getLoc(), "Unrecognized constraint '" + CStr + in ParseConstraint()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Option/
H A DOptTable.cpp349 const char *CStr = Args.getArgString(Index); in parseOneArgGrouped() local
350 StringRef Str(CStr); in parseOneArgGrouped()
352 return std::make_unique<Arg>(getOption(InputOptionID), Str, Index++, CStr); in parseOneArgGrouped()
388 CStr); in parseOneArgGrouped()
400 CStr = Args.MakeArgString(Str.substr(0, 2)); in parseOneArgGrouped()
402 return std::make_unique<Arg>(getOption(UnknownOptionID), CStr, Index, CStr); in parseOneArgGrouped()
405 return std::make_unique<Arg>(getOption(UnknownOptionID), Str, Index++, CStr); in parseOneArgGrouped()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.h153 /// \param[in] CStr
160 llvm::GlobalVariable *CStr);
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp230 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping()
231 IO.mapOptional("CStr", FormValue.CStr); in mapping()
H A DDWARFEmitter.cpp379 OS.write(FormVal->CStr.data(), FormVal->CStr.size()); in writeDIE()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp1581 const char *CStr = NTE.getString(); in verifyNameIndexEntries() local
1582 if (!CStr) { in verifyNameIndexEntries()
1590 StringRef Str(CStr); in verifyNameIndexEntries()
H A DDWARFContext.cpp1186 const char *CStr = StrData.getCStr(&Offset, &Err); in dump() local
1192 OS.write_escaped(CStr); in dump()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h95 StringRef CStr; member
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp4935 StringRef CStr(S.getPointer()); in validateCoherencyBits() local
4936 S = SMLoc::getFromPointer(&CStr.data()[CStr.find("scc")]); in validateCoherencyBits()
4955 StringRef CStr(S.getPointer()); in validateCoherencyBits() local
4957 &CStr.data()[CStr.find(isGFX940() ? "sc0" : "glc")]); in validateCoherencyBits()