talloc_strndup    420 lib/talloc/testsuite.c 	p2 = talloc_strndup(p1, "foo", 2);
talloc_strndup     66 lib/util/util_strlist.c 		ret[num_elements] = talloc_strndup(ret, string, len);
talloc_strndup    112 lib/util/util_strlist.c 			element = talloc_strndup(ret, string, len);
talloc_strndup    115 lib/util/util_strlist.c 			element = talloc_strndup(ret, string, len);
talloc_strndup    124 libcli/ldap/ldap_message.c 	ctrl->oid = talloc_strndup(mem_ctx, (char *)oid.data, oid.length);
talloc_strndup    854 libcli/ldap/ldap_message.c 		ret->u.substring.attr = talloc_strndup(ret, (char *)attr.data, attr.length);
talloc_strndup     85 libcli/nbt/nbtname.c 		*component = (uint8_t*)talloc_strndup(ndr, (const char *)&ndr->data[1 + *offset], len);
talloc_strndup    435 libcli/nbt/nbtname.c 		s = talloc_strndup(mem_ctx, name, PTR_DIFF(p, name));
talloc_strndup    531 libcli/nbt/nbtname.c 		r->name	= talloc_strndup(r, (char *)namebuf, namebuf_len);
talloc_strndup    549 libcli/nbt/nbtname.c 		r->scope = talloc_strndup(r, (char *)(namebuf+17), namebuf_len-17);
talloc_strndup    209 libcli/nbt/tools/nmblookup.c 		node_name = talloc_strndup(tmp_ctx, name, PTR_DIFF(p,name));
talloc_strndup    168 libcli/security/dom_sid.c 	char *p = talloc_strndup(mem_ctx, (char *)sid->data, sid->length);
talloc_strndup     53 librpc/ndr/uuid.c 		string = talloc_strndup(mem_ctx, (const char *)s->data, s->length);
talloc_strndup     70 librpc/ndr/uuid.c 		string = talloc_strndup(mem_ctx, (const char *)s->data, s->length);
talloc_strndup    270 librpc/rpc/binding.c 		char *type = talloc_strndup(mem_ctx, s, PTR_DIFF(p, s));
talloc_strndup    294 librpc/rpc/binding.c 		b->host = talloc_strndup(b, s, PTR_DIFF(p, s));
talloc_strndup    328 librpc/rpc/binding.c 		b->options[i] = talloc_strndup(b, options, PTR_DIFF(p, options));
talloc_strndup    120 source3/lib/ldb/common/ldb.c 		backend = talloc_strndup(ldb, url, strchr(url, ':')-url);
talloc_strndup    242 source3/lib/ldb/ldb_tdb/ldb_pack.c 		message->elements[i].name = talloc_strndup(message->elements, (char *)p, len);
talloc_strndup    304 source3/lib/ldb/samba/ldif_handlers.c 		oc1 = talloc_strndup(mem_ctx, (char *)in->data, in->length);
talloc_strndup    307 source3/lib/ldb/samba/ldif_handlers.c 		oc1 = talloc_strndup(mem_ctx, (char *)val->data, val->length);
talloc_strndup    329 source3/lib/ldb/samba/ldif_handlers.c 		oc1 = talloc_strndup(mem_ctx, (char *)v1->data, v1->length);
talloc_strndup    332 source3/lib/ldb/samba/ldif_handlers.c 		oc1 = talloc_strndup(mem_ctx, (char *)val->data, val->length);
talloc_strndup    339 source3/lib/ldb/samba/ldif_handlers.c 		oc2 = talloc_strndup(mem_ctx, (char *)v2->data, v2->length);
talloc_strndup    342 source3/lib/ldb/samba/ldif_handlers.c 		oc2 = talloc_strndup(mem_ctx, (char *)val->data, val->length);
talloc_strndup    169 source3/lib/ldb/tools/cmdline.c 					options.controls[cc] = talloc_strndup(options.controls, p, t-p);
talloc_strndup    101 source3/lib/ldb/tools/oLschema2ldif.c 		s = talloc_strndup(msg, c, n);
talloc_strndup    124 source3/lib/ldb/tools/oLschema2ldif.c 		value = talloc_strndup(ctx, c, n);
talloc_strndup    129 source3/lib/ldb/tools/oLschema2ldif.c 		value = talloc_strndup(ctx, c, n);
talloc_strndup    147 source3/lib/ldb/tools/oLschema2ldif.c 	type = talloc_strndup(token, c, n);
talloc_strndup    180 source3/lib/ldb/tools/oLschema2ldif.c 			token->value = talloc_strndup(ctx, c, n);
talloc_strndup    220 source3/lib/ldb/tools/oLschema2ldif.c 			token->value = talloc_strndup(ctx, c, n);
talloc_strndup    239 source3/lib/ldb/tools/oLschema2ldif.c 			token->value = talloc_strndup(ctx, c, n);
talloc_strndup    376 source3/lib/ldb/tools/oLschema2ldif.c 	s = talloc_strndup(msg, c, n);
talloc_strndup    821 source3/lib/netapi/user.c 	i->usri2_parms		= talloc_strndup(mem_ctx, (const char *)i21->parameters.array, i21->parameters.size/2);
talloc_strndup    859 source3/lib/netapi/user.c 	i->usri3_parms		= talloc_strndup(mem_ctx, (const char *)i21->parameters.array, i21->parameters.size/2);
talloc_strndup    906 source3/lib/netapi/user.c 	i->usri4_parms		= talloc_strndup(mem_ctx, (const char *)i21->parameters.array, i21->parameters.size/2);
talloc_strndup    968 source3/lib/netapi/user.c 	i->usri11_parms		= talloc_strndup(mem_ctx, (const char *)i21->parameters.array, i21->parameters.size/2);
talloc_strndup   2951 source3/lib/util.c 		*domain = talloc_strndup(mem_ctx, full_name,
talloc_strndup   3094 source3/lib/util.c 		base = talloc_strndup(mem_ctx, fname, PTR_DIFF(sname, fname));
talloc_strndup   3116 source3/lib/util.c 		sname = talloc_strndup(mem_ctx, sname, PTR_DIFF(stype, sname));
talloc_strndup     98 source3/libaddns/dnsutils.c 	if (!(result->label = talloc_strndup(result, name, result->len))) {
talloc_strndup   1413 source3/libnet/libnet_join.c 		domain = talloc_strndup(mem_ctx, domain_str,
talloc_strndup     51 source3/modules/vfs_syncops.c 	return talloc_strndup(mem_ctx, name, (p+1) - name);
talloc_strndup   9376 source3/param/loadparm.c 	ret = talloc_strndup(talloc_tos(), label, 32);
talloc_strndup     54 source3/passdb/lookup_sid.c 		domain = talloc_strndup(tmp_ctx, full_name,
talloc_strndup    379 source3/smbd/notify_internal.c 		tmp_path = talloc_strndup(notify, e.path, len-2);
talloc_strndup   1348 source3/smbd/reply.c 			directory = talloc_strndup(ctx, directory,
talloc_strndup   6569 source3/smbd/reply.c 		directory = talloc_strndup(ctx, name, PTR_DIFF(p, name));
talloc_strndup    291 source3/smbd/statcache.c 			name = talloc_strndup(ctx, translated_path,
talloc_strndup    302 source3/smbd/statcache.c 				name = talloc_strndup(ctx,
talloc_strndup    818 source3/utils/net_usershare.c 		if ((name = talloc_strndup(ctx, pacl, pcolon - pacl)) == NULL) {
talloc_strndup     68 source4/auth/gensec/gensec_gssapi.c 	maj_error_string = talloc_strndup(mem_ctx, (char *)maj_error_message.value, maj_error_message.length);
talloc_strndup     70 source4/auth/gensec/gensec_gssapi.c 	min_error_string = talloc_strndup(mem_ctx, (char *)min_error_message.value, min_error_message.length);
talloc_strndup   1282 source4/auth/gensec/gensec_gssapi.c 		principal_string = talloc_strndup(mem_ctx, 
talloc_strndup     80 source4/cldap_server/netlogon.c 		domain = talloc_strndup(mem_ctx, domain, strlen(domain)-1);
talloc_strndup    431 source4/cldap_server/netlogon.c 			domain = talloc_strndup(tmp_ctx, 
talloc_strndup    436 source4/cldap_server/netlogon.c 			host = talloc_strndup(tmp_ctx, 
talloc_strndup    450 source4/cldap_server/netlogon.c 			domain_sid = talloc_strndup(tmp_ctx, 
talloc_strndup    455 source4/cldap_server/netlogon.c 			user = talloc_strndup(tmp_ctx, 
talloc_strndup   1037 source4/client/client.c 			char *parent = talloc_strndup(ctx, mask, PTR_DIFF(p, mask));
talloc_strndup   1326 source4/client/client.c 		buf = talloc_strndup(NULL, dname, len);
talloc_strndup   2850 source4/client/client.c 		info.dirmask = talloc_strndup(NULL, text, i+1);
talloc_strndup    627 source4/dsdb/samdb/cracknames.c 			computer_name = talloc_strndup(mem_ctx, principal->name.name_string.val[1], 
talloc_strndup    115 source4/dsdb/samdb/ldb_modules/extended_dn_in.c 			valstr = talloc_strndup(ac,
talloc_strndup    301 source4/dsdb/samdb/ldb_modules/extended_dn_in.c 			wkguid_dup = talloc_strndup(req, (char *)wkguid_val->data, wkguid_val->length);
talloc_strndup    318 source4/dsdb/samdb/ldb_modules/password_hash.c 	io->g.salt = talloc_strndup(io->ac,
talloc_strndup    107 source4/dsdb/samdb/ldb_modules/ranged_results.c 		new_attr = talloc_strndup(ac->req,
talloc_strndup    215 source4/dsdb/samdb/ldb_modules/ranged_results.c 		new_attrs[i] = talloc_strndup(new_attrs, new_attrs[i],
talloc_strndup    161 source4/dsdb/schema/schema_init.c 		ctr->mappings[i].oid.oid	= talloc_strndup(ctr->mappings,
talloc_strndup    393 source4/dsdb/schema/schema_init.c 	(*prefixes)[index_new_prefix].oid = talloc_strndup(mem_ctx, oid, size);
talloc_strndup    610 source4/dsdb/schema/schema_init.c 		(p)->elem[get_string_list_counter] = talloc_strndup((p)->elem, \
talloc_strndup    257 source4/kdc/pac-glue.c 				workstation = talloc_strndup(tmp_ctx, addresses->val->address.data, MIN(addresses->val->address.length, 15));
talloc_strndup    353 source4/lib/com/dcom/main.c 		m->host = c ? talloc_strndup(m, server, c - server) : talloc_strdup(m, server); 
talloc_strndup    384 source4/lib/ldb-samba/ldif_handlers.c 		const char *lDAPDisplayName = talloc_strndup(tmp_ctx, (char *)in->data, in->length);
talloc_strndup    465 source4/lib/ldb-samba/ldif_handlers.c 	string = talloc_strndup(mem_ctx, (const char *)in->data, in->length);
talloc_strndup     98 source4/lib/ldb/common/ldb_dn.c 		dn->extended_linearized = talloc_strndup(dn, (const char *)strdn->data, strdn->length);
talloc_strndup    217 source4/lib/ldb/common/ldb_modules.c 		backend = talloc_strndup(ldb, url, strchr(url, ':')-url);
talloc_strndup     59 source4/lib/ldb/common/ldb_utf8.c 	char *ret = talloc_strndup(mem_ctx, s, n);
talloc_strndup    240 source4/lib/ldb/ldb_tdb/ldb_pack.c 		message->elements[i].name = talloc_strndup(message->elements, (char *)p, len);
talloc_strndup   1276 source4/lib/ldb/pyldb.c 		me->values[0].data = (uint8_t *)talloc_strndup(me->values,
talloc_strndup    171 source4/lib/ldb/tools/cmdline.c 					options.controls[cc] = talloc_strndup(options.controls, p, t-p);
talloc_strndup    179 source4/lib/registry/local.c 						   talloc_strndup(mem_ctx, name, last_part-name),
talloc_strndup    181 source4/lib/registry/patchfile_dotreg.c 				curkey = talloc_strndup(line, line+2, strlen(line)-3);
talloc_strndup    196 source4/lib/registry/patchfile_dotreg.c 			curkey = talloc_strndup(mem_ctx, line+1, strlen(line)-2);
talloc_strndup     93 source4/lib/registry/patchfile_preg.c 	parent_name = talloc_strndup(data->ctx, key_name, strrchr(key_name, '\\')-key_name);
talloc_strndup     94 source4/lib/registry/patchfile_preg.c 	blob.data = (uint8_t *)talloc_strndup(data->ctx, key_name+(strrchr(key_name, '\\')-key_name)+1,
talloc_strndup    450 source4/lib/registry/regf.c 			*classname = talloc_strndup(mem_ctx,
talloc_strndup    539 source4/lib/registry/regf.c 		*name = talloc_strndup(ctx, vk->data_name, vk->name_length);
talloc_strndup    768 source4/lib/registry/regf.c 			*classname = talloc_strndup(ctx,
talloc_strndup   1255 source4/lib/registry/regf.c 			lf.hr[0].hash = talloc_strndup(lf.hr, name, 4);
talloc_strndup   1337 source4/lib/registry/regf.c 		lf.hr[lf.key_count].hash = talloc_strndup(lf.hr, name, 4);
talloc_strndup    470 source4/lib/registry/tools/regshell.c 				talloc_strndup(mem_ctx, matches[1], samelen));
talloc_strndup    166 source4/lib/registry/util.c 	predefname = talloc_strndup(mem_ctx, name, predeflength);
talloc_strndup    194 source4/lib/registry/util.c 	parent_name = talloc_strndup(mem_ctx, path, strrchr(path, '\\')-path);
talloc_strndup    131 source4/libcli/auth/session.c 	ret = talloc_strndup(mem_ctx, (const char *)(out.data+8), slen);
talloc_strndup    226 source4/libcli/finddcs.c 			char *name = talloc_strndup(state->dcs, state->node_status.out.status.names[0].name, 15);
talloc_strndup     60 source4/libcli/ldap/ldap_controls.c 		lsrc->attr_desc = talloc_strndup(lsrc, (const char *)attr.data, attr.length);
talloc_strndup    114 source4/libcli/ldap/ldap_controls.c 		lssc[num]->attributeName = talloc_strndup(lssc[num], (const char *)attr.data, attr.length);
talloc_strndup    123 source4/libcli/ldap/ldap_controls.c 			lssc[num]->orderingRule = talloc_strndup(lssc[num], (const char *)rule.data, rule.length);
talloc_strndup    398 source4/libcli/ldap/ldap_controls.c 			lac->source_attribute = talloc_strndup(lac, (const char *)source_attribute.data, source_attribute.length);
talloc_strndup    626 source4/libcli/ldap/ldap_controls.c 		lvrc->contextId = talloc_strndup(lvrc, (const char *)context_id.data, context_id.length);
talloc_strndup    149 source4/libcli/raw/raweas.c 	ea->name.s = talloc_strndup(mem_ctx, (const char *)(blob->data+4), nlen);
talloc_strndup    281 source4/libcli/raw/raweas.c 	ea->name.s = talloc_strndup(mem_ctx, (const char *)(blob->data+1), nlen);
talloc_strndup    105 source4/libcli/security/sddl.c 		sid_str = talloc_strndup(mem_ctx, sddl, len+2);
talloc_strndup    297 source4/libcli/security/sddl.c 		astr = talloc_strndup(acl, sddl+1, len);
talloc_strndup     70 source4/libcli/smb2/create.c 		tag = talloc_strndup(mem_ctx, (const char *)data + name_offset, name_length);
talloc_strndup     82 source4/ntvfs/cifs_posix_cli/svfs_util.c 	dir->unix_dir = talloc_strndup(mem_ctx, unix_path, PTR_DIFF(p, unix_path));
talloc_strndup    378 source4/ntvfs/common/notify.c 		tmp_path = talloc_strndup(notify, e.path, len-2);
talloc_strndup    160 source4/ntvfs/posix/pvfs_rename.c 		base1 = talloc_strndup(mem_ctx, fname, p-fname);
talloc_strndup    172 source4/ntvfs/posix/pvfs_rename.c 		base2 = talloc_strndup(mem_ctx, pattern, p-pattern);
talloc_strndup    547 source4/ntvfs/posix/pvfs_resolve.c 		dir_name = talloc_strndup(*name, (*name)->full_name, (p-(*name)->full_name));
talloc_strndup    136 source4/ntvfs/posix/pvfs_shortname.c 	ctx->prefix_cache[i] = talloc_strndup(ctx->prefix_cache, prefix, length);
talloc_strndup     37 source4/ntvfs/posix/pvfs_streams.c 	return talloc_strndup(ctx, name, c-name);
talloc_strndup     79 source4/ntvfs/simple/svfs_util.c 	dir->unix_dir = talloc_strndup(mem_ctx, unix_path, PTR_DIFF(p, unix_path));
talloc_strndup     64 source4/param/pyparam.c 	    const char *type = talloc_strndup(lp_ctx, 
talloc_strndup     86 source4/param/pyparam.c 	const char *type = talloc_strndup(lp_ctx, 
talloc_strndup    257 source4/rpc_server/lsa/lsa_lookup.c 		domain = talloc_strndup(mem_ctx, name, p-name);
talloc_strndup    301 source4/utils/ntlm_auth.c 		*password = talloc_strndup(*private1 /* hopefully the right gensec context, useful to use for talloc */,
talloc_strndup    432 source4/utils/ntlm_auth.c 			want_feature_list = talloc_strndup(state, buf+3, strlen(buf)-3);
talloc_strndup    578 source4/utils/ntlm_auth.c 		state->set_password = talloc_strndup(state,
talloc_strndup    101 source4/utils/oLschema2ldif.c 		s = talloc_strndup(msg, c, n);
talloc_strndup    124 source4/utils/oLschema2ldif.c 		value = talloc_strndup(ctx, c, n);
talloc_strndup    129 source4/utils/oLschema2ldif.c 		value = talloc_strndup(ctx, c, n);
talloc_strndup    147 source4/utils/oLschema2ldif.c 	type = talloc_strndup(token, c, n);
talloc_strndup    180 source4/utils/oLschema2ldif.c 			token->value = talloc_strndup(ctx, c, n);
talloc_strndup    220 source4/utils/oLschema2ldif.c 			token->value = talloc_strndup(ctx, c, n);
talloc_strndup    239 source4/utils/oLschema2ldif.c 			token->value = talloc_strndup(ctx, c, n);
talloc_strndup    376 source4/utils/oLschema2ldif.c 	s = talloc_strndup(msg, c, n);
talloc_strndup    116 source4/web_server/web_server.c 		web->input.url = talloc_strndup(web, &line[4], strcspn(&line[4], " \t"));
talloc_strndup    119 source4/web_server/web_server.c 		web->input.url = talloc_strndup(web, &line[5], strcspn(&line[5], " \t"));
talloc_strndup    133 source4/web_server/web_server.c 		hdr->name = talloc_strndup(hdr, line, colon-line);
talloc_strndup     39 source4/winbind/wb_utils.c 		*domain = talloc_strndup(mem_ctx, domuser,