cp               1220 source3/lib/util_str.c 		const char *cp = s;
cp               1225 source3/lib/util_str.c 		cp += (len - 1);
cp               1227 source3/lib/util_str.c 			if (c == *cp) {
cp               1229 source3/lib/util_str.c 			       	if ((cp > s) &&
cp               1230 source3/lib/util_str.c 					(((unsigned char)cp[-1]) & 0x80)) {
cp               1236 source3/lib/util_str.c 			       	return (char *)cp;
cp               1238 source3/lib/util_str.c 		} while (cp-- != s);
cp                398 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                399 source3/lib/util_unistr.c 	while (*(COPY_UCS2_CHAR(&cp,s))) {
cp                400 source3/lib/util_unistr.c 		if (c == cp) {
cp                405 source3/lib/util_unistr.c 	if (c == cp) {
cp                423 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                432 source3/lib/util_unistr.c 		if (c == *(COPY_UCS2_CHAR(&cp,p))) {
cp                445 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                454 source3/lib/util_unistr.c 		if (c == *(COPY_UCS2_CHAR(&cp,p))) {
cp                498 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                501 source3/lib/util_unistr.c 	while (*(COPY_UCS2_CHAR(&cp,s))) {
cp                502 source3/lib/util_unistr.c 		smb_ucs2_t v = tolower_w(cp);
cp                503 source3/lib/util_unistr.c 		if (v != cp) {
cp                519 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                521 source3/lib/util_unistr.c 	while (*(COPY_UCS2_CHAR(&cp,s))) {
cp                522 source3/lib/util_unistr.c 		smb_ucs2_t v = toupper_w(cp);
cp                523 source3/lib/util_unistr.c 		if (v != cp) {
cp                671 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                678 source3/lib/util_unistr.c 	for (len = 0; (*COPY_UCS2_CHAR(&cp,(src+len))) && (len < max); len++) {
cp                679 source3/lib/util_unistr.c 		cp = *COPY_UCS2_CHAR(dest+len,src+len);
cp                681 source3/lib/util_unistr.c 	cp = 0;
cp                683 source3/lib/util_unistr.c 		cp = *COPY_UCS2_CHAR(dest+len,&cp);
cp                738 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                740 source3/lib/util_unistr.c 	for(;*(COPY_UCS2_CHAR(&cp,s));s++) {
cp                741 source3/lib/util_unistr.c 		if(cp==oldc) {
cp                794 source3/lib/util_unistr.c 	smb_ucs2_t cp = 0;
cp                796 source3/lib/util_unistr.c 	while (*b && *(COPY_UCS2_CHAR(&cp,a)) == UCS2_CHAR(*b)) {
cp                800 source3/lib/util_unistr.c 	return (*(COPY_UCS2_CHAR(&cp,a)) - UCS2_CHAR(*b));
cp                805 source3/lib/util_unistr.c 	smb_ucs2_t cp = 0;
cp                808 source3/lib/util_unistr.c 	while ((n < len) && *b && *(COPY_UCS2_CHAR(&cp,a)) == UCS2_CHAR(*b)) {
cp                813 source3/lib/util_unistr.c 	return (len - n)?(*(COPY_UCS2_CHAR(&cp,a)) - UCS2_CHAR(*b)):0;
cp                818 source3/lib/util_unistr.c 	smb_ucs2_t cp;
cp                820 source3/lib/util_unistr.c 	while (*(COPY_UCS2_CHAR(&cp,s))) {
cp                822 source3/lib/util_unistr.c 		for (i=0; p[i] && cp != UCS2_CHAR(p[i]); i++) 
cp                264 source3/libsmb/libsmb_xattr.c 	const char *cp;
cp                319 source3/libsmb/libsmb_xattr.c 	cp = p;
cp                320 source3/libsmb/libsmb_xattr.c 	if (!next_token_talloc(frame, &cp, &tok, "/")) {
cp                336 source3/libsmb/libsmb_xattr.c 	if (!(next_token_talloc(frame, &cp, &tok, "/") &&
cp                342 source3/libsmb/libsmb_xattr.c 	if (!next_token_talloc(frame, &cp, &tok, "/")) {
cp                 96 source3/modules/charset_macosxfs.c static inline void swap_bytes_inplace (char * cp, size_t len)
cp                 99 source3/modules/charset_macosxfs.c 	char *end = cp + len;
cp                100 source3/modules/charset_macosxfs.c 	while (cp  < end) {
cp                101 source3/modules/charset_macosxfs.c 		temp = cp[1];
cp                102 source3/modules/charset_macosxfs.c 		cp[1] = cp[0];
cp                103 source3/modules/charset_macosxfs.c 		cp[0] = temp;
cp                104 source3/modules/charset_macosxfs.c 		cp += 2;
cp                109 source3/modules/charset_macosxfs.c #define native_to_le(cp,len)		swap_bytes_inplace(cp,len)
cp                116 source3/modules/charset_macosxfs.c #define native_to_le(cp,len)		/* nothing */
cp                531 source3/modules/onefs_shadow_copy.c 	char *cp;
cp                559 source3/modules/onefs_shadow_copy.c 	cp = malloc(strlen(text) + 1);
cp                560 source3/modules/onefs_shadow_copy.c 	if (cp == NULL) {
cp                565 source3/modules/onefs_shadow_copy.c 	strcpy(cp, text);
cp                567 source3/modules/onefs_shadow_copy.c 	idcp->idc_version[idcp->idc_len++] = cp;
cp                214 source3/utils/net_ads.c 	char *cp;
cp                266 source3/utils/net_ads.c        if ((cp = strchr_m(ads->auth.user_name, '@'))!=0) {
cp                267 source3/utils/net_ads.c 		*cp++ = '\0';
cp                269 source3/utils/net_ads.c 		ads->auth.realm = smb_xstrdup(cp);
cp                155 source3/utils/sharesec.c 	const char *cp;
cp                198 source3/utils/sharesec.c 	cp = p;
cp                199 source3/utils/sharesec.c 	if (!next_token_talloc(frame, &cp, &tok, "/")) {
cp                222 source3/utils/sharesec.c 	if (!(next_token_talloc(frame, &cp, &tok, "/") &&
cp                231 source3/utils/sharesec.c 	if (!next_token_talloc(frame, &cp, &tok, "/")) {
cp                365 source3/utils/smbcacls.c 	const char *cp;
cp                408 source3/utils/smbcacls.c 	cp = p;
cp                409 source3/utils/smbcacls.c 	if (!next_token_talloc(frame, &cp, &tok, "/")) {
cp                431 source3/utils/smbcacls.c 	if (!next_token_talloc(frame, &cp, &tok, "/")) {
cp                465 source3/utils/smbcacls.c 	if (!next_token_talloc(frame, &cp, &tok, "/")) {
cp               1372 source4/heimdal/kdc/krb5tgs.c     krb5_principal cp = NULL, sp = NULL;
cp               1457 source4/heimdal/kdc/krb5tgs.c     _krb5_principalname2krb5_principal(context, &cp, tgt->cname, tgt->crealm);
cp               1458 source4/heimdal/kdc/krb5tgs.c     ret = krb5_unparse_name(context, cp, &cpn);
cp               1537 source4/heimdal/kdc/krb5tgs.c     ret = _kdc_db_fetch(context, config, cp, HDB_F_GET_CLIENT | HDB_F_CANON,
cp               1552 source4/heimdal/kdc/krb5tgs.c 	if(strcmp(krb5_principal_get_realm(context, cp), krbtgt_realm) == 0) {
cp               1641 source4/heimdal/kdc/krb5tgs.c     ret = check_PAC(context, config, cp,
cp               1669 source4/heimdal/kdc/krb5tgs.c     client_principal = cp;
cp               1736 source4/heimdal/kdc/krb5tgs.c 	    if (krb5_principal_compare(context, cp, sp) != TRUE) {
cp               1944 source4/heimdal/kdc/krb5tgs.c 			 cp,
cp               1964 source4/heimdal/kdc/krb5tgs.c     if (client_principal && client_principal != cp)
cp               1966 source4/heimdal/kdc/krb5tgs.c     if (cp)
cp               1967 source4/heimdal/kdc/krb5tgs.c 	krb5_free_principal(context, cp);
cp                381 source4/heimdal/lib/hcrypto/bn.c     unsigned char *cp;
cp                401 source4/heimdal/lib/hcrypto/bn.c     cp = &((unsigned char *)ci.data)[ci.length - 1];
cp                405 source4/heimdal/lib/hcrypto/bn.c 	*cp = carry & 0xff;
cp                407 source4/heimdal/lib/hcrypto/bn.c 	ap--; bp--; cp--;
cp                411 source4/heimdal/lib/hcrypto/bn.c 	*cp = carry & 0xff;
cp                413 source4/heimdal/lib/hcrypto/bn.c 	ap--; cp--;
cp                416 source4/heimdal/lib/hcrypto/bn.c 	memmove(cp, cp + 1, --ci.length);
cp                418 source4/heimdal/lib/hcrypto/bn.c 	*cp = carry;
cp                 71 source4/heimdal/lib/krb5/keytab_keyfile.c     char buf[BUFSIZ], *cp;
cp                115 source4/heimdal/lib/krb5/keytab_keyfile.c     for (cp = buf; *cp != '\0'; cp++)
cp                116 source4/heimdal/lib/krb5/keytab_keyfile.c 	*cp = toupper((unsigned char)*cp);
cp                 45 source4/heimdal/lib/roken/inet_aton.c inet_aton(const char *cp, struct in_addr *addr)
cp                 47 source4/heimdal/lib/roken/inet_aton.c   addr->s_addr = inet_addr(cp);
cp                 52 source4/heimdal/lib/wind/bidi.c is_ral(uint32_t cp)
cp                 54 source4/heimdal/lib/wind/bidi.c     struct range_entry ee = {cp};
cp                 62 source4/heimdal/lib/wind/bidi.c is_l(uint32_t cp)
cp                 64 source4/heimdal/lib/wind/bidi.c     struct range_entry ee = {cp};
cp                 52 source4/heimdal/lib/wind/errorlist.c _wind_stringprep_error(uint32_t cp, wind_profile_flags flags)
cp                 54 source4/heimdal/lib/wind/errorlist.c     struct error_entry ee = {cp};
cp                386 source4/ntvfs/cifs/vfs_cifs.c 			     struct ntvfs_request *req, union smb_chkpath *cp)
cp                394 source4/ntvfs/cifs/vfs_cifs.c 		return smb_raw_chkpath(p->tree, cp);
cp                397 source4/ntvfs/cifs/vfs_cifs.c 	c_req = smb_raw_chkpath_send(p->tree, cp);
cp                631 source4/ntvfs/cifs/vfs_cifs.c 			  struct ntvfs_request *req, struct smb_copy *cp)
cp                 95 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c static struct cifspsx_file *find_fd(struct cifspsx_private *cp, struct ntvfs_handle *handle)
cp                100 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	p = ntvfs_handle_get_backend_data(handle, cp->ntvfs);
cp                146 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 			     union smb_chkpath *cp)
cp                151 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 	unix_path = cifspsx_unix_path(ntvfs, req, cp->chkpath.in.path);
cp                487 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c 			  struct ntvfs_request *req, struct smb_copy *cp)
cp                141 source4/ntvfs/ipc/vfs_ipc.c 			    union smb_chkpath *cp)
cp                397 source4/ntvfs/ipc/vfs_ipc.c 			 struct ntvfs_request *req, struct smb_copy *cp)
cp                207 source4/ntvfs/nbench/vfs_nbench.c 	union smb_chkpath *cp = req->async_states->private_data;
cp                210 source4/ntvfs/nbench/vfs_nbench.c 		   cp->chkpath.in.path, 
cp                218 source4/ntvfs/nbench/vfs_nbench.c 			       union smb_chkpath *cp)
cp                222 source4/ntvfs/nbench/vfs_nbench.c 	PASS_THRU_REQ(ntvfs, req, chkpath, cp, (ntvfs, req, cp));
cp                431 source4/ntvfs/nbench/vfs_nbench.c 			    struct ntvfs_request *req, struct smb_copy *cp)
cp                435 source4/ntvfs/nbench/vfs_nbench.c 	PASS_THRU_REQ(ntvfs, req, copy, cp, (ntvfs, req, cp));
cp                 71 source4/ntvfs/ntvfs.h 			    union smb_chkpath *cp);
cp                 89 source4/ntvfs/ntvfs.h 			 struct smb_copy *cp);
cp                 78 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_chkpath(struct ntvfs_request *req, union smb_chkpath *cp)
cp                 84 source4/ntvfs/ntvfs_interface.c 	return ntvfs->ops->chkpath(ntvfs, req, cp);
cp                141 source4/ntvfs/ntvfs_interface.c NTSTATUS ntvfs_copy(struct ntvfs_request *req, struct smb_copy *cp)
cp                147 source4/ntvfs/ntvfs_interface.c 	return ntvfs->ops->copy(ntvfs, req, cp);
cp                389 source4/ntvfs/ntvfs_interface.c 				     union smb_chkpath *cp)
cp                394 source4/ntvfs/ntvfs_interface.c 	return ntvfs->next->ops->chkpath(ntvfs->next, req, cp);
cp                449 source4/ntvfs/ntvfs_interface.c 				  struct smb_copy *cp)
cp                454 source4/ntvfs/ntvfs_interface.c 	return ntvfs->next->ops->copy(ntvfs->next, req, cp);
cp                275 source4/ntvfs/posix/vfs_posix.c 			     union smb_chkpath *cp)
cp                283 source4/ntvfs/posix/vfs_posix.c 	status = pvfs_resolve_name(pvfs, req, cp->chkpath.in.path, 0, &name);
cp                301 source4/ntvfs/posix/vfs_posix.c 			  struct ntvfs_request *req, struct smb_copy *cp)
cp                143 source4/ntvfs/simple/vfs_simple.c 			     union smb_chkpath *cp)
cp                148 source4/ntvfs/simple/vfs_simple.c 	unix_path = svfs_unix_path(ntvfs, req, cp->chkpath.in.path);
cp                484 source4/ntvfs/simple/vfs_simple.c 			  struct ntvfs_request *req, struct smb_copy *cp)
cp                390 source4/ntvfs/smb2/vfs_smb2.c 			     struct ntvfs_request *req, union smb_chkpath *cp)
cp                405 source4/ntvfs/smb2/vfs_smb2.c 	f.in.pattern		= cp->chkpath.in.path;
cp                503 source4/ntvfs/smb2/vfs_smb2.c 			  struct ntvfs_request *req, struct smb_copy *cp)
cp                312 source4/ntvfs/unixuid/vfs_unixuid.c 				union smb_chkpath *cp)
cp                316 source4/ntvfs/unixuid/vfs_unixuid.c 	PASS_THRU_REQ(ntvfs, req, chkpath, (ntvfs, req, cp));
cp                417 source4/ntvfs/unixuid/vfs_unixuid.c 			    struct ntvfs_request *req, struct smb_copy *cp)
cp                421 source4/ntvfs/unixuid/vfs_unixuid.c 	PASS_THRU_REQ(ntvfs, req, copy, (ntvfs, req, cp));
cp               1541 source4/smb_server/smb/reply.c 	struct smb_copy *cp;
cp               1543 source4/smb_server/smb/reply.c 	SMBSRV_CHECK_ASYNC_STATUS(cp, struct smb_copy);
cp               1548 source4/smb_server/smb/reply.c 	SSVAL(req->out.vwv, VWV(0), cp->out.count);
cp               1558 source4/smb_server/smb/reply.c 	struct smb_copy *cp;
cp               1563 source4/smb_server/smb/reply.c 	SMBSRV_TALLOC_IO_PTR(cp, struct smb_copy);
cp               1566 source4/smb_server/smb/reply.c 	cp->in.tid2  = SVAL(req->in.vwv, VWV(0));
cp               1567 source4/smb_server/smb/reply.c 	cp->in.ofun  = SVAL(req->in.vwv, VWV(1));
cp               1568 source4/smb_server/smb/reply.c 	cp->in.flags = SVAL(req->in.vwv, VWV(2));
cp               1571 source4/smb_server/smb/reply.c 	p += req_pull_ascii4(&req->in.bufinfo, &cp->in.path1, p, STR_TERMINATE);
cp               1572 source4/smb_server/smb/reply.c 	p += req_pull_ascii4(&req->in.bufinfo, &cp->in.path2, p, STR_TERMINATE);
cp               1574 source4/smb_server/smb/reply.c 	if (!cp->in.path1 || !cp->in.path2) {
cp               1579 source4/smb_server/smb/reply.c 	SMBSRV_CALL_NTVFS_BACKEND(ntvfs_copy(req->ntvfs, cp));
cp                 61 source4/torture/nbench/nbio.c 	struct createx_params cp;
cp                 92 source4/torture/nbench/nbio.c 	struct createx_params *cp = &f->cp;
cp                 95 source4/torture/nbench/nbio.c 		cp->fname = talloc_strdup(f, fname);
cp                 96 source4/torture/nbench/nbio.c 		if (cp->fname == NULL) {
cp                101 source4/torture/nbench/nbio.c 		cp->fname = NULL;
cp                104 source4/torture/nbench/nbio.c 	cp->create_options = create_options;
cp                105 source4/torture/nbench/nbio.c 	cp->create_disposition = create_disposition;
cp                106 source4/torture/nbench/nbio.c 	cp->handle = handle;
cp                119 source4/torture/nbench/nbio.c 			       f->cp.fname, (unsigned long) linfo->offset);
cp                135 source4/torture/nbench/nbio.c 			 f->cp.fname, f->cp.handle));
cp                138 source4/torture/nbench/nbio.c 				   f->cp.fname,
cp                139 source4/torture/nbench/nbio.c 				   f->cp.create_options,
cp                140 source4/torture/nbench/nbio.c 				   f->cp.create_disposition,
cp                141 source4/torture/nbench/nbio.c 				   f->cp.handle,
cp                145 source4/torture/nbench/nbio.c 			printf("-- nb_reopen_all_files: failed to open file %s\n", f->cp.fname);
cp                506 source4/torture/nbench/nbio.c 	    f->cp.create_disposition == NTCREATEX_DISP_CREATE &&
cp               1604 source4/torture/rpc/spoolss.c 	struct spoolss_ClosePrinter cp;
cp               1622 source4/torture/rpc/spoolss.c 	cp.in.handle = handle;
cp               1623 source4/torture/rpc/spoolss.c 	cp.out.handle = handle;
cp               1625 source4/torture/rpc/spoolss.c 	status = dcerpc_spoolss_ClosePrinter(p2, tctx, &cp);
cp                195 source4/torture/rpc/spoolss_notify.c 	struct spoolss_ClosePrinter cp;
cp                274 source4/torture/rpc/spoolss_notify.c 	cp.in.handle = &handle;
cp                275 source4/torture/rpc/spoolss_notify.c 	cp.out.handle = &handle;
cp                279 source4/torture/rpc/spoolss_notify.c 	status = dcerpc_spoolss_ClosePrinter(p, tctx, &cp);
cp                 83 source4/torture/rpc/spoolss_win.c 	struct spoolss_ClosePrinter cp;
cp                103 source4/torture/rpc/spoolss_win.c 	cp.in.handle			= &handle;
cp                104 source4/torture/rpc/spoolss_win.c 	cp.out.handle			= &handle;
cp                112 source4/torture/rpc/spoolss_win.c 		status = dcerpc_spoolss_ClosePrinter(p, tctx, &cp);
cp                458 source4/torture/rpc/spoolss_win.c 	struct spoolss_ClosePrinter cp;
cp                460 source4/torture/rpc/spoolss_win.c 	cp.in.handle  = handle;
cp                461 source4/torture/rpc/spoolss_win.c 	cp.out.handle = handle;
cp                463 source4/torture/rpc/spoolss_win.c 	status = dcerpc_spoolss_ClosePrinter(p, tctx, &cp);