Searched refs:cd (Results 1 - 25 of 47) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/cdrom/
H A Dcm206.c28 2 mrt 1995: 0.22 Bug found (cd-> nowhere, interrupt was called in
88 in (interruptible_)sleep_on(&cd->data): the process
243 #define stats(i) { ++cd->stats[st_ ## i]; \
244 cd->last_stat[st_ ## i] = cd->stat_counter++; \
274 ush sector[READ_AHEAD * RAW_SECTOR_SIZE / 2]; /* buffered cd-sector */
298 #define DISC_STATUS cd->disc_status[0]
299 #define FIRST_TRACK cd->disc_status[1]
300 #define LAST_TRACK cd->disc_status[2]
301 #define PAUSED cd
304 static struct cm206_struct *cd; /* the main memory structure */ variable in typeref:struct:cm206_struct
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/lib/
H A Dloop_unicode.h25 static int unicode_transliterate (conv_t cd, ucs4_t wc, argument
28 if (cd->oflags & HAVE_HANGUL_JAMO) {
33 int ret = johab_hangul_decompose(cd,buf,wc);
36 state_t backup_state = cd->ostate;
45 sub_outcount = cd->ofuncs.xxx_wctomb(cd,outptr,buf[i],outleft);
53 cd->ostate = backup_state;
80 state_t backup_state = cd->ostate;
89 sub_outcount = cd->ofuncs.xxx_wctomb(cd,outpt
159 conv_t cd = (conv_t) icd; local
255 conv_t cd = (conv_t) icd; local
[all...]
H A Diconv.c201 struct conv_struct * cd; local
358 cd = (struct conv_struct *) malloc(from_wchar != to_wchar
361 if (cd == NULL) {
365 cd->iindex = from_index;
366 cd->ifuncs = all_encodings[from_index].ifuncs;
367 cd->oindex = to_index;
368 cd->ofuncs = all_encodings[to_index].ofuncs;
369 cd->oflags = all_encodings[to_index].oflags;
375 cd->lfuncs.loop_convert = wchar_id_loop_convert;
376 cd
419 conv_t cd = (conv_t) icd; local
430 conv_t cd = (conv_t) icd; local
439 conv_t cd = (conv_t) icd; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/extras/
H A Diconv_string.c17 iconv_t cd = iconv_open(tocode,fromcode); local
20 if (cd == (iconv_t)(-1)) {
77 size_t res = iconv(cd,&inptr,&insize,&outptr,&outsize);
83 iconv_close(cd);
93 size_t res = iconv(cd,NULL,NULL,&outptr,&outsize);
96 iconv_close(cd);
107 iconv_close(cd);
113 iconv_close(cd);
117 iconv_close(cd);
121 iconv(cd,NUL
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/tests/
H A Dtable-to.c33 iconv_t cd; local
42 cd = iconv_open(charset,"UCS-4-INTERNAL");
43 if (cd == (iconv_t)(-1)) {
63 iconv(cd,NULL,NULL,NULL,NULL);
64 result = iconv(cd,(ICONV_CONST char**)&inbuf,&inbytesleft,&outbuf,&outbytesleft);
66 result2 = iconv(cd,NULL,NULL,&outbuf,&outbytesleft);
90 if (iconv_close(cd) < 0) {
H A Dtable-from.c46 static int try (iconv_t cd, unsigned char buf[], unsigned int buflen, unsigned int* out) argument
53 iconv(cd,NULL,NULL,NULL,NULL);
54 result = iconv(cd,(ICONV_CONST char**)&inbuf,&inbytesleft,&outbuf,&outbytesleft);
56 result = iconv(cd,NULL,NULL,&outbuf,&outbytesleft);
100 iconv_t cd; local
109 cd = iconv_open("UCS-4-INTERNAL",charset);
110 if (cd == (iconv_t)(-1)) {
127 result = try(cd,buf,1,out);
136 result = try(cd,buf,2,out);
145 result = try(cd,bu
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/include/
H A Diconv.h74 /* Converts, using conversion descriptor `cd', at most `*inbytesleft' bytes
82 extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
84 /* Frees resources allocated for conversion descriptor `cd'. */
88 extern int iconv_close (iconv_t cd);
97 extern int iconvctl (iconv_t cd, int request, void* argument);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/torture/
H A Dsmbiconv.c27 process_block (smb_iconv_t cd, const char *addr, size_t len, FILE *output) argument
40 n = smb_iconv (cd, &addr, &len, &outptr, &outlen);
89 process_fd (iconv_t cd, int fd, FILE *output) argument
163 return process_block (cd, inbuf, actlen, output);
177 smb_iconv_t cd; local
216 cd = smb_iconv_open(to, from);
217 if((int)cd == -1) {
234 process_fd(cd, fd, out);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Diconv.c124 static size_t sys_iconv(void *cd, argument
129 size_t ret = iconv((iconv_t)cd,
132 if (ret == (size_t)-1) iconv(cd, NULL, NULL, NULL, NULL);
146 size_t smb_iconv(smb_iconv_t cd, argument
155 if (cd->direct) {
156 return cd->direct(cd->cd_direct,
166 if (cd->pull(cd->cd_pull,
173 if (cd
289 smb_iconv_close(smb_iconv_t cd) argument
312 ascii_pull(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
332 ascii_push(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
359 latin1_push(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
386 ucs2hex_pull(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
429 ucs2hex_push(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
471 iconv_copy(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
493 utf8_pull(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
540 utf8_push(void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/zorro/
H A Dproc.c50 struct ConfigDev cd; local
61 memset(&cd, 0, sizeof(cd));
62 cd.cd_Rom = dev->rom;
63 cd.cd_SlotAddr = dev->slotaddr;
64 cd.cd_SlotSize = dev->slotsize;
65 cd.cd_BoardAddr = (void *)dev->resource.start;
66 cd.cd_BoardSize = dev->resource.end-dev->resource.start+1;
68 if (copy_to_user(buf, &cd, nbytes))
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/e2fsck/
H A Dpass2.c96 struct check_dir_struct cd; local
108 clear_problem_context(&cd.pctx);
115 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx);
120 cd.pctx.errcode = 0;
122 cd.pctx.errcode = ext2fs_create_icount2(fs,
126 if (cd.pctx.errcode) {
127 fix_problem(ctx, PR_2_ALLOCATE_ICOUNT, &cd.pctx);
141 cd.buf = buf;
142 cd.ctx = ctx;
143 cd
524 parse_int_node(ext2_filsys fs, struct ext2_db_entry *db, struct check_dir_struct *cd, struct dx_dir_info *dx_dir, char *block_buf) argument
715 struct check_dir_struct *cd; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/tests/
H A Dln_tests.mk28 cd ln_tests; \
38 cd ln_tests; \
51 cd ln_tests; \
61 cd ln_tests; \
H A Dmv_tests.mk29 cd mv_tests; \
40 cd mv_tests; \
54 cd mv_tests; \
66 cd mv_tests; \
81 cd mv_tests; \
94 cd mv_tests; \
110 cd mv_tests; \
126 cd mv_tests; \
146 cd mv_tests; \
155 cd mv_test
[all...]
H A Dcp_tests.mk40 cd cp_tests; \
50 cd cp_tests; \
66 cd cp_tests; \
69 cd here; \
73 cd cp_tests; \
84 cd cp_tests; \
99 cd cp_tests; \
102 cd here; \
105 cd cp_tests; \
116 cd cp_test
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libiconv-1.8/src/
H A Diconv.c114 static int convert (iconv_t cd, FILE* infile, const char* infilename) argument
125 iconv(cd,NULL,NULL,NULL,NULL);
143 size_t res = iconv(cd,(ICONV_CONST char**)&inptr,&insize,&outptr,&outsize);
154 iconvctl(cd,ICONV_SET_DISCARD_ILSEQ,&one);
194 size_t res = iconv(cd,NULL,NULL,&outptr,&outsize);
205 iconvctl(cd,ICONV_SET_DISCARD_ILSEQ,&one);
240 iconv_t cd; local
317 cd = iconv_open(tocode,fromcode);
318 if (cd == (iconv_t)(-1)) {
328 status = convert(cd,stdi
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dcharset.h60 static size_t CHARSETNAME ## _push(void *cd, char **inbuf, size_t *inbytesleft, \
100 static size_t CHARSETNAME ## _pull(void *cd, char **inbuf, size_t *inbytesleft, \
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bluetooth/bnep/
H A Dsock.c108 struct bnep_condel_req cd; local
143 if (copy_from_user(&cd, (void *) arg, sizeof(cd)))
146 return bnep_del_connection(&cd);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/modules/
H A Dcharset_macosxfs.c205 void *cd, /* Encoder handle */
214 (void) cd; /* UNUSED */
327 void *cd, /* Encoder handle */
337 (void) cd; /* UNUSED */
433 void *cd, /* Encoder handle */
444 (void) cd; /* UNUSED */
521 void *cd, /* Encoder handle */
530 (void) cd; /* UNUSED */
204 macosxfs_encoding_pull( void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
326 macosxfs_encoding_push( void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
432 macosxfs_encoding_pull( void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
520 macosxfs_encoding_push( void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) argument
H A Dweird.c34 static size_t weird_pull(void *cd, char **inbuf, size_t *inbytesleft, argument
77 static size_t weird_push(void *cd, char **inbuf, size_t *inbytesleft, argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfsd/
H A Dnfsxdr.c395 nfssvc_encode_entry(struct readdir_cd *cd, const char *name, argument
398 u32 *p = cd->buffer;
408 if (cd->offset)
409 *cd->offset = htonl(offset);
414 if ((buflen = cd->buflen - slen - 4) < 0) {
415 cd->eob = 1;
421 cd->offset = p; /* remember pointer */
424 cd->buflen = buflen;
425 cd->buffer = p;
H A Dnfs3xdr.c665 encode_entry(struct readdir_cd *cd, const char *name, argument
668 u32 *p = cd->buffer;
671 if (cd->offset)
672 xdr_encode_hyper(cd->offset, (u64) offset);
691 if ((buflen = cd->buflen - elen) < 0) {
692 cd->eob = 1;
699 cd->offset = p; /* remember pointer */
708 dparent = cd->dirfh->fh_dentry;
709 exp = cd->dirfh->fh_export;
721 if (fh_compose(&fh, exp, dchild, cd
741 nfs3svc_encode_entry(struct readdir_cd *cd, const char *name, int namlen, loff_t offset, ino_t ino, unsigned int d_type) argument
748 nfs3svc_encode_entry_plus(struct readdir_cd *cd, const char *name, int namlen, loff_t offset, ino_t ino, unsigned int d_type) argument
[all...]
H A Dvfs.c1389 struct readdir_cd cd; local
1400 memset(&cd, 0, sizeof(cd));
1401 cd.rqstp = rqstp;
1402 cd.buffer = buffer;
1403 cd.buflen = *countp; /* count of words */
1404 cd.dirfh = fhp;
1413 oldlen = cd.buflen;
1415 err = vfs_readdir(&file, (filldir_t) func, &cd);
1420 } while (oldlen != cd
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Dmacserial.c629 volatile struct dbdma_cmd *cd; local
636 cd = info->rx_cmds[info->rx_cbuf] + 2;
637 if ((in_le16(&cd->xfer_status) & (RUN | ACTIVE)) != (RUN | ACTIVE)) {
778 volatile struct dbdma_cmd *cd = info->rx_cmds[current]; local
782 st_le32(&rd->cmdptr, virt_to_bus(cd));
832 volatile struct dbdma_cmd *cd = info->rx_cmds[info->rx_ubuf]; local
837 st_le16(&cd->command, DBDMA_NOP);
838 cd++;
839 st_le32(&cd->cmd_dep, 0);
840 st_le32((unsigned int *)&cd
879 volatile struct dbdma_cmd *cd; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/
H A Djfs_txnmgr.c157 struct tlock * tlck, struct commit * cd);
166 void txAbortCommit(struct commit * cd, int exval);
170 static int txLog(struct jfs_log * log, struct tblock * tblk, struct commit * cd);
1078 struct commit cd; local
1096 sb = cd.sb = iplist[0]->i_sb;
1097 cd.tid = tid;
1107 cd.log = log;
1110 lrd = &cd.lrd;
1126 cd.iplist = iplist;
1127 cd
1291 txLog(struct jfs_log * log, struct tblock * tblk, struct commit * cd) argument
1354 diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, struct tlock * tlck, struct commit * cd) argument
2653 txAbortCommit(struct commit * cd, int exval) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/
H A Decard.h107 unsigned char cd:1; /* Chunk dir present */ member in struct:in_ecid
189 * cd : where to put read data
194 extern int ecard_readchunk (struct in_chunk_dir *cd, struct expansion_card *ec, int id, int num);

Completed in 309 milliseconds

12