Searched defs:to (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/compile/mclinker/lib/LD/
H A DELFSectionMap.cpp16 const char* to; member in struct:NameMap
78 NamePair& pair = append(map[i].from, map[i].to, exist);
81 << map[i].to
83 << pair.to;
/frameworks/native/libs/utils/
H A DTextOutput.cpp10 * Unless required by applicable law or agreed to in writing, software
37 TextOutput& operator<<(TextOutput& to, bool val) argument
39 if (val) to.print("true", 4);
40 else to.print("false", 5);
41 return to;
44 TextOutput& operator<<(TextOutput& to, int val) argument
48 to.print(buf, strlen(buf));
49 return to;
52 TextOutput& operator<<(TextOutput& to, long val) argument
56 to
60 operator <<(TextOutput& to, unsigned int val) argument
68 operator <<(TextOutput& to, unsigned long val) argument
76 operator <<(TextOutput& to, long long val) argument
84 operator <<(TextOutput& to, unsigned long long val) argument
92 print_float(TextOutput& to, double value) argument
104 operator <<(TextOutput& to, float val) argument
109 operator <<(TextOutput& to, double val) argument
114 operator <<(TextOutput& to, const void* val) argument
127 operator <<(TextOutput& to, const TypeCode& val) argument
146 operator <<(TextOutput& to, const HexDump& val) argument
[all...]
H A DString16.cpp10 * Unless required by applicable law or agreed to in writing, software
115 ALOG_ASSERT(buf, "Unable to allocate shared buffer");
129 ALOG_ASSERT(buf, "Unable to allocate shared buffer");
270 printf("Insert in to %s: pos=%d, len=%d, myLen=%d, chrs=%s\n",
412 TextOutput& operator<<(TextOutput& to, const String16& val) argument
414 to << String8(val).string();
415 return to;
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DForwarder.java10 * Unless required by applicable law or agreed to in writing, software
29 * accepts an incoming connection, and it will then forward the incoming/outgoing streams to a
36 private Socket from, to; field in class:Forwarder
41 public Forwarder (Socket from, Socket to, ForwardServer server) { argument
44 this.to = to;
49 Thread outgoing = new Thread(new SocketPipe(from, to));
50 Thread incoming = new Thread(new SocketPipe(to, from));
59 shutdown(to);
/frameworks/base/tools/aidl/
H A Dgenerate_java.cpp80 FILE* to; local
82 to = stdout;
84 /* open file in binary mode to ensure that the tool produces the
87 to = fopen(filename.c_str(), "wb");
88 if (to == NULL) {
89 fprintf(stderr, "unable to open %s for write\n", filename.c_str());
94 document->Write(to);
96 fclose(to);
/frameworks/native/include/utils/
H A DStrongPointer.h10 * Unless required by applicable law or agreed to in writing, software
30 TextOutput& printStrongPointer(TextOutput& to, const void* val);
114 TextOutput& operator<<(TextOutput& to, const sp<T>& val);
211 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument
213 return printStrongPointer(to, val.get());
H A DTextOutput.h10 * Unless required by applicable law or agreed to in writing, software
39 inline Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } argument
51 // Text output stream for printing to the log (via utils/Log.h).
54 // Text output stream for printing to stdout.
57 // Text output stream for printing to stderr.
62 TextOutput& endl(TextOutput& to);
63 TextOutput& indent(TextOutput& to);
64 TextOutput& dedent(TextOutput& to);
126 endl(TextOutput& to) argument
132 indent(TextOutput& to) argument
138 dedent(TextOutput& to) argument
144 operator <<(TextOutput& to, const char* str) argument
150 operator <<(TextOutput& to, char c) argument
156 operator <<(TextOutput& to, TextOutputManipFunc func) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp10 * Unless required by applicable law or agreed to in writing, software
61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument
65 to->meta()->setInt32("rtp-time", rtpTime);
68 to->setInt32Data(from->int32Data());
H A DASessionDescription.cpp10 * Unless required by applicable law or agreed to in writing, software
266 float from, to; local
267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) {
271 *durationUs = (int64_t)((to - from) * 1E6);
316 // Failed to parse float or trailing "dash".
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java10 * Unless required by applicable law or agreed to in writing, software
52 break; // an animator can only be attached to one object
57 public static Tweener to(Object object, long duration, Object... vars) { method in class:Tweener
63 // Iterate through arguments and discover properties to animate
136 return Tweener.to(object, duration, vars);
139 // Listener to watch for completed animations and remove them.
/frameworks/compile/mclinker/include/mcld/LD/
H A DSectionMap.h23 * \brief descirbe the mappings of input section's name (or prefix) to
49 // add a mapping from input substr to output name and offset.
53 // find - return the iterator to the mapping
56 // at - return the pointer to the mapping
83 // to SectionMap
89 const char* to; member in struct:mcld::SectionMap::SectionNameMapping
92 // used to store common mappings of ELF and other formants
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DReadRecInd.java11 * Unless required by applicable law or agreed to in writing, software
30 * @param to the to value
32 * NullPointerException if messageId or to is null.
38 EncodedStringValue[] to) throws InvalidHeaderValueException {
44 setTo(to);
34 ReadRecInd(EncodedStringValue from, byte[] messageId, int mmsVersion, int readStatus, EncodedStringValue[] to) argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp10 * Unless required by applicable law or agreed to in writing, software
137 ALOGE("calloc failed to allocate memory: %d bytes", kBytes);
141 // Resample to target quality
161 // Convert back to 2 channels and 16 bits
168 sp<MetaData> to = outBuffer->meta_data(); local
171 to->setInt64(kKeyTime, timeUs);
231 // At this point we cannot switch to a new AudioResampler because
255 ALOGV("setting mInitialTimeStampUs to %lld", mInitialTimeStampUs);
260 // Now copy data to the destination
/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java10 * Unless required by applicable law or agreed to in writing, software
25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
27 * views you want to display the columns, and the XML file that defines
34 * returned value is false and the view to bind is a TextView,
36 * is false and the view to bind is an ImageView,
44 * to get control over the filtering process. You can refer to
50 * A list of columns containing the data to bind to th
77 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
102 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) argument
360 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
H A DSimpleAdapter.java10 * Unless required by applicable law or agreed to in writing, software
30 * An easy adapter to map static data to views defined in an XML file. You can specify the data
31 * backing the list as an ArrayList of Maps. Each entry in the ArrayList corresponds to one row
33 * defines the views used to display the row, and a mapping from keys in the Map to specific
36 * Binding data to views occurs in two phases. First, if a
68 * @param data A List of Maps. Each entry in the List corresponds to one row in the list. The
72 * item. The layout file should include at least those named views defined in "to"
73 * @param from A list of column names that will be added to th
79 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument
[all...]
H A DSimpleCursorTreeAdapter.java10 * Unless required by applicable law or agreed to in writing, software
25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
27 * you want to display the columns, and the XML file that defines the appearance
34 * returned value is false and the view to bind is a TextView,
36 * is false and the view to bind is an ImageView,
42 /** The name of the columns that contain the data to display for a group. */
45 /** The indices of columns that contain data to display for a group. */
53 /** The name of the columns that contain the data to display for a child. */
56 /** The indices of columns that contain data to displa
212 bindView(View view, Context context, Cursor cursor, int[] from, int[] to) argument
[all...]
H A DSimpleExpandableListAdapter.java10 * Unless required by applicable law or agreed to in writing, software
28 * An easy adapter to map static data to group and child views defined in an XML
30 * Maps. Each entry in the ArrayList corresponds to one group in the expandable
32 * that defines the views used to display a group, and a mapping from keys in
33 * the Map to specific views. This process is similar for a child, except it is
35 * where the first List corresponds to the group of the child, the second List
36 * corresponds to the position of the child within the group, and finally the
60 * @param groupData A List of Maps. Each entry in the List corresponds to
74 * corresponds to
243 bindView(View view, Map<String, ?> data, String[] from, int[] to) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java10 * Unless required by applicable law or agreed to in writing, software
164 // check columns to see if rearrangement tracked (should be swapped now)
171 * Test that you can safely construct with a null cursor *and* null to/from arrays.
181 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays
204 * Test going from one mapping to a different mapping
249 * This is simply a way to sneak a look at the protected mFrom() array. A more API-
250 * friendly way to do this would be to mock out a View and a ViewBinder and exercise
256 String[] from, int[] to) {
255 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/base/tools/aapt/
H A DSourcePos.cpp26 void print(FILE* to) const;
87 ErrorPos::print(FILE* to) const
92 fprintf(to, "%s:%d: %s %s\n", this->file.string(), this->line, type, this->error.string());
94 fprintf(to, "%s: %s %s\n", this->file.string(), type, this->error.string());
162 SourcePos::printErrors(FILE* to) argument
166 it->print(to);
/frameworks/native/include/binder/
H A DParcel.h10 * Unless required by applicable law or agreed to in writing, software
112 // descriptors are dup'ed, so it is safe to delete the native_handle
119 // The Parcel does not take ownership of the given fd unless you ask it to.
126 // Writes a blob to the parcel.
168 // response headers. Callers should use this to read & parse the
180 // in the parcel, which you do not own -- use dup() to get your own copy.
205 void print(TextOutput& to, uint32_t flags = 0) const;
319 inline TextOutput& operator<<(TextOutput& to, const Parcel& parcel) argument
321 parcel.print(to);
322 return to;
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DScriptGroup.java10 * Unless required by applicable law or agreed to in writing, software
26 * internally or to an external allocation. For the internal
33 * input of a kernal. Inputs bounds to a script are set directly
38 * script kernels and connections. Attempting to create a
39 * ScriptGroup with multiple DAGs or attempting to create
57 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
59 mToK = to;
63 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
65 mToF = to;
96 * Allocation to b
309 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument
344 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSelectorView.java10 * Unless required by applicable law or agreed to in writing, software
68 Log.w(TAG, "Failed to get intent for assist activity");
212 // XXX Hack. We need to substitute the icon here but haven't formalized
234 void doTransition(View view, float to) { argument
238 mAnim = ObjectAnimator.ofFloat(view, "alpha", to);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DScriptGroup.java10 * Unless required by applicable law or agreed to in writing, software
26 * internally or to an external allocation. For the internal
33 * input of a kernal. Inputs bounds to a script are set directly
51 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
53 mToK = to;
57 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
59 mToF = to;
90 * Allocation to be used for the kernels which require a kernel
91 * input and that input is provided external to the group.
95 * @param a The allocation to connec
272 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument
307 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DSimpleCursorAdapter.java10 * Unless required by applicable law or agreed to in writing, software
28 * Used to write apps that run on platforms prior to Android 3.0. When running
30 * to switch to the framework's implementation. See the framework SDK
35 * A list of columns containing the data to bind to the UI.
41 * A list of View ids representing the views to which the data must be bound.
62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
64 mTo = to;
87 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) argument
343 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp10 * Unless required by applicable law or agreed to in writing, software
64 ALOGE("Unable to create data source for '%s'.", uri);
71 ALOGE("Unable to instantiate an extractor for '%s'.", uri);
161 ALOGV("unable to instantiate video decoder.");
224 "to the video data.");
299 ALOGE("Unable to instantiate color conversion from format 0x%08x to "
312 ALOGE("Colorconverter failed to convert frame.");
334 ALOGV("extractor doesn't publish metadata, failed to initialize?");
368 ALOGV("unable to instantiat
449 int to; member in struct:android::Map
[all...]

Completed in 2442 milliseconds

12