Lines Matching defs:in
46 FileStream* in;
53 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, UErrorCode* error){
62 numRead=T_FileStream_read(in, start, sizeof(start));
67 T_FileStream_rewind(in);
69 T_FileStream_read(in, start, *signatureLength);
133 FileStream* in=NULL;
142 in= T_FileStream_open(fileName,"rb");
144 if(in == NULL){
149 if(ucbuf_autodetect_fs(in,cp,conv,signatureLength,error)) {
150 return in;
154 T_FileStream_close(in);
185 inputRead=T_FileStream_read(buf->in,cbuf,cbufSize-offset);
189 cbufSize = T_FileStream_size(buf->in);
195 inputRead= T_FileStream_read(buf->in,cbuf,cbufSize);
216 /* since state is saved in the converter we add offset to source*/
385 /* Get the next character in the buffer */
399 /* Determine the amount of data in the buffer */
438 * in resouce bundles
450 FileStream* in = NULL;
461 in = T_FileStream_stdin();
463 in = T_FileStream_open(fileName, "rb");
466 if(in!=NULL){
468 fileSize = T_FileStream_size(in);
471 T_FileStream_close(in);
474 buf->in=in;
481 ucbuf_autodetect_fs(in,cp,&buf->conv,&buf->signatureLength,error);
484 ucbuf_autodetect_fs(in,&knownCp,&buf->conv,&buf->signatureLength,error);
492 T_FileStream_close(in);
566 T_FileStream_close(buf->in);
581 T_FileStream_rewind(buf->in);
582 buf->remaining=T_FileStream_size(buf->in)-buf->signatureLength;
593 numRead=T_FileStream_read(buf->in, start, buf->signatureLength);
616 return (T_FileStream_size(buf->in)-buf->signatureLength)/ucnv_getMinCharSize(buf->conv);
664 * append the input dir to openFileName if the first char in
672 * genrb -s. icu/data --- start from CWD and look in icu/data dir
695 * a new line char in a readline function in addition