Lines Matching defs:source
59 " If you edit this file, please make sure that, the source\n"
107 uCharsToChars(char *target, int32_t targetLen, const UChar *source, int32_t sourceLen, UErrorCode *status) {
111 if (source[i] == '\n') {
116 }else if(source[i]==0x0D){
121 }else if(source[i] == '"'){
122 if(source[i-1]=='\''){
125 target[j+1]= (char)source[i];
128 }else if(source[i-1]!='\\'){
132 target[j+1]= (char)source[i];
135 }else if(source[i-1]=='\\'){
136 target[j++]= (char)source[i];
138 }else if(source[i]=='\\'){
140 switch(source[i+1]){
164 target[j]=(char)source[i];
175 }else if(source[i]>=0x20 && source[i]<0x7F/*ASCII*/){
177 target[j] = (char) source[i];
181 if(*enc =='\0' || source[i]==0x0000){
183 itostr(str+2,source[i],16,4);
190 int retVal=ucnv_fromUChars(conv,dest,30,source+i,1,status);
207 strrch(const char* source,uint32_t sourceLen,char find){
208 const char* tSourceEnd =source + (sourceLen-1);
209 while(tSourceEnd>= source){
211 return (uint32_t)(tSourceEnd-source);
215 return (uint32_t)(tSourceEnd-source);