HomeSort by relevance Sort by last modified time
    Searched refs:source (Results 76 - 100 of 5728) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/webrtc/webrtc/base/
urlencode.h 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
8 * be found in the AUTHORS file in the root of the source tree.
19 int UrlDecode(const char *source, char *dest);
22 int UrlDecodeWithoutEncodingSpaceAsPlus(const char *source, char *dest);
26 int UrlEncode(const char *source, char *dest, unsigned max);
29 int UrlEncodeWithoutEncodingSpaceAsPlus(const char *source, char *dest,
34 int UrlEncodeOnlyUnsafeChars(const char *source, char *dest, unsigned max);
urlencode.cc 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
8 * be found in the AUTHORS file in the root of the source tree.
37 static int InternalUrlDecode(const char *source, char *dest,
41 while (*source) {
42 switch (*source) {
47 *dest++ = *source;
51 if (source[1] && source[2]) {
52 int value = HexPairValue(source + 1)
    [all...]
  /external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
FactoryModuleBuilder.java 217 public <T> FactoryModuleBuilder implement(Class<T> source, Class<? extends T> target) {
218 return implement(source, TypeLiteral.get(target));
222 public <T> FactoryModuleBuilder implement(Class<T> source, TypeLiteral<? extends T> target) {
223 return implement(TypeLiteral.get(source), target);
227 public <T> FactoryModuleBuilder implement(TypeLiteral<T> source, Class<? extends T> target) {
228 return implement(source, TypeLiteral.get(target));
233 TypeLiteral<T> source, TypeLiteral<? extends T> target) {
234 return implement(Key.get(source), target);
239 Class<T> source, Annotation annotation, Class<? extends T> target) {
240 return implement(source, annotation, TypeLiteral.get(target))
    [all...]
  /external/okhttp/okio/okio/src/main/java/okio/
GzipSource.java 24 * A source that uses <a href="http://www.ietf.org/rfc/rfc1952.txt">GZIP</a> to
25 * decompress data read from another source.
27 public final class GzipSource implements Source {
42 * Our source should yield a GZIP header (which we consume directly), followed
46 private final BufferedSource source; field in class:GzipSource
52 * The inflater source takes care of moving data between compressed source and
60 public GzipSource(Source source) {
61 if (source == null) throw new IllegalArgumentException("source == null")
    [all...]
  /external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
GzipSource.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
25 * A source that uses <a href="http://www.ietf.org/rfc/rfc1952.txt">GZIP</a> to
26 * decompress data read from another source.
29 public final class GzipSource implements Source {
44 * Our source should yield a GZIP header (which we consume directly), followed
48 private final BufferedSource source; field in class:GzipSource
54 * The inflater source takes care of moving data between compressed source and
62 public GzipSource(Source source) {
    [all...]
  /external/curl/lib/
memdebug.c 134 static bool countcheck(const char *func, int line, const char *source)
136 /* if source is NULL, then the call is made internally and this check
138 if(memlimit && source) {
140 if(source) {
143 source, line, func);
146 source, line, func);
161 void *curl_dbg_malloc(size_t wantedsize, int line, const char *source)
168 if(countcheck("malloc", line, source))
181 if(source)
183 source, line, wantedsize
    [all...]
  /external/antlr/runtime/C/src/
antlr3convertutf.c 6 * This source code is provided as is by Unicode, Inc. No claims are
25 Conversions between UTF32, UTF-16, and UTF-8. Source code file.
31 source sequences, enhanced error detection, added casts
56 const UTF32* source = *sourceStart; local
58 while (source < sourceEnd) {
63 ch = *source++;
68 --source; /* return to the illegal value itself */
86 --source; /* Back up source pointer! */
94 *sourceStart = source;
105 const UTF16* source = *sourceStart; local
209 const UTF16* source = *sourceStart; local
333 const UTF8* source = *sourceStart; local
406 const UTF32* source = *sourceStart; local
459 const UTF8* source = *sourceStart; local
    [all...]
  /external/google-breakpad/src/common/
convert_UTF.c 41 Conversions between UTF32, UTF-16, and UTF-8. Source code file.
47 source sequences, enhanced error detection, added casts
85 const UTF32* source = *sourceStart; local
87 while (source < sourceEnd) {
92 ch = *source++;
97 --source; /* return to the illegal value itself */
115 --source; /* Back up source pointer! */
123 *sourceStart = source;
133 const UTF16* source = *sourceStart local
236 const UTF16* source = *sourceStart; local
357 const UTF8* source = *sourceStart; local
429 const UTF32* source = *sourceStart; local
481 const UTF8* source = *sourceStart; local
    [all...]
  /external/okhttp/okio/okio/src/test/java/okio/
ReadUtf8LineTest.java 86 private BufferedSource source;
90 source = factory.create(data);
95 assertEquals("abc", source.readUtf8LineStrict());
96 assertEquals("def", source.readUtf8LineStrict());
98 source.readUtf8LineStrict();
108 source.readUtf8LineStrict();
118 assertEquals("", source.readUtf8LineStrict());
119 assertEquals("", source.readUtf8LineStrict());
120 assertEquals("", source.readUtf8LineStrict());
121 assertTrue(source.exhausted())
    [all...]
RealBufferedSourceTest.java 34 Buffer source = new Buffer(); local
35 source.writeUtf8("a");
36 source.writeUtf8(repeat('b', Segment.SIZE));
37 source.writeUtf8("c");
39 InputStream in = new RealBufferedSource(source).inputStream();
41 assertEquals(Segment.SIZE + 2, source.size());
46 assertEquals(2, source.size());
52 assertEquals(2, source.size());
57 assertEquals(0, source.size());
62 assertEquals(0, source.size())
70 RealBufferedSource source = new RealBufferedSource(new Buffer()); local
82 Buffer source = new Buffer(); local
94 Buffer source = new Buffer(); local
105 Buffer source = new Buffer(); local
118 Buffer source = new Buffer(); local
130 Buffer source = new Buffer(); local
140 Buffer source = new Buffer(); local
152 Buffer source = new Buffer(); local
205 Buffer source = new Buffer().writeUtf8("" local
    [all...]
  /external/unicode/
ConvertUTF.c 6 * This source code is provided as is by Unicode, Inc. No claims are
25 Conversions between UTF32, UTF-16, and UTF-8. Source code file.
31 source sequences, enhanced error detection, added casts
65 const UTF32* source = *sourceStart; local
67 while (source < sourceEnd) {
72 ch = *source++;
77 --source; /* return to the illegal value itself */
95 --source; /* Back up source pointer! */
103 *sourceStart = source;
114 const UTF16* source = *sourceStart; local
218 const UTF16* source = *sourceStart; local
350 const UTF8* source = *sourceStart; local
423 const UTF32* source = *sourceStart; local
476 const UTF8* source = *sourceStart; local
    [all...]
  /external/webrtc/talk/app/webrtc/
localaudiosource_unittest.cc 5 * Redistribution and use in source and binary forms, with or without
8 * 1. Redistributions of source code must retain the above copyright notice,
57 rtc::scoped_refptr<LocalAudioSource> source = local
61 EXPECT_EQ(rtc::Optional<bool>(false), source->options().echo_cancellation);
62 EXPECT_EQ(rtc::Optional<bool>(true), source->options().extended_filter_aec);
63 EXPECT_EQ(rtc::Optional<bool>(true), source->options().delay_agnostic_aec);
64 EXPECT_EQ(rtc::Optional<bool>(true), source->options().auto_gain_control);
65 EXPECT_EQ(rtc::Optional<bool>(true), source->options().experimental_agc);
66 EXPECT_EQ(rtc::Optional<bool>(false), source->options().noise_suppression);
67 EXPECT_EQ(rtc::Optional<bool>(true), source->options().highpass_filter)
73 rtc::scoped_refptr<LocalAudioSource> source = local
86 rtc::scoped_refptr<LocalAudioSource> source = local
98 rtc::scoped_refptr<LocalAudioSource> source = local
111 rtc::scoped_refptr<LocalAudioSource> source = local
    [all...]
  /external/libjpeg-turbo/
rdtarga.c 49 /* Private version of data source object */
180 tga_source_ptr source = (tga_source_ptr)sinfo; local
184 ptr = source->pub.buffer[0];
186 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
187 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]);
196 tga_source_ptr source = (tga_source_ptr)sinfo; local
200 register JSAMPARRAY colormap = source->colormap;
201 int cmaplen = source->cmap_length;
203 ptr = source->pub.buffer[0]
220 tga_source_ptr source = (tga_source_ptr)sinfo; local
248 tga_source_ptr source = (tga_source_ptr)sinfo; local
281 tga_source_ptr source = (tga_source_ptr)sinfo; local
308 tga_source_ptr source = (tga_source_ptr)sinfo; local
341 tga_source_ptr source = (tga_source_ptr)sinfo; local
495 tga_source_ptr source; local
    [all...]
  /external/skia/src/compute/hs/gen/
target_glsl.c 4 * Use of this source code is governed by a BSD-style license that can
83 "// Use of this source code is governed by a BSD-style \n"
117 FILE * source; member in struct:hsg_target_state
134 fprintf(target->state->source,
138 fclose(target->state->source);
139 target->state->source = NULL;
144 fprintf(target->state->source,
149 fprintf(target->state->source,
270 target->state->source = fopen("hs_transpose.comp","w+");
272 hsg_copyright(target->state->source);
    [all...]
  /external/skqp/src/compute/hs/gen/
target_glsl.c 4 * Use of this source code is governed by a BSD-style license that can
83 "// Use of this source code is governed by a BSD-style \n"
117 FILE * source; member in struct:hsg_target_state
134 fprintf(target->state->source,
138 fclose(target->state->source);
139 target->state->source = NULL;
144 fprintf(target->state->source,
149 fprintf(target->state->source,
270 target->state->source = fopen("hs_transpose.comp","w+");
272 hsg_copyright(target->state->source);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
UTF16.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
193 * @param source Array of UTF-16 chars
199 public static int charAt(String source, int offset16) {
200 char single = source.charAt(offset16);
204 return _charAt(source, offset16, single);
207 private static int _charAt(String source, int offset16, char single) {
218 if (source.length() != offset16) {
219 char trail = source.charAt(offset16);
228 char lead = source.charAt(offset16);
246 * @param source Array of UTF-16 char
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UTF16.java 212 * @param source Array of UTF-16 chars
219 public static int charAt(String source, int offset16) {
220 char single = source.charAt(offset16);
224 return _charAt(source, offset16, single);
227 private static int _charAt(String source, int offset16, char single) {
238 if (source.length() != offset16) {
239 char trail = source.charAt(offset16);
248 char lead = source.charAt(offset16);
266 * @param source Array of UTF-16 chars
273 public static int charAt(CharSequence source, int offset16)
    [all...]
  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/object/
IsEventFrom.java 15 private final Object source; field in class:IsEventFrom
17 public IsEventFrom(Class<?> eventClass, Object source) {
19 this.source = source;
30 mismatchDescription.appendText("source was ").appendValue(item.getSource());
38 return ev.getSource() == source;
46 .appendValue(source);
51 * derived from <var>eventClass</var> announced by <var>source</var>.
57 * @param source
58 * the source of the even
    [all...]
  /external/libgsm/tst/
cod2lin.c 32 gsm_signal source[160]; local
37 (void)memset(source, 0x00, sizeof(source));
48 cc = fread((char *)source, sizeof(*source), 76, f);
62 gsm_implode(r, source, buf);
63 gsm_decode(r, buf, source);
65 if (write(1, source, sizeof(source)) != sizeof(source)) {
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/util/
CharUtilities.java 12 protected T source; field in class:CharUtilities.CharSourceWrapper
14 public CharSourceWrapper(T source) {
15 this.source = source;
19 return index < source.length();
23 return source.charAt(index);
31 return new CharSourceWrapper<CharSequence>(source.subSequence(start, end));
35 return new CharSourceWrapper<CharSequence>(source.subSequence(start, source.length()));
39 return source.length()
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
ConvertUTF.cpp 5 * This file is distributed under the University of Illinois Open Source
14 * This source code is provided as is by Unicode, Inc. No claims are
33 Conversions between UTF32, UTF-16, and UTF-8. Source code file.
39 source sequences, enhanced error detection, added casts
149 const UTF32* source = *sourceStart; local
151 while (source < sourceEnd) {
156 ch = *source++;
161 --source; /* return to the illegal value itself */
179 --source; /* Back up source pointer! *
198 const UTF16* source = *sourceStart; local
252 const UTF16* source = *sourceStart; local
322 const UTF32* source = *sourceStart; local
546 const UTF8* source = *sourceStart; local
620 const UTF8* source = *sourceStart; local
    [all...]
  /external/u-boot/drivers/qe/
uccf.c 6 * based on source code of Shlomi Gridish
93 int source = -1; local
109 case QE_BRG1: source = 1; break;
110 case QE_BRG2: source = 2; break;
111 case QE_BRG7: source = 3; break;
112 case QE_BRG8: source = 4; break;
113 case QE_CLK9: source = 5; break;
114 case QE_CLK10: source = 6; break;
115 case QE_CLK11: source = 7; break;
116 case QE_CLK12: source = 8; break
    [all...]
  /external/strace/tests/
mount.c 8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
76 static const char source[] = "mount_source"; local
97 rc = mount(source, target, fstype, 15, data);
99 source, target, fstype, str_ro_nosuid_nodev_noexec,
102 rc = mount(source, target, fstype, MS_RELATIME | 15, data);
104 source, target, fstype,
108 rc = mount(source, target, fstype, MS_MGC_VAL, data);
110 source, target, fstype, str_mgc_val, data, sprintrc(rc));
112 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data)
    [all...]
  /external/strace/tests-m32/
mount.c 8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
76 static const char source[] = "mount_source"; local
97 rc = mount(source, target, fstype, 15, data);
99 source, target, fstype, str_ro_nosuid_nodev_noexec,
102 rc = mount(source, target, fstype, MS_RELATIME | 15, data);
104 source, target, fstype,
108 rc = mount(source, target, fstype, MS_MGC_VAL, data);
110 source, target, fstype, str_mgc_val, data, sprintrc(rc));
112 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data)
    [all...]
  /external/strace/tests-mx32/
mount.c 8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
76 static const char source[] = "mount_source"; local
97 rc = mount(source, target, fstype, 15, data);
99 source, target, fstype, str_ro_nosuid_nodev_noexec,
102 rc = mount(source, target, fstype, MS_RELATIME | 15, data);
104 source, target, fstype,
108 rc = mount(source, target, fstype, MS_MGC_VAL, data);
110 source, target, fstype, str_mgc_val, data, sprintrc(rc));
112 rc = mount(source, target, fstype, MS_MGC_VAL | 15, data)
    [all...]

Completed in 1181 milliseconds

1 2 34 5 6 7 8 91011>>