Home | History | Annotate | Download | only in OS400

Lines Matching defs:cp

134   char * cp;
159 if((cp = realloc(buf->buf, size))) {
160 buf->buf = cp;
164 cp = buf->buf;
166 return cp;
244 char * cp;
250 cp = Curl_thread_buffer(key, MAX_CONV_EXPANSION * i + 1);
252 if(cp) {
253 i = QadrtConvertE2A(cp, s, MAX_CONV_EXPANSION * i, i);
254 cp[i] = '\0';
257 return cp;
1068 char * cp;
1071 cp = (char *) NULL;
1076 if(!(cp = malloc(i + 1))) {
1082 QadrtConvertA2E(cp, attr, i, i);
1083 cp[i] = '\0';
1086 result = ldap_get_values_len(ld, entry, cp);
1087 free(cp);
1109 char * cp;
1112 cp = ldap_get_dn(ld, entry);
1114 if(!cp)
1115 return cp;
1117 i = strlen(cp);
1122 QadrtConvertE2A(cp2, cp, i, i);
1129 strcpy(cp, cp2);
1131 return cp;
1141 char * cp;
1144 cp = ldap_first_attribute(ld, entry, berptr);
1146 if(!cp)
1147 return cp;
1149 i = strlen(cp);
1154 QadrtConvertE2A(cp2, cp, i, i);
1161 strcpy(cp, cp2);
1163 return cp;
1173 char * cp;
1176 cp = ldap_next_attribute(ld, entry, berptr);
1178 if(!cp)
1179 return cp;
1181 i = strlen(cp);
1186 QadrtConvertE2A(cp2, cp, i, i);
1193 strcpy(cp, cp2);
1195 return cp;