Home
last modified time | relevance | path

Searched full:repl (Results 1 – 25 of 152) sorted by relevance

1234567

/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DREPL.cpp1 //===-- REPL.cpp ----------------------------------------------------------===//
9 #include "lldb/Expression/REPL.h"
25 char REPL::ID;
27 REPL::REPL(Target &target) : m_target(target) { in REPL() function in REPL
36 REPL::~REPL() = default;
38 lldb::REPLSP REPL::Create(Status &err, lldb::LanguageType language, in Create()
59 std::string REPL::GetSourcePath() { in GetSourcePath()
73 lldb::IOHandlerSP REPL
[all...]
/freebsd/contrib/less/
H A Devar.c49 struct replace *repl; in make_replaces() local
73 repl = ecalloc(1, sizeof(struct replace)); in make_replaces()
74 repl->r_fm = &buf[fm]; in make_replaces()
75 repl->r_to = &buf[to]; in make_replaces()
76 repl->r_next = replaces; in make_replaces()
77 replaces = repl; in make_replaces()
117 static constant char * find_replace(constant struct replace *repl, constant char *evar, size_t *pv) in find_replace() argument
119 for (; repl != NULL; repl = repl->r_next) in find_replace()
121 size_t len = evar_match(&evar[*pv], repl->r_fm); in find_replace()
125 return repl->r_to; in find_replace()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Drd_rep.c40 krb5_ap_rep_enc_part **repl) in krb5_rd_rep() argument
76 *repl = malloc(sizeof(**repl)); in krb5_rd_rep()
77 if (*repl == NULL) { in krb5_rd_rep()
82 ret = decode_EncAPRepPart(data.data, data.length, *repl, &len); in krb5_rd_rep()
89 if ((*repl)->ctime != auth_context->authenticator->ctime || in krb5_rd_rep()
90 (*repl)->cusec != auth_context->authenticator->cusec) in krb5_rd_rep()
92 krb5_free_ap_rep_enc_part(context, *repl); in krb5_rd_rep()
93 *repl = NULL; in krb5_rd_rep()
99 if ((*repl)->seq_number) in krb5_rd_rep()
101 *((*repl)->seq_number)); in krb5_rd_rep()
[all …]
H A Drecvauth.c79 u_char repl; in krb5_recvauth_match_version() local
116 repl = 1; in krb5_recvauth_match_version()
117 krb5_net_write (context, p_fd, &repl, 1); in krb5_recvauth_match_version()
136 repl = 2; in krb5_recvauth_match_version()
137 krb5_net_write (context, p_fd, &repl, 1); in krb5_recvauth_match_version()
149 repl = 2; in krb5_recvauth_match_version()
150 krb5_net_write (context, p_fd, &repl, 1); in krb5_recvauth_match_version()
160 repl = 0; in krb5_recvauth_match_version()
161 if (krb5_net_write (context, p_fd, &repl, 1) != 1) { in krb5_recvauth_match_version()
H A Dsendauth.c81 u_char repl; in krb5_sendauth() local
107 sret = krb5_net_read (context, p_fd, &repl, sizeof(repl)); in krb5_sendauth()
112 } else if (sret != sizeof(repl)) { in krb5_sendauth()
117 if (repl != 0) { in krb5_sendauth()
/freebsd/crypto/krb5/src/lib/krb5/krb/
H A Dmk_rep.c72 krb5_ap_rep_enc_part repl; in k5_mk_rep() local
88 krb5_us_timeofday(context, &repl.ctime, &repl.cusec); in k5_mk_rep()
90 repl.ctime = auth_context->authentp->ctime; in k5_mk_rep()
91 repl.cusec = auth_context->authentp->cusec; in k5_mk_rep()
95 repl.subkey = NULL; in k5_mk_rep()
104 repl.subkey = &auth_context->send_subkey->keyblock; in k5_mk_rep()
106 repl.subkey = auth_context->authentp->subkey; in k5_mk_rep()
109 repl.seq_number = auth_context->remote_seq_number; in k5_mk_rep()
111 repl.seq_number = auth_context->local_seq_number; in k5_mk_rep()
113 TRACE_MK_REP(context, repl.ctime, repl.cusec, repl.subkey, in k5_mk_rep()
[all …]
H A Drd_rep.c60 * repl is filled in with with a pointer to allocated memory containing
70 const krb5_data *inbuf, krb5_ap_rep_enc_part **repl) in krb5_rd_rep() argument
77 *repl = NULL; in krb5_rd_rep()
135 *repl = enc; in krb5_rd_rep()
154 krb5_ap_rep_enc_part *repl = NULL; in krb5_rd_rep_dce() local
178 retval = decode_krb5_ap_rep_enc_part(&scratch, &repl); in krb5_rd_rep_dce()
182 *nonce = repl->seq_number; in krb5_rd_rep_dce()
189 if (repl->subkey != NULL) { in krb5_rd_rep_dce()
194 TRACE_RD_REP_DCE(context, repl->ctime, repl->cusec, repl->seq_number); in krb5_rd_rep_dce()
199 if (repl != NULL) in krb5_rd_rep_dce()
[all …]
H A Dsendauth.c170 krb5_ap_rep_enc_part *repl = 0; in krb5_sendauth() local
176 &repl))) { in krb5_sendauth()
177 if (repl) in krb5_sendauth()
178 krb5_free_ap_rep_enc_part(context, repl); in krb5_sendauth()
189 *rep_result = repl; in krb5_sendauth()
191 krb5_free_ap_rep_enc_part(context, repl); in krb5_sendauth()
/freebsd/stand/libsa/
H A Dnfs.c191 struct repl { in nfs_getrootfh() struct
197 } *repl; in nfs_getrootfh() local
220 args, len, (void **)&repl, &pkt); in nfs_getrootfh()
230 if (repl->errno != 0) { in nfs_getrootfh()
232 return (ntohl(repl->errno)); in nfs_getrootfh()
234 *fhlenp = ntohl(repl->fhsize); in nfs_getrootfh()
235 bcopy(repl->fh, fhp, *fhlenp); in nfs_getrootfh()
256 struct repl { in nfs_lookupfh() struct
262 } *repl; in nfs_lookupfh() local
289 args, len, (void **)&repl, &pkt); in nfs_lookupfh()
[all …]
H A Dbootparam.c114 struct repl { in bp_whoami() struct
120 } *repl; in bp_whoami() local
161 args, send_tail - (char*)args, (void **)&repl, &pkt); in bp_whoami()
168 rpc_fromaddr(repl, &bp_server_addr, &bp_server_port); in bp_whoami()
175 bp_server_port = repl->port; in bp_whoami()
189 x = ntohl(repl->encap_len); in bp_whoami()
194 recv_head = (char*) repl->capsule; in bp_whoami()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DREPL.h1 //===-- REPL.h --------------------------------------------------*- C++ -*-===//
22 class REPL : public IOHandlerDelegate,
23 public llvm::RTTIExtends<REPL, llvm::RTTIRoot> {
28 REPL(Target &target);
30 ~REPL() override;
32 /// Get a REPL with an existing target (or, failing that, a debugger to use),
36 /// If this language is supported but the REPL couldn't be created, this
40 /// The language to create a REPL for.
44 /// up a top-level REPL.
47 /// If provided, the target to put the REPL inside.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DRegex.cpp137 std::string Regex::sub(StringRef Repl, StringRef String, in sub()
150 while (!Repl.empty()) { in sub()
152 std::pair<StringRef, StringRef> Split = Repl.split('\\'); in sub()
159 if (Repl.size() != Split.first.size() && in sub()
166 Repl = Split.second; in sub()
169 switch (Repl[0]) { in sub()
173 if (Repl.size() >= 4 && Repl[1] == '<') { in sub()
174 size_t End = Repl.find('>'); in sub()
175 StringRef Ref = Repl in sub()
133 sub(StringRef Repl,StringRef String,std::string * Error) const sub() argument
[all...]
/freebsd/usr.bin/clang/lldb/
H A Dlldb.1272 .SH REPL
276 Alias for \-\-repl=<flags>
280 .B \-\-repl\-language <language>
281 Chooses the language for the REPL.
285 .B \-\-repl=<flags>
286 Runs lldb in REPL mode with a stub process with the given flags.
291 Alias for \-\-repl\-language
344 Passing \-\-repl starts \fBlldb\fP in REPL mode.
369 Note: In REPL mode no file is loaded, so commands specified to run after
391 If launched with a \fI\%REPL\fP option, it will first look for a REPL configuration
[all …]
/freebsd/contrib/llvm-project/lldb/docs/man/
H A Dlldb.rst211 REPL chapter
216 Alias for --repl=<flags>
218 .. option:: --repl-language <language>
220 Chooses the language for the REPL.
222 .. option:: --repl=<flags>
224 Runs lldb in REPL mode with a stub process with the given flags.
228 Alias for --repl-language
275 Passing --repl starts :program:`lldb` in REPL mode.
291 Note: In REPL mode no file is loaded, so commands specified to run after
317 If launched with a `REPL`_ option, it will first look for a REPL configuration
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGVNHoist.cpp476 void makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt,
480 void updateAlignment(Instruction *I, Instruction *Repl);
483 // Repl. Returns the number of instructions removed.
484 unsigned rauw(const SmallVecInsn &Candidates, Instruction *Repl,
490 // Remove all other instructions and replace them with Repl.
491 unsigned removeAndReplace(const SmallVecInsn &Candidates, Instruction *Repl,
494 // In the case Repl is a load or a store, we make all their GEPs
497 bool makeGepOperandsAvailable(Instruction *Repl, BasicBlock *HoistPt,
907 void GVNHoist::makeGepsAvailable(Instruction *Repl, BasicBlock *HoistPt, in makeGepsAvailable() argument
925 // Copy Gep and replace its uses in Repl with ClonedGep. in makeGepsAvailable()
[all …]
/freebsd/contrib/llvm-project/lldb/tools/driver/
H A DOptions.td64 // Repl options.
65 def grp_repl : OptionGroup<"repl">, HelpText<"REPL">;
67 def repl: Flag<["--", "-"], "repl">,
68 HelpText<"Runs lldb in REPL mode with a stub process.">,
71 Alias<repl>,
72 HelpText<"Alias for --repl">,
74 def repl_: Joined<["--", "-"], "repl=">,
76 HelpText<"Runs lldb in REPL mode with a stub process with the given flags.">,
81 HelpText<"Alias for --repl=<flags>">,
84 def repl_language: Separate<["--", "-"], "repl-language">,
[all …]
/freebsd/tools/tools/ansify/
H A Dansify.pl72 my $repl = "$func(";
85 $repl .= $type{$arg};
86 $repl .= " "
88 $repl .= $arg;
89 $repl .= ", "
93 $repl .= ")";
101 print $ofh "$repl\n";
105 if length($repl) >= 80;
/freebsd/contrib/one-true-awk/testdir/
H A DT.sub18 repl = $2
34 # printf(" %3d: %s %s %s %s %s:\n", NR, pat, repl, str, subout, gsubout)
36 if (repl == "\"\"") repl = ""
43 gsub(/\\/, "&&", repl) # in case of \ enclosed
45 sprintf("{ temp = $0; sub(/%s/, \"%s\", temp)\n", pat, repl) \
47 subout, nt, subout, (pat " " repl " " str " " subout)) \
48 sprintf(" gsub(/%s/, \"%s\")\n", pat, repl) \
50 gsubout, nt, gsubout, (pat " " repl " " str " " gsubout)) \
/freebsd/crypto/krb5/src/lib/krb5/os/
H A Dlocalauth_rule.c108 /* Replace regular expression matches of regstr with repl in instr, producing
111 do_replacement(const char *regstr, const char *repl, krb5_boolean doall, in do_replacement() argument
124 k5_buf_add(&buf, repl); in do_replacement()
145 char *newstr, *rule = NULL, *repl = NULL, *current = NULL; in aname_replacer() local
161 /* Find the separators for an s/rule/repl/ expression. */ in aname_replacer()
173 free(repl); in aname_replacer()
174 repl = k5memdup0(ep + 1, tp - (ep + 1), &ret); in aname_replacer()
175 if (repl == NULL) in aname_replacer()
184 ret = do_replacement(rule, repl, doglobal, current, &newstr); in aname_replacer()
195 free(repl); in aname_replacer()
/freebsd/contrib/llvm-project/lldb/source/Plugins/REPL/Clang/
H A DClangREPL.h12 #include "lldb/Expression/REPL.h"
15 /// Implements a Clang-based REPL for C languages on top of LLDB's REPL
17 class ClangREPL : public llvm::RTTIExtends<ClangREPL, REPL> {
59 /// The specific C language of this REPL.
H A DClangREPL.cpp21 : llvm::RTTIExtends<ClangREPL, REPL>(target), m_language(language), in ClangREPL()
40 PluginManager::RegisterPlugin(GetPluginNameStatic(), "C language REPL", in Initialize()
54 error.SetErrorString("must have a target to create a REPL"); in CreateInstance()
66 static constexpr llvm::StringLiteral g_repl("repl.c"); in GetSourceFileBasename()
74 // not, so just say that every single REPL line is ready to be parsed. in SourceIsComplete()
93 // printed by the REPL so this is done to prevent printing the variable twice. in PrintOneVariable()
/freebsd/tests/sys/netinet/
H A Dtcp_implied_connect.c44 char repl[sizeof(buf)]; in ATF_TC_BODY() local
71 ATF_REQUIRE(recv(a, &repl, sizeof(repl), 0) == sizeof(buf)); in ATF_TC_BODY()
72 ATF_REQUIRE(strcmp(buf, repl) == 0); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectExpression.cpp14 #include "lldb/Expression/REPL.h"
261 m_repl_option(LLDB_OPT_SET_1, false, "repl", 'r', "Drop into REPL", false, in CommandObjectExpression()
571 // Default certain settings for REPL regardless of the global settings. in GetExprOptions()
609 // Drop into REPL in DoExecute()
615 // Check if the LLDB command interpreter is sitting on top of a REPL in DoExecute()
618 IOHandler::Type::REPL)) { in DoExecute()
619 // the LLDB command interpreter is sitting on top of a REPL that in DoExecute()
621 // fall back to the existing REPL in DoExecute()
624 // We are launching the REPL on top of the current LLDB command in DoExecute()
654 "Couldn't create a REPL for %s", in DoExecute()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A Dembedded_interpreter.py123 repl = code.InteractiveConsole(local_dict)
129 repl.runsource(input_string)
131 repl.runsource(g_run_one_line_str)
/freebsd/contrib/nvi/common/
H A Dscreen.c84 if (orig->repl != NULL && (sp->repl = in screen_init()
85 v_wstrdup(sp, orig->repl, orig->repl_len)) == NULL) in screen_init()
177 free(sp->repl); in screen_end()

1234567