Lines Matching refs:source
4 // Redistribution and use in source and binary forms, with or without
8 // * Redistributions of source code must retain the above copyright
42 void DoAppendStringOfType(const CHAR* source, int length,
46 if (static_cast<UCHAR>(source[i]) >= 0x80) {
50 ReadUTFChar(source, &i, length, &code_point);
54 unsigned char uch = static_cast<unsigned char>(source[i]);
86 // what the various combionations of source pointer and component mean.
260 void AppendStringOfType(const char* source, int length,
263 DoAppendStringOfType<char, unsigned char>(source, length, type, output);
266 void AppendStringOfType(const char16* source, int length,
269 DoAppendStringOfType<char16, char16>(source, length, type, output);
306 URLComponentSource<char>* source,
308 // Get the source and parsed structures of the things we are replacing.
313 &source->scheme, &parsed->scheme);
315 &source->username, &parsed->username);
317 &source->password, &parsed->password);
321 &source->host, &parsed->host);
326 &source->port, &parsed->port);
328 &source->path, &parsed->path);
330 &source->query, &parsed->query);
332 &source->ref, &parsed->ref);
338 URLComponentSource<char>* source,
342 // Get the source and parsed structures of the things we are replacing.
374 if (repl_source.scheme) source->scheme = utf8_buffer->data();
375 if (repl_source.username) source->username = utf8_buffer->data();
376 if (repl_source.password) source->password = utf8_buffer->data();
377 if (repl_source.host) source->host = utf8_buffer->data();
378 if (repl_source.port) source->port = utf8_buffer->data();
379 if (repl_source.path) source->path = utf8_buffer->data();
380 if (repl_source.query) source->query = utf8_buffer->data();
381 if (repl_source.ref) source->ref = utf8_buffer->data();