Lines Matching defs:src
69 \param src string to examine
72 const char *src
74 if(!src){
80 while(*src){ printf("%d %d %x\n",(int) srclen,*src,*src); srclen++; src++; }
86 \param src string to examine
89 const uint16_t *src
91 if(!src){
97 while(*src){ printf("%d %d %x\n",(int) srclen,*src,*src); srclen++; src++; }
105 const uint32_t *src
107 if(!src){
113 while(*src){ printf("%d %d %x\n",(int) srclen,*src,*src); srclen++; src++; }
119 \param src string to examine
122 const wchar_t *src
125 if(!src){
131 if(!src)return;
132 while(*src){
133 val = *src; // because *src is wchar_t is not strictly an integer type, can cause warnings on next line
136 src++;
148 \param src string to examine
151 const uint16_t *src
154 if(src){
155 while(*src){ srclen++; src++; }
162 \param src string to examine
165 const uint32_t *src
168 if(src){
169 while(*src){ srclen++; src++; }
177 \param src source
182 const uint16_t *src,
185 if(src){
186 for(;nchars;nchars--,dst++,src++){
187 *dst = *src;
188 if(!*src)break;
196 \param src source
202 const uint16_t *src,
205 if(src){
206 for(;*src && nchars;nchars--,dst++,src++){ *dst = *src; }
220 \param src wchar_t string to convert
225 const uint32_t *src,
230 char *src2 = (char *) src;
233 if(!src)return(NULL);
235 else { srclen = 4 + 4*wchar32len(src); } //include terminator, length in BYTES
263 \param src UTF16LE string to convert
268 const uint16_t *src,
273 char *src2 = (char *) src;
276 if(!src)return(NULL);
278 else { srclen = 2*wchar16len(src)+2; } // include terminator, length in BYTES
305 \param src Latin1 string to convert
316 const char *src,
321 char *src2 = (char *) src;
324 if(!src)return(NULL);
326 else { srclen = strlen(src)+1; } // include terminator, length in BYTES
353 \param src UTF8 string to convert
358 const char *src,
363 char *src2 = (char *) src;
366 if(!src)return(NULL);
368 else { srclen = strlen(src)+1; } // include terminator, length in BYTES
395 \param src wchar_t string to convert
400 const uint32_t *src,
405 char *src2 = (char *) src;
408 if(!src)return(NULL);
410 else { srclen = 4*(1 + wchar32len(src)); } //include terminator, length in BYTES
437 \param src UTF8 string to convert
442 const char *src,
447 char *src2 = (char *) src;
450 if(!src)return(NULL);
452 else { srclen = strlen(src)+1; } // include terminator, length in BYTES
479 \param src UTF16LE string to convert
484 const uint16_t *src,
489 char *src2 = (char *) src;
492 if(!src)return(NULL);
494 else { srclen = 2*(1 +wchar16len(src)); } //include terminator, length in BYTES
525 \param src UTF16LE string to convert
530 const uint16_t *src,
535 char *src2 = (char *) src;
538 if(!src)return(NULL);
540 else { srclen = 2*(1 +wchar16len(src)); } //include terminator, length in BYTES
573 \param src 16 bit character
576 uint16_t U_Utf16le(const uint16_t src){
577 uint16_t dst=src;
587 \param src Latin1 string to convert
596 const char *src,
601 char *src2 = (char *) src;
604 else { srclen = strlen(src)+1; } // include terminator, length in BYTES
631 \param src Latin1 string to convert
640 const char *src,
645 char *src2 = (char *) src;
648 else { srclen = strlen(src)+1; } // include terminator, will waste some space
678 \return number of substitutions, or -1 if src is not defined
679 \param src UTF16LE string to edit
685 uint16_t *src,
690 if(!src)return(-1);
691 while(*src){
692 if(*src == find){ *src = replace; count++; }
693 src++;