Searched refs:dest (Results 1 - 25 of 2355) sorted by relevance

1234567891011>>

/external/clang/test/Analysis/
H A Dcstring-syntax.c8 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 Dmisc_bfin.h37 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/webrtc/base/
H A Durlencode_unittest.cc21 char dest[1]; local
22 ASSERT_EQ(0, UrlEncode(source, dest, ARRAY_SIZE(dest)));
23 ASSERT_EQ('\0', dest[0]);
25 dest[0] = 'a';
26 ASSERT_EQ(0, UrlEncode(source, dest, 0));
27 ASSERT_EQ('a', dest[0]);
32 char dest[4]; local
33 ASSERT_EQ(3, UrlEncode(source, dest, ARRAY_SIZE(dest)));
42 char dest[3]; local
51 char dest[3]; local
58 char dest[8]; local
65 char dest[8]; local
73 char dest[8]; local
80 char dest[8]; local
[all...]
/external/chromium_org/build/android/pylib/
H A Defficient_android_directory_copy.sh13 dest=$2
14 echo copying $source to $dest
22 echo rm -rf "$dest/$1"
23 rm -rf "$dest/$1"
35 if [ -d "$1" ] && [ -e "$dest/$1" ]
37 if [ ! -e "$dest/$1" ]
39 echo cp -a "$1" "$dest/$1"
40 cp -a "$1" "$dest/$1"
47 elif [ ! -e "$dest/$1" ] || [ "$1" -ot "$dest/
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageFilter.cpp14 SkRect dest; local
15 filter->computeFastBounds(rect, &dest);
16 return dest;
/external/chromium_org/third_party/libjpeg_turbo/
H A Djdatadst-tj.c90 my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest; local
92 if (!dest->alloc) ERREXIT(cinfo, JERR_BUFFER_SIZE);
95 nextsize = dest->bufsize * 2;
101 MEMCOPY(nextbuffer, dest->buffer, dest->bufsize);
103 if (dest->newbuffer != NULL)
104 free(dest->newbuffer);
106 dest->newbuffer = nextbuffer;
108 dest
130 my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest; local
153 my_mem_dest_ptr dest; local
[all...]
H A Djdatadst.c70 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local
73 dest->buffer = (JOCTET *)
77 dest->pub.next_output_byte = dest->buffer;
78 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE;
116 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local
118 if (JFWRITE(dest->outfile, dest
134 my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest; local
173 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; local
191 my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest; local
208 my_dest_ptr dest; local
246 my_mem_dest_ptr dest; local
[all...]
/external/jpeg/
H A Djdatadst.c45 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 Djdatadst.c45 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_org/base/json/
H A Dstring_escape.cc29 // 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 Dapi_loopback.h39 struct _glapi_table *dest);
44 _mesa_loopback_init_api_table( struct _glapi_table *dest )
/external/chromium_org/third_party/re2/util/
H A Dstrutil.cc12 // 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 D2002-07-31-BadAssert.c9 static void SetInternalFPFZero(InternalFPF *dest) { argument
10 dest->type=0;
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/asm/
H A Duaccess.h4 #define __get_user(src, dest) \
6 (src) = *dest; \
/external/mesa3d/src/mesa/main/
H A Dapi_loopback.h39 struct _glapi_table *dest);
44 _mesa_loopback_init_api_table( struct _glapi_table *dest )
/external/regex-re2/util/
H A Dstrutil.cc12 // 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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/steps/
H A Doptions.py32 confirm = make_option("--no-confirm", action="store_false", dest="confirm", default=True, help="Skip confirmation steps.")
33 git_commit = make_option("-g", "--git-commit", action="store", dest="git_commit", help="Operate on a local commit. If a range, the commits are squashed into one. <ref>.... includes the working copy changes. UPSTREAM can be used for the upstream/tracking branch.")
34 parent_command = make_option("--parent-command", action="store", dest="parent_command", default=None, help="(Internal) The command that spawned this instance.")
35 quiet = make_option("--quiet", action="store_true", dest="quiet", default=False, help="Produce less console output.")
/external/zlib/src/contrib/puff/
H A Dpuff.h32 int puff(unsigned char *dest, /* pointer to destination pointer */
/external/srec/srec/clib/
H A Dmemmove.h28 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 Ddyn-string.c197 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/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dconvert_jpeg.cc38 I420Buffers* dest = (I420Buffers*)(opaque); local
42 dest->y, dest->y_stride,
43 dest->u, dest->u_stride,
44 dest->v, dest->v_stride,
45 dest->w, rows);
46 dest->y += rows * dest
56 I420Buffers* dest = (I420Buffers*)(opaque); local
74 I420Buffers* dest = (I420Buffers*)(opaque); local
92 I420Buffers* dest = (I420Buffers*)(opaque); local
110 I420Buffers* dest = (I420Buffers*)(opaque); local
236 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
250 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
264 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
278 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
292 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Dconvert_jpeg.cc38 I420Buffers* dest = (I420Buffers*)(opaque); local
42 dest->y, dest->y_stride,
43 dest->u, dest->u_stride,
44 dest->v, dest->v_stride,
45 dest->w, rows);
46 dest->y += rows * dest
56 I420Buffers* dest = (I420Buffers*)(opaque); local
74 I420Buffers* dest = (I420Buffers*)(opaque); local
92 I420Buffers* dest = (I420Buffers*)(opaque); local
110 I420Buffers* dest = (I420Buffers*)(opaque); local
236 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
250 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
264 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
278 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
292 ARGBBuffers* dest = (ARGBBuffers*)(opaque); local
[all...]
/external/chromium_org/third_party/webrtc/common_audio/
H A Daudio_util.cc17 void RoundToInt16(const float* src, size_t size, int16_t* dest) { argument
19 dest[i] = RoundToInt16(src[i]);
22 void ScaleAndRoundToInt16(const float* src, size_t size, int16_t* dest) { argument
24 dest[i] = ScaleAndRoundToInt16(src[i]);
27 void ScaleToFloat(const int16_t* src, size_t size, float* dest) { argument
29 dest[i] = ScaleToFloat(src[i]);
/external/chromium_org/tools/gn/
H A Descape.cc36 inline void NinjaEscapeChar(char ch, DestString* dest) { argument
38 dest->push_back('$');
39 dest->push_back(ch);
45 DestString* dest,
48 NinjaEscapeChar(str[i], dest);
53 DestString* dest) {
57 dest->push_back('$');
58 dest->push_back(str[i]);
73 DestString* dest,
80 EscapeStringToString_Ninja(str, options, dest, needed_quotin
43 EscapeStringToString_Ninja(const base::StringPiece& str, const EscapeOptions& options, DestString* dest, bool* needed_quoting) argument
52 EscapeStringToString_NinjaPreformatted(const base::StringPiece& str, DestString* dest) argument
71 EscapeStringToString_WindowsNinjaFork(const base::StringPiece& str, const EscapeOptions& options, DestString* dest, bool* needed_quoting) argument
117 EscapeStringToString_PosixNinjaFork(const base::StringPiece& str, const EscapeOptions& options, DestString* dest, bool* needed_quoting) argument
146 EscapeStringToString(const base::StringPiece& str, const EscapeOptions& options, DestString* dest, bool* needed_quoting) argument
[all...]
/external/clang/test/Sema/
H A Dwarn-strncat-size.c28 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...]

Completed in 988 milliseconds

1234567891011>>