Searched defs:cp (Results 276 - 300 of 505) sorted by relevance

<<11121314151617181920>>

/external/e2fsprogs/lib/uuid/
H A Dgen_uuid.c177 unsigned char *cp = (unsigned char *) buf; local
182 i = read(fd, cp, n);
189 cp += i;
198 for (cp = buf, i = 0; i < nbytes; i++)
199 *cp++ ^= (rand() >> 7) & 0xFF;
203 for (cp = buf, i = 0; i < nbytes; i++)
204 *cp++ ^= (jrand48(tmp_seed) >> 7) & 0xFF;
/external/e2fsprogs/misc/
H A De2image.c300 char *cp = buf; local
304 if (*cp++)
346 char *p, *end, *cp; local
385 cp = p+8;
388 memset(cp+dirent->name_len, 0, len);
389 if (dirent->name_len==1 && cp[0] == '.')
391 if (dirent->name_len==2 && cp[0] == '.' && cp[1] == '.')
394 memset(cp, 'A', dirent->name_len);
398 *cp
[all...]
/external/elfutils/libdw/
H A Ddwarf_getsrclines.c308 char *cp = new_file->info.name; local
316 cp = stpcpy (cp, dirarray[diridx]->dir);
318 *cp++ = '/';
319 strcpy (cp, fname);
463 char *cp = new_file->info.name; local
471 cp = stpcpy (cp, dirarray[diridx]->dir);
472 *cp++ = '/';
473 strcpy (cp, fnam
[all...]
/external/elfutils/src/
H A Dsize.c365 char *cp = new_prefix; local
370 cp = mempcpy (cp, prefix, prefix_len);
371 *cp++ = ':';
373 memcpy (cp, fname, fname_len);
665 char *cp = fullname; local
670 cp = mempcpy (cp, prefix, prefix_len);
671 *cp++ = ':';
673 memcpy (cp, fnam
[all...]
/external/fdlibm/
H A De_pow.c93 cp = 9.61796693925975554329e-01, /* 0x3FEEC709, 0xDC3A03FD =2/(3ln2) */ variable
94 cp_h = 9.61796700954437255859e-01, /* 0x3FEEC709, 0xE0000000 =(float)cp */
250 z_l = cp_l*p_h+p_l*cp+dp_l[k];
/external/icu4c/test/cintltst/
H A Dutf8tst.c919 static const UChar32 cp[]={ local
926 k=0; /* index into cp[] */
941 if(cu!=cp[k]) {
942 log_err("U8_NEXT_UNSAFE(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cu, (long)cp[k]);
978 if(cu!=cp[k]) {
979 log_err("U8_PREV_UNSAFE(b[%ld])=U+%04lX != U+%04lX\n", (long)i, (long)cu, (long)cp[k]);
/external/icu4c/tools/toolutil/
H A Ducbuf.c53 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, UErrorCode* error){ argument
64 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error);
72 if(*cp==NULL){
78 *conv = ucnv_open(*cp,error);
97 static UBool ucbuf_isCPKnown(const char* cp){ argument
98 if(ucnv_compareNames("UTF-8",cp)==0){
101 if(ucnv_compareNames("UTF-16BE",cp)==0){
104 if(ucnv_compareNames("UTF-16LE",cp)==0){
107 if(ucnv_compareNames("UTF-16",cp)==0){
110 if(ucnv_compareNames("UTF-32",cp)
132 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,UErrorCode* error) argument
449 ucbuf_open(const char* fileName,const char** cp,UBool showWarning, UBool buffered, UErrorCode* error) argument
[all...]
/external/javassist/src/main/javassist/
H A DClassPool.java209 * <ul><code>ClassPool cp = new ClassPool();
210 * cp.appendSystemPath();
872 public ClassPath insertClassPath(ClassPath cp) { argument
873 return source.insertClassPath(cp);
885 public ClassPath appendClassPath(ClassPath cp) { argument
886 return source.appendClassPath(cp);
930 public void removeClassPath(ClassPath cp) { argument
931 source.removeClassPath(cp);
H A DCtBehavior.java46 ConstPool cp = declaring.getClassFile2().getConstPool();
66 methodInfo = new MethodInfo(cp, srcInfo.getName(), srcInfo, map);
427 ConstPool cp = destInfo.getConstPool();
428 CodeAttribute ca = (CodeAttribute)cattr.copy(cp, map);
546 ConstPool cp = methodInfo.getConstPool();
554 va = new LocalVariableAttribute(cp);
561 cp.addUtf8Info(name), cp.addUtf8Info(desc), maxLocals);
646 ConstPool cp = methodInfo.getConstPool();
647 converter.doit(getDeclaringClass(), methodInfo, cp);
826 insertAfterAdvice(Bytecode code, Javac jv, String src, ConstPool cp, CtClass rtype, int varNo) argument
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DAnnotationsAttribute.java87 * ConstPool cp = cf.getConstPool();
89 * = new AnnotationsAttribute(cp, AnnotationsAttribute.visibleTag);
90 * Annotation a = new Annotation("Author", cp);
91 * a.addMemberValue("name", new StringMemberValue("Chiba", cp));
117 * @param cp constant pool
124 public AnnotationsAttribute(ConstPool cp, String attrname, byte[] info) { argument
125 super(cp, attrname, info);
134 * @param cp constant pool
139 public AnnotationsAttribute(ConstPool cp, String attrname) { argument
140 this(cp, attrnam
146 AnnotationsAttribute(ConstPool cp, int n, DataInputStream in) argument
421 Renamer(byte[] info, ConstPool cp, Map map) argument
576 Parser(byte[] info, ConstPool cp) argument
[all...]
H A DCodeAttribute.java51 * @param cp constant pool table
57 public CodeAttribute(ConstPool cp, int stack, int locals, byte[] code, argument
60 super(cp, tag);
72 * @param cp constant pool table.
77 private CodeAttribute(ConstPool cp, CodeAttribute src, Map classnames) argument
80 super(cp, tag);
84 exceptions = src.getExceptionTable().copy(cp, classnames);
90 attributes.add(ai.copy(cp, classnames));
93 info = src.copyCode(cp, classnames, exceptions, this);
96 CodeAttribute(ConstPool cp, in argument
[all...]
H A DStackMap.java53 StackMap(ConstPool cp, byte[] newInfo) { argument
54 super(cp, tag, newInfo);
57 StackMap(ConstPool cp, int name_id, DataInputStream in) argument
60 super(cp, name_id, in);
521 public StackMap toStackMap(ConstPool cp) { argument
522 return new StackMap(cp, output.toByteArray());
/external/javassist/src/main/javassist/bytecode/stackmap/
H A DTracer.java39 public Tracer(ClassPool classes, ConstPool cp, int maxStack, int maxLocals, argument
42 cpool = cp;
/external/jhead/
H A Djpgfile.c200 int cp, ep, size; local
202 cp = ftell(infile);
205 fseek(infile, cp, SEEK_SET);
207 size = ep-cp;
/external/libppp/src/
H A Dchap.c491 char *cp; local
497 cp = chap->challenge.local;
502 *cp++ = 16;
504 *cp++ = (random() % 10) + '0';
510 *cp++ = 8; /* MS does 8 byte callenges :-/ */
512 *cp++ = 16; /* MS-CHAP-V2 does 16 bytes challenges */
515 *cp++ = random() % (CHAPCHALLENGELEN-16) + 16;
517 *cp++ = random() & 0xff;
519 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len);
H A Dipv6cp.c139 char *cp; local
158 cp = (char *)(sdl->sdl_data + sdl->sdl_nlen);
159 ifid[0] = cp[0];
161 ifid[1] = cp[1];
162 ifid[2] = cp[2];
165 ifid[5] = cp[3];
166 ifid[6] = cp[4];
167 ifid[7] = cp[5];
682 ipv6cp_DecodeConfig(struct fsm *fp, u_char *cp, u_char *end, int mode_type, argument
694 while (end - cp >
[all...]
H A Dlcp.c659 LcpDecodeConfig(struct fsm *fp, u_char *cp, u_char *end, int mode_type, argument
677 while (end - cp >= (int)sizeof(opt->hdr)) {
678 if ((opt = fsm_readopt(&cp)) == NULL)
/external/mksh/src/
H A Dshf.c762 char c, *cp; local
909 cp = numbuf + sizeof(numbuf);
918 *--cp = '\0';
932 *--cp = lnum % 10 + '0';
938 *--cp = '-';
940 *--cp = '+';
942 *--cp = ' ';
948 *--cp = (lnum & 0x7) + '0';
952 if ((flags & FL_HASH) && *cp != '0')
953 *--cp
[all...]
H A Dtree.c745 char *cp, *buf; local
750 cp = buf;
752 if (UTFMODE && (n = utf_mbtowc(&c, cp)) != (size_t)-1) {
759 *dst++ = *cp++;
762 if (--sz == 0 || (c = (unsigned char)(*cp++)) == 0)
/external/openssh/
H A Dauthfile.c89 u_char buf[100], *cp; local
148 cp = buffer_append_space(&encrypted, buffer_len(&buffer));
152 cipher_crypt(&ciphercontext, cp,
422 u_char *cp; local
471 cp = buffer_append_space(&decrypted, buffer_len(&copy));
476 cipher_crypt(&ciphercontext, cp,
758 char *cp; local
765 cp = line;
766 switch (*cp) {
773 if (strncmp(cp, "
897 char *cp; local
[all...]
H A Dkex.c69 char *s, *cp, *p; local
73 s = cp = xstrdup(names);
74 for ((p = strsep(&cp, ",")); p && *p != '\0';
75 (p = strsep(&cp, ","))) {
H A Dmoduli.c452 char *cp, *lp; local
486 cp = &lp[14]; /* (skip) */
489 in_type = strtoul(cp, &cp, 10);
492 in_tests = strtoul(cp, &cp, 10);
500 in_tries = strtoul(cp, &cp, 10);
503 in_size = strtoul(cp, &cp, 1
[all...]
/external/openssh/openbsd-compat/
H A Dport-aix.c78 char *cp; local
81 cp = xmalloc(len);
83 i = snprintf(cp, len, "LOGNAME=%s%cNAME=%s%c", pw->pw_name, '\0',
85 if (usrinfo(SETUINFO, cp, i) == -1)
89 xfree(cp);
436 char *cp, *grplist, *grp; local
443 if ((cp = grplist = getgrset(user)) == NULL)
468 free(cp);
/external/openssl/crypto/conf/
H A Dconf_def.c506 char *s,*e,*rp,*p,*rrp,*np,*cp,v; local
577 cp=section;
583 cp=np;
607 * cp which is the start of the section string which is
613 p=_CONF_get_string(conf,cp,np);
/external/openssl/ssl/
H A Ds3_lib.c3779 const SSL_CIPHER *cp; local
3784 cp = OBJ_bsearch_ssl_cipher_id(&c, ssl3_ciphers, SSL3_NUM_CIPHERS);
3786 if (cp == NULL) fprintf(stderr, "Unknown cipher ID %x\n", (p[0] << 8) | p[1]);
3788 if (cp == NULL || cp->valid == 0)
3791 return cp;

Completed in 477 milliseconds

<<11121314151617181920>>