/third_party/curl/lib/ |
H A D | mime.c | 11 * you should have received as part of this distribution. The terms 67 curl_mimepart *part); 68 static curl_off_t encoder_nop_size(curl_mimepart *part); 70 curl_mimepart *part); 72 curl_mimepart *part); 73 static curl_off_t encoder_base64_size(curl_mimepart *part); 75 curl_mimepart *part); 76 static curl_off_t encoder_qp_size(curl_mimepart *part); 382 struct curl_mimepart *part) in encoder_nop_read() 384 struct mime_encoder_state *st = &part in encoder_nop_read() 381 encoder_nop_read(char *buffer, size_t size, bool ateof, struct curl_mimepart *part) encoder_nop_read() argument 402 encoder_nop_size(curl_mimepart *part) encoder_nop_size() argument 409 encoder_7bit_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_7bit_read() argument 435 encoder_base64_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_base64_read() argument 514 encoder_base64_size(curl_mimepart *part) encoder_base64_size() argument 548 encoder_qp_read(char *buffer, size_t size, bool ateof, curl_mimepart *part) encoder_qp_read() argument 649 encoder_qp_size(curl_mimepart *part) encoder_qp_size() argument 662 curl_mimepart *part = (curl_mimepart *) instream; mime_mem_read() local 680 curl_mimepart *part = (curl_mimepart *) instream; mime_mem_seek() local 706 mime_open_file(curl_mimepart *part) mime_open_file() argument 719 curl_mimepart *part = (curl_mimepart *) instream; mime_file_read() local 732 curl_mimepart *part = (curl_mimepart *) instream; mime_file_seek() local 746 curl_mimepart *part = (curl_mimepart *) ptr; mime_file_free() local 789 read_part_content(curl_mimepart *part, char *buffer, size_t bufsize, bool *hasread) read_part_content() argument 854 read_encoded_part_content(curl_mimepart *part, char *buffer, size_t bufsize, bool *hasread) read_encoded_part_content() argument 914 readback_part(curl_mimepart *part, char *buffer, size_t bufsize, bool *hasread) readback_part() argument 1007 curl_mimepart *part = mime->state.ptr; mime_subparts_read() local 1066 mime_part_rewind(curl_mimepart *part) mime_part_rewind() argument 1103 curl_mimepart *part; mime_subparts_seek() local 1125 cleanup_part_content(curl_mimepart *part) cleanup_part_content() argument 1168 Curl_mime_cleanpart(curl_mimepart *part) Curl_mime_cleanpart() argument 1185 curl_mimepart *part; curl_mime_free() local 1307 Curl_mime_initpart(curl_mimepart *part) Curl_mime_initpart() argument 1317 curl_mimepart *part; curl_mime_addpart() local 1340 curl_mime_name(curl_mimepart *part, const char *name) curl_mime_name() argument 1357 curl_mime_filename(curl_mimepart *part, const char *filename) curl_mime_filename() argument 1374 curl_mime_data(curl_mimepart *part, const char *ptr, size_t datasize) curl_mime_data() argument 1402 curl_mime_filedata(curl_mimepart *part, const char *filename) curl_mime_filedata() argument 1451 curl_mime_type(curl_mimepart *part, const char *mimetype) curl_mime_type() argument 1468 curl_mime_encoder(curl_mimepart *part, const char *encoding) curl_mime_encoder() argument 1491 curl_mime_headers(curl_mimepart *part, struct curl_slist *headers, int take_ownership) curl_mime_headers() argument 1509 curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize, curl_read_callback readfunc, curl_seek_callback seekfunc, curl_free_callback freefunc, void *arg) curl_mime_data_cb() argument 1532 Curl_mime_set_subparts(curl_mimepart *part, curl_mime *subparts, int take_ownership) Curl_mime_set_subparts() argument 1574 curl_mime_subparts(curl_mimepart *part, curl_mime *subparts) curl_mime_subparts() argument 1584 curl_mimepart *part = (curl_mimepart *) instream; Curl_mime_read() local 1605 Curl_mime_rewind(curl_mimepart *part) Curl_mime_rewind() argument 1628 curl_mimepart *part; multipart_size() local 1650 Curl_mime_size(curl_mimepart *part) Curl_mime_size() argument 1757 Curl_mime_prepare_headers(struct Curl_easy *data, curl_mimepart *part, const char *contenttype, const char *disposition, enum mimestrategy strategy) Curl_mime_prepare_headers() argument 1899 Curl_mime_unpause(curl_mimepart *part) Curl_mime_unpause() argument 1939 curl_mime_name(curl_mimepart *part, const char *name) curl_mime_name() argument 1946 curl_mime_filename(curl_mimepart *part, const char *filename) curl_mime_filename() argument 1953 curl_mime_type(curl_mimepart *part, const char *mimetype) curl_mime_type() argument 1960 curl_mime_encoder(curl_mimepart *part, const char *encoding) curl_mime_encoder() argument 1967 curl_mime_data(curl_mimepart *part, const char *data, size_t datasize) curl_mime_data() argument 1976 curl_mime_filedata(curl_mimepart *part, const char *filename) curl_mime_filedata() argument 1983 curl_mime_data_cb(curl_mimepart *part, curl_off_t datasize, curl_read_callback readfunc, curl_seek_callback seekfunc, curl_free_callback freefunc, void *arg) curl_mime_data_cb() argument 1999 curl_mime_subparts(curl_mimepart *part, curl_mime *subparts) curl_mime_subparts() argument 2006 curl_mime_headers(curl_mimepart *part, struct curl_slist *headers, int take_ownership) curl_mime_headers() argument [all...] |
H A D | mime.h | 13 * you should have received as part of this distribution. The terms 63 MIMESTATE_END, /* End of part reached. */ 78 curl_mimepart *part); /* Encoded read. */ 79 curl_off_t (*sizefunc)(curl_mimepart *part); /* Encoded size. */ 102 curl_mimepart *parent; /* Parent part. */ 103 curl_mimepart *firstpart; /* First part. */ 104 curl_mimepart *lastpart; /* Last part. */ 105 char boundary[MIME_BOUNDARY_LEN + 1]; /* The part boundary. */ 109 /* A mime part. */ 113 enum mimekind kind; /* The part kin [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib643.c | 11 * you should have received as part of this distribution. The terms 65 curl_mimepart *part = NULL; in once() local 91 part = curl_mime_addpart(mime); in once() 92 if(!part) { in once() 100 /* Fill in the file upload part */ in once() 102 res = curl_mime_name(part, "sendfile"); in once() 104 res = curl_mime_data_cb(part, datasize, read_callback, in once() 107 res = curl_mime_filename(part, "postit2.c"); in once() 111 res = curl_mime_name(part, "sendfile alternative"); in once() 113 res = curl_mime_data_cb(part, datasiz in once() 230 curl_mimepart *part = curl_mime_addpart(mime); cyclic_add() local [all...] |
H A D | lib668.c | 11 * you should have received as part of this distribution. The terms 55 curl_mimepart *part; in test() local 61 * Check early end of part data detection. in test() 87 part = curl_mime_addpart(mime); in test() 88 curl_mime_name(part, "field1"); in test() 90 curl_mime_data_cb(part, (curl_off_t) strlen(data), in test() 92 part = curl_mime_addpart(mime); in test() 93 curl_mime_name(part, "field2"); in test() 95 end of data detection for this part. */ in test() 96 curl_mime_data_cb(part, (curl_off_ in test() [all...] |
H A D | lib654.c | 11 * you should have received as part of this distribution. The terms 70 curl_mimepart *part; in test() local 104 part = curl_mime_addpart(mime); in test() 105 curl_mime_data(part, "hello", CURL_ZERO_TERMINATED); in test() 106 curl_mime_name(part, "greeting"); in test() 107 curl_mime_type(part, "application/X-Greeting"); in test() 108 curl_mime_encoder(part, "base64"); in test() 110 curl_mime_headers(part, hdrs, TRUE); in test() 111 part = curl_mime_addpart(mime); in test() 112 curl_mime_filedata(part, libtest_arg in test() [all...] |
H A D | lib666.c | 11 * you should have received as part of this distribution. The terms 35 curl_mimepart *part; in test() local 66 part = curl_mime_addpart(mime); in test() 67 if(!part) { in test() 72 res = curl_mime_name(part, "upfile"); in test() 77 res = curl_mime_filename(part, "myfile.txt"); in test() 82 res = curl_mime_data(part, buffer, sizeof(buffer)); in test() 87 res = curl_mime_encoder(part, "binary"); in test()
|
H A D | lib652.c | 11 * you should have received as part of this distribution. The terms 35 curl_mimepart *part; in test() local 64 part = curl_mime_addpart(mime); in test() 65 if(!part) { in test() 70 res = curl_mime_filename(part, "myfile.jpg"); in test() 75 res = curl_mime_type(part, "image/jpeg"); in test() 80 res = curl_mime_data(part, buffer, sizeof(buffer)); in test() 85 res = curl_mime_encoder(part, "base64"); in test() 107 /* send a multi-part mail */ in test()
|
/third_party/ffmpeg/libavutil/ |
H A D | log.c | 5 * This file is part of FFmpeg. 295 AVBPrint part[4], int *print_prefix, int type[2]) in format_line() 298 av_bprint_init(part+0, 0, AV_BPRINT_SIZE_AUTOMATIC); in format_line() 299 av_bprint_init(part+1, 0, AV_BPRINT_SIZE_AUTOMATIC); in format_line() 300 av_bprint_init(part+2, 0, AV_BPRINT_SIZE_AUTOMATIC); in format_line() 301 av_bprint_init(part+3, 0, 65536); in format_line() 309 av_bprintf(part+0, "[%s @ %p] ", in format_line() 314 av_bprintf(part+1, "[%s @ %p] ", in format_line() 320 av_bprintf(part+2, "[%s] ", get_level_str(level)); in format_line() 322 av_vbprintf(part in format_line() 294 format_line(void *avcl, int level, const char *fmt, va_list vl, AVBPrint part[4], int *print_prefix, int type[2]) format_line() argument 339 AVBPrint part[4]; av_log_format_line2() local 353 AVBPrint part[4]; av_log_default_callback() local [all...] |
/third_party/curl/src/ |
H A D | tool_formparse.c | 11 * you should have received as part of this distribution. The terms 179 /* Mime part callbacks for stdin. */ 244 curl_mimepart *part = NULL; in tool2curlparts() local 251 part = curl_mime_addpart(mime); in tool2curlparts() 252 if(!part) in tool2curlparts() 261 ret = curl_mime_subparts(part, submime); in tool2curlparts() 268 ret = curl_mime_data(part, m->data, CURL_ZERO_TERMINATED); in tool2curlparts() 273 ret = curl_mime_filedata(part, m->data); in tool2curlparts() 275 ret = curl_mime_filename(part, NULL); in tool2curlparts() 283 ret = curl_mime_data_cb(part, in tool2curlparts() 733 struct tool_mime *part = NULL; formparse() local [all...] |
/third_party/curl/docs/examples/ |
H A D | smtp-mime.c | 11 * you should have received as part of this distribution. The terms 83 curl_mimepart *part; in main() local 116 /* The inline part is an alternative proposing the html and the text in main() 121 part = curl_mime_addpart(alt); in main() 122 curl_mime_data(part, inline_html, CURL_ZERO_TERMINATED); in main() 123 curl_mime_type(part, "text/html"); in main() 126 part = curl_mime_addpart(alt); in main() 127 curl_mime_data(part, inline_text, CURL_ZERO_TERMINATED); in main() 129 /* Create the inline part. */ in main() 130 part in main() [all...] |
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
H A D | MiniMessageFormatter.java | 97 Part part=msg.getPart(i); in format() 98 Part.Type type=part.getType(); in format() 99 int index=part.getIndex(); in format() 105 prevIndex=part.getLimit(); in format() 108 assert type==Part.Type.ARG_START : "Unexpected Part "+part+" in parsed message."; in format() 110 ArgType argType=part.getArgType(); in format() 111 part=msg.getPart(++i); in format() 115 arg=args[part.getValue()]; // args[ARG_NUMBER] in format() 118 "No argument at index "+part.getValue()); in format() 121 arg=argsMap.get(msg.getSubstring(part)); // arg in format() [all...] |
H A D | MessagePatternDemo.java | 37 MessagePattern.Part part=msg.getPart(i); in printParts() 38 assert prevPart==null || prevPart.getLimit()<=part.getIndex(); in printParts() 39 String partString=part.toString(); in printParts() 40 MessagePattern.Part.Type type=part.getType(); in printParts() 42 indent=manySpaces.substring(0, part.getValue()*2); in printParts() 44 if(part.getLength()>0) { in printParts() 45 explanation.append("=\"").append(msg.getSubstring(part)).append('"'); in printParts() 48 explanation.append('=').append(msg.getNumericValue(part)); in printParts() 52 int nestingLevel=part.getValue(); in printParts() 59 prevPart=part; in printParts() [all...] |
/third_party/curl/tests/ |
H A D | getpart.pm | 11 # you should have received as part of this distribution. The terms 55 # Normalize the part function arguments for proper caching. This includes the 90 # if $part is undefined (ie only one argument) then 93 my ($section, $part)=@_; 98 # print "Section: $section, part: $part\n"; 105 if((1 ==$inside) && ( ($_ =~ /^ *\<$part ([^>]*)/) || 106 !(defined($part)) ) 118 # detect end of section when part wasn't found 122 elsif((2 ==$inside) && ($_ =~ /^ *\<\/$part/)) { [all...] |
/third_party/musl/porting/linux/user/src/locale/ |
H A D | setlocale.c | 35 char part[LOCALE_NAME_MAX+1] = "C.UTF-8"; in setlocale() local 40 memcpy(part, p, z-p); in setlocale() 41 part[z-p] = 0; in setlocale() 44 lm = __get_locale(i, part); in setlocale() 57 const char *part; in setlocale() local 63 part = lm ? lm->name : "C"; in setlocale() 64 size_t l = strlen(part); in setlocale() 65 memcpy(s, part, l); in setlocale() 74 return same==LC_ALL ? (char *)part : buf; in setlocale()
|
/third_party/musl/src/locale/ |
H A D | setlocale.c | 37 char part[LOCALE_NAME_MAX+1] = "C.UTF-8"; in setlocale() local 42 memcpy(part, p, z-p); in setlocale() 43 part[z-p] = 0; in setlocale() 46 lm = __get_locale(i, part); in setlocale() 61 const char *part; in setlocale() local 67 part = lm ? lm->name : "C"; in setlocale() 68 size_t l = strlen(part); in setlocale() 69 memcpy(s, part, l); in setlocale() 78 return same==LC_ALL ? (char *)part : buf; in setlocale()
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_rtld.c | 171 * Read LDS symbols from the given \p section of the ELF of \p part and append 194 struct ac_rtld_part *part = &binary->parts[part_idx]; in read_private_lds_symbols() local 217 s.name = elf_strptr(part->elf, strtabidx, symbol->st_name); in read_private_lds_symbols() 323 struct ac_rtld_part *part = &binary->parts[part_idx]; in ac_rtld_open() local 327 part->elf = elf_memory((char *)i.elf_ptrs[part_idx], i.elf_sizes[part_idx]); in ac_rtld_open() 328 report_elf_if(!part->elf); in ac_rtld_open() 330 const Elf64_Ehdr *ehdr = elf64_getehdr(part->elf); in ac_rtld_open() 336 report_elf_if(elf_getshdrstrndx(part->elf, §ion_str_index) < 0); in ac_rtld_open() 337 report_elf_if(elf_getshdrnum(part->elf, &num_shdrs) < 0); in ac_rtld_open() 339 part in ac_rtld_open() 426 struct ac_rtld_part *part = &binary->parts[part_idx]; ac_rtld_open() local 482 struct ac_rtld_part *part = &binary->parts[i]; ac_rtld_close() local 493 get_section_by_name(struct ac_rtld_part *part, const char *name, const char **data, size_t *nbytes) get_section_by_name() argument 525 struct ac_rtld_part *part = &binary->parts[i]; ac_rtld_read_config() local 587 struct ac_rtld_part *part = &u->binary->parts[part_idx]; resolve_symbol() local 623 struct ac_rtld_part *part = &u->binary->parts[part_idx]; apply_relocs() local 766 struct ac_rtld_part *part = &u->binary->parts[i]; ac_rtld_upload() local 796 struct ac_rtld_part *part = &u->binary->parts[i]; ac_rtld_upload() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | MessagePattern.java | 22 //Note: Minimize ICU dependencies, only use a very small part of the ICU core. 45 * For every _START "part", {@link #getLimitPartIndex(int)} efficiently returns 46 * the index of the corresponding _LIMIT "part". 66 * between parts of a message, from one part's getLimit() to the next part's getIndex(). 406 Part part; in autoQuoteApostropheDeep() 407 if((part=getPart(--i)).getType()==Part.Type.INSERT_CHAR) { in autoQuoteApostropheDeep() 411 modified.insert(part.index, (char)part.value); in autoQuoteApostropheDeep() 432 * Gets the i-th pattern "part" 473 getSubstring(Part part) getSubstring() argument 485 partSubstringMatches(Part part, String s) partSubstringMatches() argument 495 getNumericValue(Part part) getNumericValue() argument [all...] |
H A D | MessageFormat.java | 558 * Returns the part index of the next ARG_START after partIndex, or -1 if there is none more. 577 Part part = msgPattern.getPart(partIndex); in argNameMatches() 578 return part.getType() == MessagePattern.Part.Type.ARG_NAME ? in argNameMatches() 579 msgPattern.partSubstringMatches(part, argName) : in argNameMatches() 580 part.getValue() == argNumber; // ARG_NUMBER in argNameMatches() 584 Part part = msgPattern.getPart(partIndex); in getArgName() 585 if (part.getType() == MessagePattern.Part.Type.ARG_NAME) { in getArgName() 586 return msgPattern.getSubstring(part); in getArgName() 588 return Integer.toString(part.getValue()); in getArgName() 700 * The argument index is part o [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | MessagePattern.java | 23 //Note: Minimize ICU dependencies, only use a very small part of the ICU core. 46 * For every _START "part", {@link #getLimitPartIndex(int)} efficiently returns 47 * the index of the corresponding _LIMIT "part". 67 * between parts of a message, from one part's getLimit() to the next part's getIndex(). 383 Part part; in autoQuoteApostropheDeep() 384 if((part=getPart(--i)).getType()==Part.Type.INSERT_CHAR) { in autoQuoteApostropheDeep() 388 modified.insert(part.index, (char)part.value); in autoQuoteApostropheDeep() 408 * Gets the i-th pattern "part" 445 getSubstring(Part part) getSubstring() argument 456 partSubstringMatches(Part part, String s) partSubstringMatches() argument 465 getNumericValue(Part part) getNumericValue() argument [all...] |
H A D | MessageFormat.java | 547 * Returns the part index of the next ARG_START after partIndex, or -1 if there is none more. 566 Part part = msgPattern.getPart(partIndex); in argNameMatches() 567 return part.getType() == MessagePattern.Part.Type.ARG_NAME ? in argNameMatches() 568 msgPattern.partSubstringMatches(part, argName) : in argNameMatches() 569 part.getValue() == argNumber; // ARG_NUMBER in argNameMatches() 573 Part part = msgPattern.getPart(partIndex); in getArgName() 574 if (part.getType() == MessagePattern.Part.Type.ARG_NAME) { in getArgName() 575 return msgPattern.getSubstring(part); in getArgName() 577 return Integer.toString(part.getValue()); in getArgName() 686 * The argument index is part o [all...] |
/third_party/skia/src/pathops/ |
H A D | SkLineParameters.h | 77 double cubicPart(const SkDCubic& part) { in cubicPart() argument 78 cubicEndPoints(part); in cubicPart() 79 if (part[0] == part[1] || ((const SkDLine& ) part[0]).nearRay(part[2])) { in cubicPart() 80 return pointDistance(part[3]); in cubicPart() 82 return pointDistance(part[2]); in cubicPart() 116 double quadPart(const SkDQuad& part) { in quadPart() argument 117 quadEndPoints(part); in quadPart() [all...] |
/third_party/ffmpeg/libswscale/arm/ |
H A D | output.S | 5 * This file is part of FFmpeg. 35 vshll.u16 q1, d0, #12 @ extend dither to 32-bit with left shift by 12 (part 1) 36 vshll.u16 q2, d1, #12 @ extend dither to 32-bit with left shift by 12 (part 2) 38 2: vmov.u8 q3, q1 @ initialize accumulator with dithering values (part 1) 39 vmov.u8 q4, q2 @ initialize accumulator with dithering values (part 2) 62 vadd.s32 q3, q5 @ update val accumulator (part 1) 63 vadd.s32 q4, q6 @ update val accumulator (part 2) 66 vshr.s32 q3, q3, #19 @ val>>19 (part 1) 67 vshr.s32 q4, q4, #19 @ val>>19 (part 2) 68 vqmovun.s32 d6, q3 @ clip16(val>>19) (part [all...] |
/third_party/node/deps/undici/src/node_modules/@fastify/busboy/lib/types/ |
H A D | multipart.js | 93 }).on('part', function onPart (part) { 95 self.parser.removeListener('part', onPart) 96 self.parser.on('part', skipPart) 99 return skipPart(part) 103 // us emit 'end' early since we know the part has ended if we are already 104 // seeing the next part 111 part.on('header', function (header) { 138 if (!RE_FIELD.test(parsed[0])) { return skipPart(part) } 147 } else { return skipPart(part) } [all...] |
/third_party/curl/packages/OS400/ |
H A D | ccsidcurl.h | 13 * you should have received as part of this distribution. The terms 70 CURL_EXTERN CURLcode curl_mime_name_ccsid(curl_mimepart *part, 73 CURL_EXTERN CURLcode curl_mime_filename_ccsid(curl_mimepart *part, 76 CURL_EXTERN CURLcode curl_mime_type_ccsid(curl_mimepart *part, 79 CURL_EXTERN CURLcode curl_mime_encoder_ccsid(curl_mimepart *part, 82 CURL_EXTERN CURLcode curl_mime_filedata_ccsid(curl_mimepart *part, 85 CURL_EXTERN CURLcode curl_mime_data_ccsid(curl_mimepart *part, 89 char **part, unsigned int flags, 92 const char *part, unsigned int flags,
|
/third_party/python/Lib/ |
H A D | pathlib.py | 62 for part in it: 63 if not part: 66 part = part.replace(altsep, sep) 67 drv, root, rel = self.splitroot(part) 80 for part in it: 81 if not part: 84 part = part.replace(altsep, sep) 85 drv = self.splitroot(part)[ [all...] |