| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/ |
| H A D | scopebuffer.d | 300 auto textbuf = ScopeBuffer!char(tmpbuf); variable 301 scope(exit) textbuf.free(); 305 textbuf.put('a'); 306 textbuf.put('x'); 307 textbuf.put("abc"); // tickle put([])'s resize 308 assert(textbuf.length == 5); 309 assert(textbuf[1 .. 3] == "xa"); 310 assert(textbuf[3] == 'b'); 312 textbuf.length = textbuf.length - 1; 313 assert(textbuf[0 .. textbuf.length] == "axab"); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/ |
| H A D | scopebuffer.d | 301 auto textbuf = ScopeBuffer!char(tmpbuf); variable 302 scope(exit) textbuf.free(); 306 textbuf.put('a'); 307 textbuf.put('x'); 308 textbuf.put("abc"); // tickle put([])'s resize 309 assert(textbuf.length == 5); 310 assert(textbuf[1 .. 3] == "xa"); 311 assert(textbuf[3] == 'b'); 313 textbuf.length = textbuf.length - 1; 314 assert(textbuf[0 .. textbuf.length] == "axab"); [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/ |
| H A D | schema_check.c | 42 char *textbuf, size_t textlen ); 59 char *textbuf, size_t textlen ) in entry_schema_check() argument 86 *text = textbuf; in entry_schema_check() 98 op->o_bd, e, a, text, textbuf, textlen ); in entry_schema_check() 110 snprintf( textbuf, textlen, in entry_schema_check() 120 snprintf( textbuf, textlen, in entry_schema_check() 126 e->e_dn, textbuf ); in entry_schema_check() 154 rc = structural_class( aoc->a_vals, &oc, &socs, text, textbuf, textlen, in entry_schema_check() 173 snprintf( textbuf, textlen, in entry_schema_check() 179 e->e_dn, textbuf ); in entry_schema_check() [all …]
|
| H A D | mods.c | 44 char *textbuf, in modify_add_values() argument 84 *text = textbuf; in modify_add_values() 85 snprintf( textbuf, textlen, in modify_add_values() 128 *text = textbuf; in modify_add_values() 129 snprintf( textbuf, textlen, in modify_add_values() 176 *text = textbuf; in modify_add_values() 177 snprintf( textbuf, textlen, in modify_add_values() 192 char *textbuf, size_t textlen ) in modify_delete_values() argument 194 return modify_delete_vindex( e, m, perm, text, textbuf, textlen, NULL ); in modify_delete_values() 203 char *textbuf, size_t textlen, in modify_delete_vindex() argument [all …]
|
| H A D | modify.c | 49 char textbuf[ SLAP_TEXT_BUFLEN ]; in do_modify() local 50 size_t textlen = sizeof( textbuf ); in do_modify() 171 &rs->sr_text, textbuf, textlen, NULL ); in do_modify() 202 char textbuf[ SLAP_TEXT_BUFLEN ]; in fe_op_modify() local 203 size_t textlen = sizeof( textbuf ); in fe_op_modify() 267 &rs->sr_text, textbuf, textlen ); in fe_op_modify() 299 &rs->sr_text, textbuf, textlen ); in fe_op_modify() 354 char *textbuf, in slap_mods_obsolete_check() argument 369 snprintf( textbuf, textlen, in slap_mods_obsolete_check() 372 *text = textbuf; in slap_mods_obsolete_check() [all …]
|
| H A D | schema_prep.c | 1395 char *textbuf, size_t textlen ) in rootDseObjectClass() argument 1397 *text = textbuf; in rootDseObjectClass() 1400 snprintf( textbuf, textlen, in rootDseObjectClass() 1416 char *textbuf, size_t textlen ) in aliasObjectClass() argument 1418 *text = textbuf; in aliasObjectClass() 1421 snprintf( textbuf, textlen, in aliasObjectClass() 1435 char *textbuf, size_t textlen ) in referralObjectClass() argument 1437 *text = textbuf; in referralObjectClass() 1440 snprintf( textbuf, textlen, in referralObjectClass() 1454 char *textbuf, size_t textlen ) in subentryObjectClass() argument [all …]
|
| H A D | add.c | 52 char textbuf[ SLAP_TEXT_BUFLEN ]; in do_add() local 53 size_t textlen = sizeof( textbuf ); in do_add() 174 textbuf, textlen, NULL ); in do_add() 186 1, 0, &rs->sr_text, textbuf, textlen ); in do_add() 245 char textbuf[ SLAP_TEXT_BUFLEN ]; in fe_op_add() local 246 size_t textlen = sizeof( textbuf ); in fe_op_add() 291 &rs->sr_text, textbuf, textlen ); in fe_op_add() 312 &rs->sr_text, textbuf, textlen ); in fe_op_add() 333 op->ora_modlist, &rs->sr_text, textbuf, textlen ); in fe_op_add() 402 char *textbuf, size_t textlen ) in slap_mods2entry() argument [all …]
|
| H A D | slapadd.c | 105 char textbuf[SLAP_TEXT_BUFLEN] = { '\0' }; in getrec0() local 106 size_t textlen = sizeof textbuf; in getrec0() 204 if ( slap_tool_entry_check( progname, op, e, erec->lineno, &text, textbuf, textlen ) != in getrec0() 356 char textbuf[SLAP_TEXT_BUFLEN] = { '\0' }; in slapadd() local 357 size_t textlen = sizeof textbuf; in slapadd() 455 bvtext.bv_val = textbuf; in slapadd() 498 bvtext.bv_val = textbuf; in slapadd()
|
| H A D | slapmodify.c | 55 char textbuf[SLAP_TEXT_BUFLEN] = { '\0' }; in slapmodify() local 56 size_t textlen = sizeof textbuf; in slapmodify() 169 bvtext.bv_val = textbuf; in slapmodify() 431 0, &text, textbuf, textlen ); in slapmodify() 436 0, &text, textbuf, textlen ); in slapmodify() 441 0, &text, textbuf, textlen ); in slapmodify() 446 0, &text, textbuf, textlen ); in slapmodify() 461 rc = slap_tool_entry_check( progname, op, e, lineno, &text, textbuf, textlen ); in slapmodify() 620 bvtext.bv_val = textbuf; in slapmodify()
|
| H A D | slapschema.c | 115 char textbuf[SLAP_TEXT_BUFLEN]; in slapschema() local 116 size_t textlen = sizeof(textbuf); in slapschema() 152 &text, textbuf, textlen ); in slapschema()
|
| H A D | slapcommon.c | 1179 char *textbuf, in slap_tool_entry_check() argument 1200 text, textbuf, textlen ); in slap_tool_entry_check() 1207 textbuf[ 0 ] = '\0'; in slap_tool_entry_check() 1213 int rc = slap_entry2mods( e, &ml, text, textbuf, textlen ); in slap_tool_entry_check() 1219 textbuf[ 0 ] = '\0'; in slap_tool_entry_check() 1221 rc = slap_mods_check( op, ml, text, textbuf, textlen, NULL ); in slap_tool_entry_check() 1228 textbuf[ 0 ] = '\0'; in slap_tool_entry_check()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ndb/ |
| H A D | modify.cpp | 39 char *textbuf, size_t textlen, in ndb_modify_delete() argument 53 textbuf, textlen, idx ); in ndb_modify_delete() 67 *text = textbuf; in ndb_modify_delete() 68 snprintf( textbuf, textlen, in ndb_modify_delete() 90 *text = textbuf; in ndb_modify_delete() 91 snprintf( textbuf, textlen, in ndb_modify_delete() 104 *text = textbuf; in ndb_modify_delete() 105 snprintf( textbuf, textlen, in ndb_modify_delete() 133 *text = textbuf; in ndb_modify_delete() 134 snprintf( textbuf, textlen, in ndb_modify_delete() [all …]
|
| H A D | add.cpp | 34 char textbuf[SLAP_TEXT_BUFLEN]; in ndb_back_add() local 35 size_t textlen = sizeof textbuf; in ndb_back_add() 58 get_relax(op), 1, NULL, &rs->sr_text, textbuf, textlen ); in ndb_back_add() 68 rs->sr_err = slap_add_opattrs( op, &rs->sr_text, textbuf, textlen, 1 ); in ndb_back_add()
|
| /netbsd-src/usr.sbin/sysinst/ |
| H A D | net.c | 402 char *textbuf, *t; in get_if6interface_info() local 405 textsize = collect(T_OUTPUT, &textbuf, in get_if6interface_info() 410 (void)strtok(textbuf, "\n"); /* ignore first line */ in get_if6interface_info() 428 free(textbuf); in get_if6interface_info() 536 char *textbuf; in config_network() local 652 if (collect(T_OUTPUT, &textbuf, in config_network() 658 strlcpy(net_defroute, textbuf, in config_network() 660 free(textbuf); in config_network() 665 if (collect(T_OUTPUT, &textbuf, in config_network() 671 strlcpy(net_namesvr, textbuf, in config_network() [all …]
|
| /netbsd-src/external/mpl/dhcp/dist/common/tests/ |
| H A D | ns_name_test.c | 49 char textbuf[sizeof(text_list)]; in ATF_TC_BODY() local 66 ret = MRns_name_uncompress_list(compbuf, ret, textbuf, sizeof(textbuf)); in ATF_TC_BODY() 73 ATF_REQUIRE_MSG((memcmp(textbuf, text_list, sizeof(textbuf)) == 0), in ATF_TC_BODY()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-wt/ |
| H A D | modify.c | 81 char *textbuf, in wt_modify_internal() argument 145 text, textbuf, textlen ); in wt_modify_internal() 162 text, textbuf, textlen ); in wt_modify_internal() 176 text, textbuf, textlen ); in wt_modify_internal() 190 text, textbuf, textlen ); in wt_modify_internal() 210 text, textbuf, textlen ); in wt_modify_internal() 234 text, textbuf, textlen ); in wt_modify_internal() 266 text, textbuf, textlen ); in wt_modify_internal() 311 text, textbuf, textlen ); in wt_modify_internal() 457 char textbuf[SLAP_TEXT_BUFLEN]; in wt_modify() local [all …]
|
| H A D | add.c | 38 char textbuf[SLAP_TEXT_BUFLEN]; in wt_add() local 39 size_t textlen = sizeof textbuf; in wt_add() 62 get_relax(op), 1, NULL, &rs->sr_text, textbuf, textlen ); in wt_add() 73 rs->sr_err = slap_add_opattrs( op, &rs->sr_text, textbuf, textlen, 1 ); in wt_add()
|
| /netbsd-src/external/mpl/bind/dist/fuzz/ |
| H A D | dns_message_checksig.c | 461 char textbuf[64]; in LLVMFuzzerTestOneInput() 466 isc_buffer_init(&b, textbuf, sizeof(textbuf)); in LLVMFuzzerTestOneInput() 468 fprintf(stderr, "tsigstatus=%.*s\n", (int)b.used, textbuf); in LLVMFuzzerTestOneInput() 469 isc_buffer_init(&b, textbuf, sizeof(textbuf)); in LLVMFuzzerTestOneInput() 471 fprintf(stderr, "sig0status=%.*s\n", (int)b.used, textbuf); in LLVMFuzzerTestOneInput() 522 char textbuf[64]; LLVMFuzzerTestOneInput() local
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-mdb/ |
| H A D | modify.c | 88 char *textbuf, in mdb_modify_internal() argument 166 text, textbuf, textlen ); in mdb_modify_internal() 194 mval_fail: strncpy( textbuf, mdb_strerror( err ), textlen ); in mdb_modify_internal() 230 text, textbuf, textlen ); in mdb_modify_internal() 287 text, textbuf, textlen ); in mdb_modify_internal() 333 text, textbuf, textlen ); in mdb_modify_internal() 418 text, textbuf, textlen ); in mdb_modify_internal() 582 char textbuf[SLAP_TEXT_BUFLEN]; in mdb_modify() local 583 size_t textlen = sizeof textbuf; in mdb_modify() 713 &dummy, &rs->sr_text, textbuf, textlen ); in mdb_modify()
|
| H A D | add.c | 35 char textbuf[SLAP_TEXT_BUFLEN]; in mdb_add() local 36 size_t textlen = sizeof textbuf; in mdb_add() 60 get_relax(op), 1, NULL, &rs->sr_text, textbuf, textlen ); in mdb_add() 83 rs->sr_err = slap_add_opattrs( op, &rs->sr_text, textbuf, textlen, 1 ); in mdb_add()
|
| H A D | monitor.c | 278 char textbuf[ SLAP_TEXT_BUFLEN ]; in mdb_monitor_free() local 294 textbuf, sizeof( textbuf ) ); in mdb_monitor_free() 303 textbuf, sizeof( textbuf ) ); in mdb_monitor_free()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ldif/ |
| H A D | ldif.c | 1153 char *textbuf ) in apply_modify_to_entry() argument 1173 &rs->sr_text, textbuf, in apply_modify_to_entry() 1180 &rs->sr_text, textbuf, in apply_modify_to_entry() 1187 &rs->sr_text, textbuf, in apply_modify_to_entry() 1194 &rs->sr_text, textbuf, in apply_modify_to_entry() 1202 &rs->sr_text, textbuf, in apply_modify_to_entry() 1214 &rs->sr_text, textbuf, in apply_modify_to_entry() 1230 &rs->sr_text, textbuf, in apply_modify_to_entry() 1245 &rs->sr_text, textbuf, SLAP_TEXT_BUFLEN ); in apply_modify_to_entry() 1404 char textbuf[SLAP_TEXT_BUFLEN]; in ldif_back_add() local [all …]
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/ |
| H A D | modify.c | 141 char textbuf[ SLAP_TEXT_BUFLEN ] = { '\0' }; in backsql_modify() local 153 &rs->sr_text, textbuf, sizeof( textbuf ) ); in backsql_modify()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| H A D | constraint.c | 1085 char textbuf[SLAP_TEXT_BUFLEN]; in constraint_update() local 1086 size_t textlen = sizeof(textbuf); in constraint_update() 1093 &text, textbuf, textlen ); in constraint_update() 1099 &text, textbuf, textlen ); in constraint_update() 1105 &text, textbuf, textlen ); in constraint_update() 1111 &text, textbuf, textlen ); in constraint_update() 1118 &text, textbuf, textlen ); in constraint_update() 1129 &text, textbuf, textlen ); in constraint_update() 1144 &text, textbuf, textlen ); in constraint_update()
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-monitor/ |
| H A D | log.c | 179 static char textbuf[ BACKMONITOR_BUFSIZE ]; in monitor_subsys_log_modify() local 190 &text, textbuf, sizeof( textbuf ) ); in monitor_subsys_log_modify()
|