/external/chromium_org/chrome/browser/ui/webui/translate_internals/ |
H A D | translate_internals_ui.cc | 2 // Use of this source code is governed by a BSD-style license that can be 46 content::WebUIDataSource* source = local 49 source->SetUseJsonJSFormatV2(); 50 source->SetDefaultResource(IDR_TRANSLATE_INTERNALS_TRANSLATE_INTERNALS_HTML); 51 source->SetJsonPath("strings.js"); 52 source->AddResourcePath("translate_internals.js", 61 source->AddString(key, value); 77 source->AddString("cld-version", cld_version); 78 source->AddString("cld-data-source", cld_data_sourc [all...] |
/external/okhttp/okio/src/test/java/okio/ |
H A D | OkioTest.java | 48 Source source = Okio.source(in); 52 assertEquals(3, source.read(sink, 3)); 56 assertEquals(Segment.SIZE, source.read(sink, 20000)); 60 assertEquals(Segment.SIZE - 1, source.read(sink, 20000)); 64 assertEquals(-1, source.read(sink, 1)); 68 Source source = Okio.source(new ByteArrayInputStream(new byte[100])); 70 source.read(new OkBuffer(), -1);
|
/external/chromium_org/third_party/libxml/src/ |
H A D | triostr.c | 167 Append @p source at the end of @p target. 170 @param source Source string. 174 contain the @p target string and @p source string. 181 TRIO_ARGS2((target, source), 183 TRIO_CONST char *source) 186 assert(source); 188 return (strcat(target, source) != NULL); 194 Append at most @p max characters from @p source to @p target. 198 @param source Source string. 202 contain the @p target string and the @p source strin 180 trio_append(target, source), char *target, TRIO_CONST char *source argument 209 trio_append_max(target, max, source), char *target, size_t max, TRIO_CONST char *source argument 268 trio_copy(target, source), char *target, TRIO_CONST char *source argument 297 trio_copy_max(target, max, source), char *target, size_t max, TRIO_CONST char *source argument 317 TrioDuplicateMax(source, size), TRIO_CONST char *source, size_t size argument 346 trio_duplicate(source), TRIO_CONST char *source argument 365 trio_duplicate_max(source, max), TRIO_CONST char *source, size_t max argument 829 trio_span_function(target, source, Function), char *target, TRIO_CONST char *source, int (*Function) TRIO_PROTO((int)) argument 961 trio_to_long_double(source, endp), TRIO_CONST char *source, char **endp argument 1096 trio_to_double(source, endp), TRIO_CONST char *source, char **endp argument 1119 trio_to_float(source, endp), TRIO_CONST char *source, char **endp argument 1162 trio_to_lower(source), int source argument 1211 trio_to_upper(source), int source argument [all...] |
/external/libxml2/ |
H A D | triostr.c | 167 Append @p source at the end of @p target. 170 @param source Source string. 174 contain the @p target string and @p source string. 181 TRIO_ARGS2((target, source), 183 TRIO_CONST char *source) 186 assert(source); 188 return (strcat(target, source) != NULL); 194 Append at most @p max characters from @p source to @p target. 198 @param source Source string. 202 contain the @p target string and the @p source strin 180 trio_append(target, source), char *target, TRIO_CONST char *source argument 209 trio_append_max(target, max, source), char *target, size_t max, TRIO_CONST char *source argument 268 trio_copy(target, source), char *target, TRIO_CONST char *source argument 297 trio_copy_max(target, max, source), char *target, size_t max, TRIO_CONST char *source argument 317 TrioDuplicateMax(source, size), TRIO_CONST char *source, size_t size argument 346 trio_duplicate(source), TRIO_CONST char *source argument 365 trio_duplicate_max(source, max), TRIO_CONST char *source, size_t max argument 829 trio_span_function(target, source, Function), char *target, TRIO_CONST char *source, int (*Function) TRIO_PROTO((int)) argument 961 trio_to_long_double(source, endp), TRIO_CONST char *source, char **endp argument 1096 trio_to_double(source, endp), TRIO_CONST char *source, char **endp argument 1119 trio_to_float(source, endp), TRIO_CONST char *source, char **endp argument 1162 trio_to_lower(source), int source argument 1211 trio_to_upper(source), int source argument [all...] |
/external/chromium_org/build/win/ |
H A D | install-build-deps.py | 3 # Use of this source code is governed by a BSD-style license that can be 28 source = open(source_path).read() 34 result = source.replace(find, replace) 36 if result != source:
|
/external/chromium_org/content/public/browser/ |
H A D | notification_registrar.h | 2 // Use of this source code is governed by a BSD-style license that can be 37 const NotificationSource& source); 40 const NotificationSource& source); 52 const NotificationSource& source);
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | WebGLShader.h | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 44 const String& source() const { return m_source; } function in class:blink::FINAL 46 void setSource(const String& source) { m_source = source; } argument
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
H A D | sourcesView.css | 4 * Redistribution and use in source and binary forms, with or without 8 * * Redistributions of source code must retain the above copyright 66 #sources-panel-sources-view .source-frame-cursor-position { 78 .source-frame-debugger-script { 82 .source-frame-unsaved-committed-changes { 100 .source-frame-infobar { 108 .source-frame-infobar-info { 112 .source-frame-infobar-warning, 113 .source-frame-infobar-error { 117 .source [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/tools/ |
H A D | update-strings.py | 4 # Use of this source code is governed by a BSD-style license that can be 32 with open(from_file, 'r') as source: 34 destination.write(source.readline()) # XML declaration. 36 destination.write(source.read())
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
H A D | DefaultNamingPolicy.java | 33 public String getClassName(String prefix, String source, Object key, Predicate names) { argument 41 source.substring(source.lastIndexOf('.') + 1) +
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
H A D | ChangeTimeScaleTrack.java | 36 Track source; field in class:ChangeTimeScaleTrack 42 * Changes the time scale of the source track to the target time scale and makes sure 45 * @param source the source track 49 public ChangeTimeScaleTrack(Track source, long targetTimeScale, long[] syncSamples) { argument 50 this.source = source; 52 double timeScaleFactor = (double) targetTimeScale / source.getTrackMetaData().getTimescale(); 53 ctts = adjustCtts(source.getCompositionTimeEntries(), timeScaleFactor); 54 tts = adjustTts(source 142 adjustCtts(List<CompositionTimeToSample.Entry> source, double timeScaleFactor) argument 154 adjustTts(List<TimeToSampleBox.Entry> source, double timeScaleFactor, long[] syncSample, long[] syncSampleTimes) argument [all...] |
/external/valgrind/main/none/tests/s390x/ |
H A D | ex_clone.c | 10 char source[40] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\0"; variable 32 ::"a" (buf2), "a" (source) 55 ::"a" (target), "a" (source)
|
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/ |
H A D | UTF8.cpp | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 133 const LChar* source = *sourceStart; local 135 while (source < sourceEnd) { 140 const LChar* oldSource = source; // In case we have to back up because of target overflow. 141 ch = static_cast<unsigned short>(*source++); 151 source = oldSource; // Back up source pointer! 165 *sourceStart = source; 175 const UChar* source local 248 isLegalUTF8(const unsigned char* source, int length) argument 302 const char* source = *sourceStart; local [all...] |
/external/chromium_org/chrome/browser/ui/webui/media/ |
H A D | webrtc_logs_ui.cc | 2 // Use of this source code is governed by a BSD-style license that can be 41 content::WebUIDataSource* source = local 43 source->SetUseJsonJSFormatV2(); 45 source->AddLocalizedString("webrtcLogsTitle", IDS_WEBRTC_LOGS_TITLE); 46 source->AddLocalizedString("webrtcLogCountFormat", 48 source->AddLocalizedString("webrtcLogHeaderFormat", 50 source->AddLocalizedString("webrtcLogLocalFileLabelFormat", 52 source->AddLocalizedString("webrtcLogLocalFileFormat", 54 source->AddLocalizedString("noLocalLogFileMessage", 56 source [all...] |
/external/okhttp/okio/src/main/java/okio/ |
H A D | RealBufferedSource.java | 26 public final Source source; field in class:RealBufferedSource 29 public RealBufferedSource(Source source, OkBuffer buffer) { argument 30 if (source == null) throw new IllegalArgumentException("source == null"); 32 this.source = source; 35 public RealBufferedSource(Source source) { argument 36 this(source, new OkBuffer()); 48 long read = source.read(buffer, Segment.SIZE); 58 return buffer.exhausted() && source [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | ssim.c | 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. 176 YV12_BUFFER_CONFIG *source, 185 a = vp8_ssim2(source->y_buffer, dest->y_buffer, 186 source->y_stride, dest->y_stride, source->y_width, 187 source->y_height); 189 b = vp8_ssim2(source->u_buffer, dest->u_buffer, 190 source 174 vp8_calc_ssim( YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, int lumamask, double *weight ) argument 204 vp8_calc_ssimg( YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, double *ssim_y, double *ssim_u, double *ssim_v ) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_ssim.c | 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. 97 double vp9_calc_ssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, argument 102 a = vp9_ssim2(source->y_buffer, dest->y_buffer, 103 source->y_stride, dest->y_stride, 104 source->y_crop_width, source->y_crop_height); 106 b = vp9_ssim2(source->u_buffer, dest->u_buffer, 107 source 121 vp9_calc_ssimg(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, double *ssim_y, double *ssim_u, double *ssim_v) argument [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
H A D | ssim.c | 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. 176 YV12_BUFFER_CONFIG *source, 185 a = vp8_ssim2(source->y_buffer, dest->y_buffer, 186 source->y_stride, dest->y_stride, source->y_width, 187 source->y_height); 189 b = vp8_ssim2(source->u_buffer, dest->u_buffer, 190 source 174 vp8_calc_ssim( YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, int lumamask, double *weight ) argument 204 vp8_calc_ssimg( YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, double *ssim_y, double *ssim_u, double *ssim_v ) argument [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_ssim.c | 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. 97 double vp9_calc_ssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, argument 102 a = vp9_ssim2(source->y_buffer, dest->y_buffer, 103 source->y_stride, dest->y_stride, 104 source->y_crop_width, source->y_crop_height); 106 b = vp9_ssim2(source->u_buffer, dest->u_buffer, 107 source 121 vp9_calc_ssimg(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, double *ssim_y, double *ssim_u, double *ssim_v) argument [all...] |
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
H A D | Main.java | 66 public static void parse(File source) throws Exception argument 76 if (source.isDirectory()) 78 System.out.println("Directory: " + source.getAbsolutePath()); 79 String files[] = source.list(); 83 parse(new File(source, files[i])); 93 String sourceFile = source.getName(); 103 parseSource(source.getAbsolutePath()); 116 public static void parseSource(String source) throws Exception argument 123 // and tell the lexer that that is the character source. 127 lexer.setCharStream(new ANTLRFileStream(source, "UTF [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | webstore_installer_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 20 // Returns true if |target| is found in |source|. 21 bool Contains(const std::string& source, const std::string& target) { argument 22 return source.find(target) != std::string::npos; 27 std::string source = "inline"; local 40 StringPrintf("installsource=%s", source.c_str()), true)));
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
H A D | source_tracker.js | 2 // Use of this source code is governed by a BSD-style license that can be 9 * This class keeps track of all NetLog events, grouped into per-source 45 // Next unique id to be assigned to a log entry without a source. 83 * Also assigns unique ids to log entries without a source. 86 // List source entries with new log entries. Sorted chronologically, by 96 // TODO(mmenke): Remove this, and all other code to handle 0 source 98 if (logEntry.source.id == 0) { 99 logEntry.source.id = this.nextSourcelessEventId_; 101 } else if (this.maxReceivedSourceId_ < logEntry.source.id) { 102 this.maxReceivedSourceId_ = logEntry.source [all...] |
/external/chromium_org/chrome/browser/search_engines/ |
H A D | default_search_pref_migration_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 80 DefaultSearchManager::Source source; local 82 default_search_manager()->GetDefaultSearchEngine(&source); 84 EXPECT_EQ(DefaultSearchManager::FROM_USER, source); 101 DefaultSearchManager::Source source; local 103 default_search_manager()->GetDefaultSearchEngine(&source); 105 EXPECT_EQ(DefaultSearchManager::FROM_USER, source); 115 modern_default = default_search_manager()->GetDefaultSearchEngine(&source); 117 EXPECT_EQ(DefaultSearchManager::FROM_FALLBACK, source); 136 DefaultSearchManager::Source source; local 148 DefaultSearchManager::Source source; local [all...] |
/external/chromium_org/chrome/browser/sync/ |
H A D | profile_sync_test_util.cc | 2 // Use of this source code is governed by a BSD-style license that can be 26 const content::NotificationSource& source, 31 base::Bind(&ThreadNotifier::NotifyTask, this, type, source, details)); 38 const content::NotificationSource& source, 40 content::NotificationService::current()->Notify(type, source, details); 25 Notify(int type, const content::NotificationSource& source, const content::NotificationDetails& details) argument 37 NotifyTask(int type, const content::NotificationSource& source, const content::NotificationDetails& details) argument
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | crashes_ui.cc | 2 // Use of this source code is governed by a BSD-style license that can be 41 content::WebUIDataSource* source = local 43 source->SetUseJsonJSFormatV2(); 45 source->AddLocalizedString("shortProductName", IDS_SHORT_PRODUCT_NAME); 46 source->AddLocalizedString("crashesTitle", IDS_CRASHES_TITLE); 47 source->AddLocalizedString("crashCountFormat", 49 source->AddLocalizedString("crashHeaderFormat", 51 source->AddLocalizedString("crashTimeFormat", IDS_CRASHES_CRASH_TIME_FORMAT); 52 source->AddLocalizedString("bugLinkText", IDS_CRASHES_BUG_LINK_LABEL); 53 source [all...] |