/external/clang/test/Analysis/ |
H A D | cstring-syntax.c | 8 char dest[10]; local 9 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // expected-warning {{Potential buffer overflow. Replace with 'sizeof(dest) - strlen(dest) - 1' or use a safer 'strlcat' API}} 10 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-warning {{Potential buffer overflow. Replace with}} 11 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expecte [all...] |
/external/speex/libspeex/ |
H A D | misc_bfin.h | 37 void *speex_move (void *dest, void *src, int n) argument 49 : "=a" (src), "=a" (dest) 50 : "a" ((n>>2)-1), "0" (src), "1" (dest) 53 return dest;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | urlencode_unittest.cc | 36 char dest[1]; local 37 ASSERT_EQ(0, UrlEncode(source, dest, ARRAY_SIZE(dest))); 38 ASSERT_EQ('\0', dest[0]); 40 dest[0] = 'a'; 41 ASSERT_EQ(0, UrlEncode(source, dest, 0)); 42 ASSERT_EQ('a', dest[0]); 47 char dest[4]; local 48 ASSERT_EQ(3, UrlEncode(source, dest, ARRAY_SIZE(dest))); 57 char dest[3]; local 66 char dest[3]; local 73 char dest[8]; local 80 char dest[8]; local 88 char dest[8]; local 95 char dest[8]; local [all...] |
H A D | urlencode.cc | 56 int InternalUrlDecode(const char *source, char *dest, argument 58 char * start = dest; 64 *(dest++) = ' '; 66 *dest++ = *source; 73 *(dest++) = value; 77 *dest++ = '?'; 81 *dest++ = '?'; 85 *dest++ = *source; 90 *dest = 0; 91 return static_cast<int>(dest 94 UrlDecode(const char *source, char *dest) argument 98 UrlDecodeWithoutEncodingSpaceAsPlus(const char *source, char *dest) argument 110 InternalUrlEncode(const char *source, char *dest, unsigned int max, bool encode_space_as_plus, bool unsafe_only) argument [all...] |
/external/jpeg/ |
H A D | jdatadst.c | 45 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local 48 dest->buffer = (JOCTET *) 52 dest->pub.next_output_byte = dest->buffer; 53 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; 83 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local 85 if (JFWRITE(dest->outfile, dest 108 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local 132 my_dest_ptr dest; local [all...] |
/external/qemu/distrib/jpeg-6b/ |
H A D | jdatadst.c | 45 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local 48 dest->buffer = (JOCTET *) 52 dest->pub.next_output_byte = dest->buffer; 53 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; 83 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local 85 if (JFWRITE(dest->outfile, dest 108 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local 132 my_dest_ptr dest; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | urlencode.cc | 56 int InternalUrlDecode(const char *source, char *dest, argument 58 char * start = dest; 64 *(dest++) = ' '; 66 *dest++ = *source; 73 *(dest++) = value; 77 *dest++ = '?'; 81 *dest++ = '?'; 85 *dest++ = *source; 90 *dest = 0; 91 return dest 94 UrlDecode(const char *source, char *dest) argument 98 UrlDecodeWithoutEncodingSpaceAsPlus(const char *source, char *dest) argument 110 InternalUrlEncode(const char *source, char *dest, unsigned int max, bool encode_space_as_plus, bool unsafe_only) argument [all...] |
/external/chromium_org/base/json/ |
H A D | string_escape.cc | 29 // successful, returns true and appends the escape sequence to |dest|. This 31 bool EscapeSpecialCodePoint(uint32 code_point, std::string* dest) { argument 37 dest->append("\\b"); 40 dest->append("\\f"); 43 dest->append("\\n"); 46 dest->append("\\r"); 49 dest->append("\\t"); 52 dest->append("\\\\"); 55 dest->append("\\\""); 60 dest 69 EscapeJSONStringImpl(const S& str, bool put_in_quotes, std::string* dest) argument 104 EscapeJSONString(const StringPiece& str, bool put_in_quotes, std::string* dest) argument 110 EscapeJSONString(const StringPiece16& str, bool put_in_quotes, std::string* dest) argument 117 std::string dest; local 124 std::string dest; local 132 std::string dest; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | api_loopback.h | 39 struct _glapi_table *dest); 44 _mesa_loopback_init_api_table( struct _glapi_table *dest )
|
/external/chromium_org/third_party/re2/util/ |
H A D | strutil.cc | 12 // Copies 'src' to 'dest', escaping dangerous characters using 13 // C-style escape sequences. 'src' and 'dest' should not overlap. 14 // Returns the number of bytes written to 'dest' (not including the \0) 17 int CEscapeString(const char* src, int src_len, char* dest, argument 28 case '\n': dest[used++] = '\\'; dest[used++] = 'n'; break; 29 case '\r': dest[used++] = '\\'; dest[used++] = 'r'; break; 30 case '\t': dest[used++] = '\\'; dest[use 64 char* dest = new char[dest_length]; local [all...] |
/external/clang/test/CodeGen/ |
H A D | 2002-07-31-BadAssert.c | 9 static void SetInternalFPFZero(InternalFPF *dest) { argument 10 dest->type=0;
|
/external/linux-tools-perf/util/include/asm/ |
H A D | uaccess.h | 4 #define __get_user(src, dest) \ 6 (src) = *dest; \
|
/external/mesa3d/src/mesa/main/ |
H A D | api_loopback.h | 39 struct _glapi_table *dest); 44 _mesa_loopback_init_api_table( struct _glapi_table *dest )
|
/external/regex-re2/util/ |
H A D | strutil.cc | 12 // Copies 'src' to 'dest', escaping dangerous characters using 13 // C-style escape sequences. 'src' and 'dest' should not overlap. 14 // Returns the number of bytes written to 'dest' (not including the \0) 17 int CEscapeString(const char* src, int src_len, char* dest, argument 28 case '\n': dest[used++] = '\\'; dest[used++] = 'n'; break; 29 case '\r': dest[used++] = '\\'; dest[used++] = 'r'; break; 30 case '\t': dest[used++] = '\\'; dest[use 64 char* dest = new char[dest_length]; local [all...] |
/external/zlib/src/contrib/puff/ |
H A D | puff.h | 32 int puff(unsigned char *dest, /* pointer to destination pointer */
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/ |
H A D | options.py | 32 blocks = make_option("--blocks", action="store", type="string", dest="blocks", default=None, help="Bug number which the created bug blocks.") 33 build = make_option("--build", action="store_true", dest="build", default=False, help="Build and run run-webkit-tests before committing.") 34 build_style = make_option("--build-style", action="store", dest="build_style", default=None, help="Whether to build debug, release, or both.") 35 cc = make_option("--cc", action="store", type="string", dest="cc", help="Comma-separated list of email addresses to carbon-copy.") 36 check_style = make_option("--ignore-style", action="store_false", dest="check_style", default=True, help="Don't check to see if the patch has proper style before uploading.") 37 check_style_filter = make_option("--check-style-filter", action="store", type="string", dest="check_style_filter", default=None, help="Filter style-checker rules (see check-webkit-style --help).") 38 clean = make_option("--no-clean", action="store_false", dest="clean", default=True, help="Don't check if the working directory is clean before applying patches") 39 close_bug = make_option("--no-close", action="store_false", dest="close_bug", default=True, help="Leave bug open after landing.") 40 comment = make_option("--comment", action="store", type="string", dest="comment", help="Comment to post to bug.") 41 component = make_option("--component", action="store", type="string", dest [all...] |
/external/srec/srec/clib/ |
H A D | memmove.h | 28 static void *memmove_inline(void *dest, const void *src, size_t count, 31 static void *memmove_inline(void *dest, const void *src, size_t count, argument 37 ASSERT(dest); 42 memcpy(dest, src, size); 43 dest = (void *)(((char *)dest) + size); 46 return (dest); /* TODO: fix return */
|
/external/valgrind/main/coregrind/m_demangle/ |
H A D | dyn-string.c | 197 dyn_string_copy (dyn_string_t dest, dyn_string_t src) argument 199 if (dest == src) 203 if (dyn_string_resize (dest, src->length) == NULL) 206 strcpy (dest->s, src->s); 208 dest->length = src->length; 217 dyn_string_copy_cstr (dyn_string_t dest, const char *src) argument 221 if (dyn_string_resize (dest, length) == NULL) 224 strcpy (dest->s, src); 226 dest->length = length; 236 dyn_string_prepend (dyn_string_t dest, dyn_string_ argument 246 dyn_string_prepend_cstr(dyn_string_t dest, const char *src) argument 257 dyn_string_insert(dyn_string_t dest, int pos, dyn_string_t src) argument 282 dyn_string_insert_cstr(dyn_string_t dest, int pos, const char *src) argument 304 dyn_string_insert_char(dyn_string_t dest, int pos, int c) argument 325 dyn_string_append(dyn_string_t dest, dyn_string_t s) argument 339 dyn_string_append_cstr(dyn_string_t dest, const char *s) argument 356 dyn_string_append_char(dyn_string_t dest, int c) argument 377 dyn_string_substring(dyn_string_t dest, dyn_string_t src, int start, int end) argument [all...] |
/external/chromium_org/build/android/pylib/utils/ |
H A D | test_options_parser.py | 19 dest='build_type', default=default_build_type, 23 dest='build_type', 31 option_parser.add_option('-t', dest='timeout', 35 option_parser.add_option('-c', dest='cleanup_test_files', 38 option_parser.add_option('--num_retries', dest='num_retries', type='int', 44 dest='verbose_count', 50 option_parser.add_option('--profiler', dest='profilers', action='append', 56 dest='tool', 60 dest='flakiness_dashboard_server', 63 option_parser.add_option('--skip-deps-push', dest [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
H A D | Image.cpp | 29 unsigned char *dest = NULL; local 34 dest = static_cast<unsigned char*>(output) + y * outputPitch; 37 dest[4 * x + 0] = 0; 38 dest[4 * x + 1] = 0; 39 dest[4 * x + 2] = 0; 40 dest[4 * x + 3] = source[x]; 49 unsigned char *dest = NULL; local 54 dest = static_cast<unsigned char*>(output) + y * outputPitch; 55 memcpy(dest, source, width); 63 float *dest local 83 unsigned short *dest = NULL; local 103 unsigned char *dest = NULL; local 131 float *dest = NULL; local 151 float *dest = NULL; local 170 unsigned short *dest = NULL; local 190 unsigned char *dest = NULL; local 218 float *dest = NULL; local 238 unsigned short *dest = NULL; local 258 unsigned char *dest = NULL; local 278 unsigned char *dest = NULL; local 298 unsigned char *dest = NULL; local 319 unsigned char *dest = NULL; local 340 float *dest = NULL; local 360 float *dest = NULL; local 374 unsigned short *dest = NULL; local 394 unsigned int *dest = NULL; local 412 unsigned int *dest = NULL; local 426 unsigned char *dest = NULL; local 447 unsigned char *dest = NULL; local 468 unsigned char *dest = NULL; local 489 unsigned char *dest = NULL; local 510 float *dest = NULL; local 524 unsigned char *dest = NULL; local 538 unsigned char *dest = NULL; local [all...] |
/external/clang/test/Sema/ |
H A D | warn-strncat-size.c | 28 char dest[10]; local 30 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest) - 1); // no-warning 31 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - 1); // no-warning - the code might assume that dest is empty 33 strncat(dest, src, sizeof(src)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 35 strncat(dest, src, sizeof(src) - 1); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 37 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAA [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
H A D | Bra.c | 17 UInt32 dest; local 21 dest = ip + (UInt32)i + src; 23 dest = src - (ip + (UInt32)i); 24 dest >>= 2; 25 data[i + 2] = (Byte)(dest >> 16); 26 data[i + 1] = (Byte)(dest >> 8); 27 data[i + 0] = (Byte)dest; 45 UInt32 dest; local 54 dest = ip + (UInt32)i + src; 56 dest 84 UInt32 dest; local 115 UInt32 dest; local [all...] |
/external/lzma/C/ |
H A D | Bra.c | 17 UInt32 dest;
local 21 dest = ip + (UInt32)i + src;
23 dest = src - (ip + (UInt32)i);
24 dest >>= 2;
25 data[i + 2] = (Byte)(dest >> 16);
26 data[i + 1] = (Byte)(dest >> 8);
27 data[i + 0] = (Byte)dest;
45 UInt32 dest;
local 54 dest = ip + (UInt32)i + src;
56 dest 84 UInt32 dest; local 115 UInt32 dest; local [all...] |
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
H A D | string_byte_sink.cc | 11 StringByteSink::StringByteSink(string* dest) : dest_(dest) {} argument
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
H A D | plbase64.h | 49 * is used to determine the source length. If the "dest" parameter is not 52 * (without any termination). If the "dest" parameter is null, a buffer is 64 char *dest 75 * length. If the "dest" parameter is not null, it is assumed to point to 78 * is placed (without any termination). If the "dest" parameter is null, 90 char *dest
|