/development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/ |
Notepadv3.java | 10 * Unless required by applicable law or agreed to in writing, software 56 // Create an array to specify the fields we want to display in the list (only TITLE) 59 // and an array of the fields we want to bind those fields to (in this case just text1) 60 int[] to = new int[]{R.id.text1}; local 62 // Now create a simple cursor adapter and set it to display 64 new SimpleCursorAdapter(this, R.layout.notes_row, notesCursor, from, to);
|
/device/google/dragon/audio/hal/ |
cras_dsp_ini.h | 34 /* This is only used if there is a flow connects to this port, 55 enum port_type type; /* the type of the ports this flow connects to */ 58 struct plugin *to; member in struct:flow
|
/external/boringssl/src/crypto/asn1/ |
a_int.c | 6 * The implementation was written so as to conform with Netscapes SSL. 9 * the following conditions are aheared to. The following conditions 10 * apply to all code found in this distribution, be it the RC4, RSA, 16 * the code are not to be removed. 41 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 45 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 97 * encoding, except if the first byte is >= 0x80 we need to add a zero pad. 102 * adding one to the result. This can be done less messily with a little trick. 104 * complement and 0 by the add one (due to carry) so just copy as many trailing 105 * zeros to the destination as there are in the source. The carry will add on 186 unsigned char *to,*s; local [all...] |
/external/boringssl/src/crypto/x509/ |
x_name.c | 6 * The implementation was written so as to conform with Netscapes SSL. 9 * the following conditions are aheared to. The following conditions 10 * apply to all code found in this distribution, be it the RC4, RSA, 16 * the code are not to be removed. 41 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 45 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 119 * form and caches encodings so we have to process the internal form and convert 120 * to the external form. 220 /* Convert internal representation to X509_NAME structure */ 319 * In it all strings are converted to UTF8, leading, trailing an 415 unsigned char *to, *from; local [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 23 // Input to a test is a zero-terminated string str with given length 24 // Accesses to the bytes to the left and to the right of str 25 // are presumed to produce OOB errors 35 // We don't insert RedZones to the left of global variables 42 // String is not zero-terminated, strlen will lead to OOB access 61 // TODO(samsonov): Fix expected messages in StrLenOOBTestTemplate to 62 // make test for stack_string work. Or move it to output tests. 90 // Argument points to not allocated memory 122 char *to = Ident((char*)malloc(to_size)); local 145 char *to = Ident((char*)malloc(to_size)); local 356 char *to = MallocAndMemsetString(to_size); local 391 char *to = MallocAndMemsetString(to_size); local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_deadlock_detector1.cc | 124 CHECK_GT(len, 0U); // Hm.. cycle of 10 locks? I'd like to see that. 131 uptr to = path[(i + 1) % len]; local 133 DDMutex *m1 = (DDMutex*)dd.getData(to); 137 dd.findEdge(from, to, &stk_from, &stk_to, &unique_tid); 138 // Printf("Edge: %zd=>%zd: %u/%u T%d\n", from, to, stk_from, stk_to,
|
/external/google-benchmark/test/ |
benchmark_test.cc | 126 // No need to lock test_vector_mu here as this is running single-threaded. 157 int to = from + thread_size; local 164 for (int i = from; i < to; i++) { 165 // No need to lock test_vector_mu as ranges
|
/external/guava/guava/src/com/google/common/base/ |
CaseFormat.java | 10 * Unless required by applicable law or agreed to in writing, software 118 * Converts the specified {@code String str} from this format to the specified {@code format}. A 119 * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then 122 public final String to(CaseFormat format, String str) { method in class:CaseFormat 153 * Returns a {@code Converter} that converts strings from this format to {@code targetFormat}. 175 return s == null ? null : sourceFormat.to(targetFormat, s); 180 return s == null ? null : targetFormat.to(sourceFormat, s);
|
/external/guava/guava/src/com/google/common/collect/ |
Iterables.java | 10 * Unless required by applicable law or agreed to in writing, software 77 * @deprecated no need to use this 126 * Removes, from an iterable, every element that belongs to the provided 132 * @param removeFrom the iterable to (potentially) remove elements from 133 * @param elementsToRemove the elements to remove 144 * Removes, from an iterable, every element that does not belong to the 150 * @param removeFrom the iterable to (potentially) remove elements from 151 * @param elementsToRetain the elements to retain 165 * @param removeFrom the iterable to (potentially) remove elements from 185 // Note: Not all random access lists support set() so we need to deal wit 188 int to = 0; local [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterables.java | 10 * Unless required by applicable law or agreed to in writing, software 75 * @deprecated no need to use this 124 * Removes, from an iterable, every element that belongs to the provided 130 * @param removeFrom the iterable to (potentially) remove elements from 131 * @param elementsToRemove the elements to remove 142 * Removes, from an iterable, every element that does not belong to the 148 * @param removeFrom the iterable to (potentially) remove elements from 149 * @param elementsToRetain the elements to retain 163 * @param removeFrom the iterable to (potentially) remove elements from 183 // Note: Not all random access lists support set() so we need to deal wit 186 int to = 0; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
dadrcal.cpp | 106 // build to calendar 107 // Headers { "locale","from","operation","params","to" } 113 errln(caseString+": Unable to get param '"+param+"' " 120 errln(caseString+": Unable to instantiate calendar for " 130 errln(caseString+": Unable to get parameter '"+param+"' " 140 errln(caseString+": Failed to parse '"+param+"' parameter: " 150 errln(caseString+": Unable to get parameter '"+param+"' " 155 errln(caseString+": Failed to parse '"+param+"' parameter: " 166 errln(caseString+": Unable to get parameter '"+param+"' " 172 errln(caseString+": Failed to parse '"+param+"' parameter: 180 UnicodeString to = testSetting=currentCase->getString(param, status); local 421 UnicodeString to = currentCase->getString("to", status); local [all...] |
/external/libexif/libexif/canon/ |
exif-mnote-data-canon.c | 17 * License along with this library; if not, write to the 67 unsigned int from = 0, to; local 71 to = from + mnote_canon_entry_count_values (&dc->entries[*m]); 72 if (to > n) { 76 from = to; 152 /* Corrupt data: EXIF data size is limited to the 160 /* Ensure even offsets. Set padding bytes to 0. */ 188 * semantics to express that. 194 * all, so it isn't trivial to find out what is a normal 195 * return, and what is a reaction to an error condition [all...] |
/external/ltrace/sysdeps/linux-gnu/ia64/ |
breakpoint.c | 17 * along with this program; if not, write to the Free Software 36 int to = from + len; local 38 int to_byte = to / 8; 46 c = ((unsigned char)(c << (8 - to % 8))) >> (8 - to % 8); 55 if (from_byte < to_byte && (to % 8 != 0)) { 57 c = ((unsigned char)(c << (8 - to % 8))) >> (8 - to % 8); 67 int to = from + len; local 69 int to_byte = to / 8 [all...] |
/external/mesa3d/src/gallium/winsys/sw/fbdev/ |
fbdev_sw_winsys.c | 7 * Permission is hereby granted, free of charge, to any person obtaining a 9 * to deal in the Software without restriction, including without limitation 10 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 11 * and/or sell copies of the Software, and to permit persons to whom the 12 * Software is furnished to do so, subject to the following conditions: 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 95 /* nothing to copy */ 105 /* nothing to copy * 119 char *to = (char *) fbmem + fbdev->stride * (dst->y + i) + row_offset; local [all...] |
/external/tpm2/ |
MathFunctions.c | 27 TPM2B *b // IN/OUT: number to normalize 31 UINT16 to; local 35 for(to = 0; from < size; to++, from++ ) 36 b->buffer[to] = b->buffer[from]; 44 // This function is used to adjust a TPM2B so that the number has the desired number of bytes. This is 54 TPM2B *in, // IN:OUT TPM2B number to de-normalize 58 UINT32 to; local 61 // normalized to a value smaller than the requested size and then de-normalize 71 // move the bytes to the 'right [all...] |
/external/v8/src/ |
bignum.cc | 25 // Guaranteed to lie in one Bigit. 71 int to = from + digits_to_read; local 73 for (int i = from; i < to; ++i) { 108 return 0; // To make compiler happy. 120 // These bigits are guaranteed to be "full". 154 // If this has a greater exponent than other append zero-bigits to this. 195 // We require this to be bigger than other. 334 // In the worst case we have to accumulate nb-digits products of digit*digit. 336 // Assert that the additional number of bits in a DoubleChunk are enough to 347 // We have two loops to avoid some 'if's in the loop [all...] |
/external/v8/src/compiler/ |
jump-threading.cc | 29 void Forward(RpoNumber to) { 31 RpoNumber to_to = result[to.ToInt()]; 33 if (to == from) { 37 TRACE(" fw %d -> %d (recurse)\n", from.ToInt(), to.ToInt()); 38 stack.push(to); 39 result[to.ToInt()] = onstack(); 42 TRACE(" fw %d -> %d (cycle)\n", from.ToInt(), to.ToInt()); 43 result[from.ToInt()] = to; // break the cycle. 46 TRACE(" fw %d -> %d (forward)\n", from.ToInt(), to.ToInt()); 72 // Process the instructions in a block up to a non-empty instruction 120 int to = result[i].ToInt(); local [all...] |
/external/v8/test/unittests/compiler/ |
move-optimizer-unittest.cc | 16 void AddMove(Instruction* instr, TestOperand from, TestOperand to, 19 parallel_move->AddMove(ConvertMoveArg(from), ConvertMoveArg(to)); 33 auto to = ConvertMoveArg(to_op); local 36 if (move->source().Equals(from) && move->destination().Equals(to)) {
|
/external/v8/tools/ |
generate-ten-powers.scm | 13 ;; contributors may be used to endorse or promote products derived 18 ;; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22 ;; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 88 (define (generate-powers from to mantissa-size) 91 (nb-elements (+ (- from) to 1)) 97 ;; want to create the matissa of 1/ten^i. However the mantissa must be 98 ;; normalized (start with a 1). -> we have to shift the number. 124 (when (<= i to) 135 (define (print-c powers from to struct-type 184 "// This file is intended to be included inside another .h or .cc files\n [all...] |
/external/valgrind/VEX/priv/ |
s390_disasm.c | 24 along with this program; if not, write to the Free Software 41 /* Return the mnemonic padded with blanks to its right */ 112 HChar *to; local 125 for (from = base, to = buf; *from; ++from, ++to) { 126 *to = *from; 129 for (from = suffix[mask >> 1]; *from; ++from, ++to) { 130 *to = *from; 132 *to = '\0'; 138 /* Common function used to construct a mnemonic based on a condition cod 143 HChar *to; local [all...] |
/external/valgrind/tests/ |
s390x_features.c | 32 // z9 -- Host needs to be a z9 (and nothing else) 33 // z9: -- Host needs to be a z9 or any later model 34 // :z9 -- Host needs to be a model up to and including z9 35 // z900:z9 -- Host needs to be at least a z900 and at most a z9. 77 /* Array needs to be sorted chronologically. Oldest to newest */ 129 claimed to be a regular file. */ 198 Principles of Ops "facility indications" section to a bit mask */ 205 model_info *host, *from, *to, *p local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ASessionDescription.cpp | 10 * 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/android/widget/ |
SimpleCursorAdapter.java | 10 * 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 the UI 139 final int[] to = mTo; local [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
ObservableArrayListTest.java | 10 * Unless required by applicable law or agreed to in writing, software 59 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) { 60 mNotifications.add(new ListChange(MOVE, from, to, count)); 75 this.to = 0; 79 public ListChange(int change, int from, int to, int count) { 81 this.to = to; 93 public final int to; field in class:ObservableArrayListTest.ListChange
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SimpleCursorAdapter.java | 10 * 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) { 64 mTo = to; 123 final int[] to = mTo; local [all...] |