Home
last modified time | relevance | path

Searched refs:repl (Results 1 – 25 of 70) sorted by relevance

123

/openbsd-src/regress/usr.sbin/snmpd/
H A Dagentx.c128 char repl[1024]; in agentx_open_nnbo() local
141 n = agentx_read(s, repl, sizeof(repl), 1000); in agentx_open_nnbo()
143 agentx_response_validate(__func__, repl, n, 0, packetid, NOAGENTXERROR, in agentx_open_nnbo()
155 char repl[1024]; in agentx_open_nbo() local
169 n = agentx_read(s, repl, sizeof(repl), 1000); in agentx_open_nbo()
171 agentx_response_validate(__func__, repl, n, NETWORK_BYTE_ORDER, in agentx_open_nbo()
188 char repl[1024]; in agentx_open_invalidversion() local
201 if (agentx_read(s, repl, sizeof(repl), 1000) != 0) in agentx_open_invalidversion()
212 char repl[1024]; in agentx_open_ignore_sessionid() local
216 struct header *header = (struct header *)repl; in agentx_open_ignore_sessionid()
[all …]
/openbsd-src/sys/lib/libsa/
H A Dnfs.c112 struct repl { in nfs_getrootfh() struct
115 } *repl; in nfs_getrootfh() local
122 struct repl d; in nfs_getrootfh()
132 repl = &rdata.d; in nfs_getrootfh()
143 args, len, repl, sizeof(*repl)); in nfs_getrootfh()
152 if (repl->errno) { in nfs_getrootfh()
153 errno = ntohl(repl->errno); in nfs_getrootfh()
156 bcopy(repl->fh, fhp, sizeof(repl->fh)); in nfs_getrootfh()
173 struct repl { in nfs_lookupfh() struct
177 } *repl; in nfs_lookupfh() local
[all …]
H A Dbootparam.c107 struct repl { in bp_whoami() struct
113 } *repl; in bp_whoami() local
120 struct repl d; in bp_whoami()
133 repl = &rdata.d; in bp_whoami()
157 repl, sizeof(*repl)); in bp_whoami()
164 rpc_fromaddr(repl, &bp_server_addr, &bp_server_port); in bp_whoami()
171 bp_server_port = repl->port; in bp_whoami()
183 x = ntohl(repl->encap_len); in bp_whoami()
188 recv_head = (char *)repl->capsule; in bp_whoami()
/openbsd-src/gnu/llvm/clang/www/
H A Dbuiltins.py147 def report_repl(builtin, repl): argument
148 …iltin %s used, replaced with %s\n" % (fileinput.filename(), fileinput.filelineno(), builtin, repl))
154 for builtin, repl in repl_map.items():
156 line = line.replace(builtin, repl)
157 report_repl(builtin, repl)
/openbsd-src/gnu/llvm/clang/tools/clang-repl/
H A DCMakeLists.txt10 add_clang_tool(clang-repl
14 clang_target_link_libraries(clang-repl PRIVATE
23 export_executable_symbols_for_plugins(clang-repl)
/openbsd-src/usr.bin/mg/
H A Dline.c535 char *repl = NULL; in lreplace() local
545 if ((repl = strdup(st)) == NULL) { in lreplace()
550 rlen = strlen(repl); in lreplace()
582 is_replace_alllower = !isupper((unsigned char)repl[n]); in lreplace()
587 repl[n] = toupper((unsigned char)repl[n]); in lreplace()
589 repl[0] = toupper((unsigned char)repl[0]); in lreplace()
595 region_put_data(repl, rlen); in lreplace()
600 free(repl); in lreplace()
/openbsd-src/gnu/llvm/lldb/tools/driver/
H A DOptions.td65 def grp_repl : OptionGroup<"repl">, HelpText<"REPL">;
67 def repl: Flag<["--", "-"], "repl">,
71 Alias<repl>,
72 HelpText<"Alias for --repl">,
74 def repl_: Joined<["--", "-"], "repl=">,
81 HelpText<"Alias for --repl=<flags>">,
84 def repl_language: Separate<["--", "-"], "repl-language">,
90 HelpText<"Alias for --repl-language">,
/openbsd-src/gnu/usr.bin/perl/t/re/
H A Dregexp.t160 my ($pat, $subject, $result, $repl, $expect, $reason, $comment) = split(/\t/,$_,7);
166 my $input = join(':',$pat,$subject,$result,$repl,$expect);
256 $repl // "",
469 if ($repl eq 'pos') {
484 \$got = "$repl";
494 \$got = "$repl";
503 \$got = "$repl";
510 \$got = "$repl";
/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A Dembedded_interpreter.py117 repl = code.InteractiveConsole(local_dict)
123 repl.runsource(input_string)
125 repl.runsource(g_run_one_line_str)
/openbsd-src/usr.bin/vi/common/
H A Dscreen.c86 if (orig->repl != NULL && (sp->repl = in screen_init()
87 v_strdup(sp, orig->repl, orig->repl_len)) == NULL) in screen_init()
188 free(sp->repl); in screen_end()
H A Dscreen.h126 char *repl; /* Substitute replacement. */ member
/openbsd-src/usr.bin/less/
H A Ddecode.c242 char *repl; in expand_special_keys() local
264 repl = special_key_str(fm[1]); in expand_special_keys()
267 if (repl == NULL || strlen(repl) > klen) in expand_special_keys()
268 repl = "\377"; in expand_special_keys()
269 while (*repl != '\0') in expand_special_keys()
270 *to++ = *repl++; in expand_special_keys()
/openbsd-src/usr.bin/vi/ex/
H A Dex_subst.c190 free(sp->repl); in ex_s()
191 sp->repl = NULL; in ex_s()
220 memcpy(t, sp->repl, sp->repl_len); in ex_s()
229 free(sp->repl); in ex_s()
230 if ((sp->repl = malloc(len)) == NULL) { in ex_s()
235 memcpy(sp->repl, bp, len); in ex_s()
1067 sp->repl, sp->repl_len); in re_conv()
1087 memcpy(t, sp->repl, sp->repl_len); in re_conv()
1268 for (rp = sp->repl, rpl = sp->repl_len, p = lb + lbclen; rpl--;) { in re_sub()
/openbsd-src/regress/lib/libedit/keymacro/
H A Dtest_get.c73 wchar_t repl[] = L"repl"; in main() local
80 keymacro_add(&el, L"al", keymacro_map_str(&el, repl), XK_STR); in main()
/openbsd-src/gnu/llvm/llvm/utils/gn/build/
H A Dwrite_cmake_config.py67 def repl(m): function
71 in_line = var_re.sub(repl, in_line)
/openbsd-src/gnu/llvm/lldb/docs/man/
H A Dlldb.rst216 Alias for --repl=<flags>
218 .. option:: --repl-language <language>
222 .. option:: --repl=<flags>
228 Alias for --repl-language
275 Passing --repl starts :program:`lldb` in REPL mode.
319 ``.lldbinit-<language>-repl`` (i.e. ``.lldbinit-swift-repl``). If this file doesn't
/openbsd-src/gnu/llvm/clang/docs/
H A DClangRepl.rst26 clang-repl> #include <iostream>
27 clang-repl> int f() { std::cout << "Hello Interpreted World!\n"; return 0; }
28 clang-repl> auto r = f();
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/tools/clang-repl/
H A DBUILD.gn1 executable("clang-repl") {
/openbsd-src/gnu/usr.bin/texinfo/util/
H A Dgdoc291 $repl = shift;
297 $output = $repl;
306 eplace $repl yielded $output interpolated $return\n";
/openbsd-src/gnu/llvm/lld/COFF/
H A DCallGraphSort.cpp91 const auto *fromSec = cast<SectionChunk>(c.first.first->repl); in CallGraphSort()
92 const auto *toSec = cast<SectionChunk>(c.first.second->repl); in CallGraphSort()
H A DChunks.cpp34 : Chunk(SectionKind), file(f), header(h), repl(this) { in SectionChunk()
673 if (sym && this == repl) in printDiscardedMessage()
728 other->repl = repl; in replace()
/openbsd-src/gnu/usr.bin/perl/lib/B/
H A DDeparse-core.t68 my $repl = 'my $a';
73 $repl = '(my $a)';
75 s/\$a/$repl/ for $expr, $expected_expr;
/openbsd-src/gnu/llvm/clang/tools/
H A DCMakeLists.txt16 add_clang_subdirectory(clang-repl)
/openbsd-src/sbin/isakmpd/
H A Dutil.c568 expand_string(char *label, size_t len, const char *srch, const char *repl) in expand_string() argument
581 (strlcat(tmp, repl, len) >= len)) { in expand_string()
/openbsd-src/gnu/llvm/lld/ELF/
H A DICF.cpp558 if (sec->repl != d->section) { in run()
559 d->section = sec->repl; in run()

123