/external/chromium/chrome/browser/ui/webui/ |
html_dialog_tab_contents_delegate.cc | 2 // Use of this source code is governed by a BSD-style license that can be 32 TabContents* source, const GURL& url, const GURL& referrer, 41 if (source && source->is_crashed() && disposition == CURRENT_TAB && 52 const TabContents* source, unsigned changed_flags) { 58 TabContents* source, TabContents* new_contents, 70 // params.source_contents = source; 88 void HtmlDialogTabContentsDelegate::LoadingStateChanged(TabContents* source) { 92 void HtmlDialogTabContentsDelegate::CloseContents(TabContents* source) { 97 bool HtmlDialogTabContentsDelegate::IsPopup(const TabContents* source) const [all...] |
/external/webkit/Source/JavaScriptCore/wtf/url/src/ |
URLQueryCanonicalizer.h | 3 // Redistribution and use in source and binary forms, with or without 7 // * Redistributions of source code must retain the above copyright 69 static bool isRaw8Bit(const InChar* source, int length) 71 for (int i = source; i < length; ++i) { 72 if (source[i] & 0xFF != source[i]) 79 static void appendRaw8BitQueryString(const InChar* source, int length, URLBuffer<OutChar>* buffer) 81 ASSERT(isRaw8Bit(source, length)); 83 if (!URLCharacterTypes::isQueryChar(source[i])) 84 appendURLEscapedCharacter(static_cast<unsigned char>(source[i]), buffer) [all...] |
/external/libxml2/ |
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 [all...] |
/build/libs/host/ |
pseudolocalize.cpp | 72 pseudolocalize_string(const string& source) 74 const char* s = source.c_str(); 76 const size_t I = source.length();
|
/cts/tests/tests/text/src/android/text/cts/ |
Editable_FactoryTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 30 CharSequence source = "abc"; local 32 Editable expected = new SpannableStringBuilder(source); 36 Editable actual = mFactory.newEditable(source);
|
InputFilter_LengthFilterTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 28 CharSequence source; local 35 // cut off the source CharSequence from beginning to fit the filter length. 36 source = "abc"; 40 dest.insert(1, source); 44 dest.replace(5, 8, source);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/ |
PhysicsCollisionEventFactory.java | 5 * Redistribution and use in source and binary forms, with or without 9 * * Redistributions of source code must retain the above copyright 44 public PhysicsCollisionEvent getEvent(int type, PhysicsCollisionObject source, PhysicsCollisionObject nodeB, long manifoldPointObjectId) { 47 event = new PhysicsCollisionEvent(type, source, nodeB, manifoldPointObjectId); 49 event.refactor(type, source, nodeB, manifoldPointObjectId);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/ |
PhysicsCollisionEventFactory.java | 5 * Redistribution and use in source and binary forms, with or without 9 * * Redistributions of source code must retain the above copyright 45 public PhysicsCollisionEvent getEvent(int type, PhysicsCollisionObject source, PhysicsCollisionObject nodeB, ManifoldPoint cp) { 48 event = new PhysicsCollisionEvent(type, source, nodeB, cp); 50 event.refactor(type, source, nodeB, cp);
|
/external/libvpx/vpx_scale/include/generic/ |
vpxscale_depricated.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. 26 extern void (*vp8_horizontal_line_1_2_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 27 extern void (*vp8_horizontal_line_3_5_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); 28 extern void (*vp8_horizontal_line_4_5_scale)(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
|
/external/valgrind/main/none/tests/s390x/ |
ex_clone.c | 10 char source[40] = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\0"; variable 32 ::"a" (buf2), "a" (source) 55 ::"a" (target), "a" (source)
|
/external/webkit/Source/JavaScriptCore/wtf/ |
PossiblyNull.h | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 38 PossiblyNull(const PossiblyNull<T>& source) 39 : m_data(source.m_data) 41 source.m_data = 0;
|
/external/webkit/Source/WebCore/page/ |
SpeechInputResult.cpp | 4 * Redistribution and use in source and binary forms, with or without 7 * * Redistributions of source code must retain the above copyright 38 PassRefPtr<SpeechInputResult> SpeechInputResult::create(const SpeechInputResult& source) 40 return adoptRef(new SpeechInputResult(source.m_utterance, source.m_confidence));
|
/libcore/luni/src/test/java/libcore/java/nio/ |
OldDirectIntBufferTest.java | 33 int[] source = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }; local 35 intBuffer.put(source, 2, 2); 36 intBuffer.put(source, 4, 2);
|
OldDirectShortBufferTest.java | 33 short[] source = { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }; local 35 shortBuffer.put(source, 2, 2); 36 shortBuffer.put(source, 4, 2);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSources.java | 2 * Copyright (C) 2010 The Android Open Source Project 29 private final HashMap<String, Source> mSources = new HashMap<String, Source>(); 31 public void addSource(Source source) { 32 mSources.put(source.getName(), source); local 35 public Source getSource(String name) { 39 public Collection<Source> getSources() { 43 public Source getWebSearchSource() [all...] |
/external/v8/src/arm/ |
lithium-gap-resolver-arm.cc | 2 // Redistribution and use in source and binary forms, with or without 6 // * Redistributions of source code must retain the above copyright 53 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 65 ASSERT(moves_[i].source()->IsConstantOperand()); 76 // moves to perform, ignoring any move that is redundant (the source is 95 // be encountering the starting move again. So by spilling the source of 98 // its destination. All other moves from the spilled source have been 109 ASSERT(moves_[index].source() != NULL); // Or else it will look eliminated. 114 // dependencies. Any unperformed, unpending move with a source the same 122 // and all other moves with the same source as moves_[root_index_] ar 167 LOperand* source = moves_[index].source(); local 208 LOperand* source = moves_[index].source(); local [all...] |
/external/v8/src/mips/ |
lithium-gap-resolver-mips.cc | 2 // Redistribution and use in source and binary forms, with or without 6 // * Redistributions of source code must retain the above copyright 54 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 66 ASSERT(moves_[i].source()->IsConstantOperand()); 77 // moves to perform, ignoring any move that is redundant (the source is 96 // be encountering the starting move again. So by spilling the source of 99 // its destination. All other moves from the spilled source have been 110 ASSERT(moves_[index].source() != NULL); // Or else it will look eliminated. 115 // dependencies. Any unperformed, unpending move with a source the same 123 // and all other moves with the same source as moves_[root_index_] ar 168 LOperand* source = moves_[index].source(); local 211 LOperand* source = moves_[index].source(); local [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
DigitsKeyListenerTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 71 String source = "123456"; local 76 assertNull(digitsKeyListener.filter(source, 0, source.length(), 80 source = "a1b2c3d"; 81 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(), 85 source = "-a1.b2c3d"; 86 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length() 117 String source = "-123456"; local 181 String source = "123.456"; local 247 String source = "-123.456"; local [all...] |
/external/webkit/Source/WebCore/html/parser/ |
HTMLEntityParser.cpp | 6 * Redistribution and use in source and binary forms, with or without 9 * 1. Redistributions of source code must retain the above copyright 88 void unconsumeCharacters(SegmentedString& source, const Vector<UChar, 10>& consumedCharacters) 91 source.push(consumedCharacters[0]); 93 source.push(consumedCharacters[0]); 94 source.push(consumedCharacters[1]); 96 source.prepend(SegmentedString(String(consumedCharacters.data(), consumedCharacters.size()))); 101 bool consumeHTMLEntity(SegmentedString& source, Vector<UChar, 16>& decodedEntity, bool& notEnoughCharacters, UChar additionalAllowedCharacter) 120 while (!source.isEmpty()) { 121 UChar cc = *source; [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
Sources.java | 2 * Copyright (C) 2009 The Android Open Source Project 87 // Create fallback contacts source for on-phone contacts 113 for (ContactsSource source : sources) { 114 addSource(source); 118 protected void addSource(ContactsSource source) { 119 mSources.put(source.accountType, source); 120 mKnownPackages.add(source.resPackageName); 146 // Invalidate cache of existing source 149 // Unknown source, so reload from scratc 207 ContactsSource source; local 256 final ContactsSource source = getInflatedSource(account.type, local 279 final ContactsSource source = mSources.get(accountType); local 303 ContactsSource source = mSources.get(accountType); local [all...] |
/sdk/assetstudio/src/com/android/assetstudiolib/ |
Util.java | 2 * Copyright (C) 2011 The Android Open Source Project 71 * @param source The source image. 76 public static BufferedImage scaledImage(BufferedImage source, int width, int height) { 77 Image scaledImage = source.getScaledInstance(width, height, Image.SCALE_SMOOTH); 90 * @param source The source image. 92 * @return A new, blurred image, or the source image if no blur is performed. 94 public static BufferedImage blurredImage(BufferedImage source, double radius) { 96 return source; [all...] |
/bionic/libc/kernel/common/linux/ |
udp.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 24 __u16 source; member in struct:udphdr
|
/development/ndk/platforms/android-3/include/linux/ |
udp.h | 18 __u16 source; member in struct:udphdr
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
Main.java | 66 public static void parse(File source) throws Exception 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 123 // and tell the lexer that that is the character source. 127 lexer.setCharStream(new ANTLRFileStream(source, "UTF8")) [all...] |
/external/bluetooth/glib/gobject/ |
gsourceclosure.c | 136 GSource *source, 140 GSourceFunc closure_callback = source->source_funcs->closure_callback; 144 if (source->source_funcs == &g_io_watch_funcs) 146 else if (source->source_funcs == &g_timeout_funcs || 147 source->source_funcs == &g_idle_funcs) 163 * @source: the source 166 * Set the callback for a source as a #GClosure. 168 * If the source is not one of the standard GLib types, the @closure_callback 173 g_source_set_closure (GSource *source, [all...] |