/external/chromium/net/ftp/ |
ftp_network_transaction_unittest.cc | 26 // Size we use for IOBuffers used to receive data from the test data socket. 60 virtual MockWriteResult OnWrite(const std::string& data) { 62 return MockWriteResult(true, data.length()); 65 return Verify("USER anonymous\r\n", data, PRE_PASSWD, 71 return Verify("PASS chrome@example.com\r\n", data, PRE_SYST, 75 return Verify("SYST\r\n", data, PRE_PWD, "215 UNIX\r\n"); 77 return Verify("PWD\r\n", data, PRE_TYPE, 80 return Verify(std::string("TYPE ") + data_type_ + "\r\n", data, 83 return Verify("EPSV\r\n", data, PRE_SIZE [all...] |
/external/chromium/chrome/browser/importer/ |
nss_decryptor_system_nss.cc | 80 * Data structure and template for encoding the result of an SDR operation 88 SECItem data; member in struct:SDRResult 97 { SEC_ASN1_OCTET_STRING, offsetof(SDRResult, data) }, 102 unpadBlock(SECItem *data, int blockSize, SECItem *result) 108 result->data = 0; 111 /* Remove the padding from the end if the input data */ 112 if (data->len == 0 || data->len % blockSize != 0) { 117 padLength = data->data[data->len-1] [all...] |
/external/doclava/src/com/google/doclava/ |
NavTree.java | 19 import com.google.clearsilver.jsilver.data.Data; 46 Data data = Doclava.makeHDF(); local 47 data.setValue("reference_tree", buf.toString()); 49 ClearPage.write(data, "gms_navtree_data.cs", "gms_navtree_data.js"); 51 ClearPage.write(data, "gcm_navtree_data.cs", "gcm_navtree_data.js"); 53 ClearPage.write(data, "navtree_data.cs", "navtree_data.js"); 62 Data data = Doclava.makeHDF() local [all...] |
/external/icu4c/test/intltest/ |
ucharstrietest.cpp | 65 void checkData(const StringAndValue data[], int32_t dataLength); 66 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption); 67 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength, 69 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 70 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 71 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 72 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 73 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 74 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength); 138 static const StringAndValue data[]= local 145 static const StringAndValue data[]={ local 152 static const StringAndValue data[]={ local 160 static const StringAndValue data[]={ local 168 static const StringAndValue data[]={ local 191 static const StringAndValue data[]={ local 208 static const StringAndValue data[]={ local 237 static const StringAndValue data[]={ local 250 static const StringAndValue data[]={ local 276 static const StringAndValue data[]={ local 291 static const StringAndValue data[]={ local 428 static const StringAndValue data[]={ local 565 static const StringAndValue data[]={ local 616 static const StringAndValue data[]={ local 638 static const StringAndValue data[]={ local 673 static const StringAndValue data[]={ local 701 static const StringAndValue data[]={ local 732 static const StringAndValue data[]={ local [all...] |
/frameworks/av/media/libstagefright/ |
MetaData.cpp | 94 const void *data; local 96 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) { 100 *value = (const char *)data; 107 const void *data; local 109 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) { 115 *value = *(int32_t *)data; 122 const void *data; local 124 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) { 130 *value = *(int64_t *)data; 137 const void *data; local 152 const void *data; local 170 const void *data; local 261 memcpy(storage(), data, size); local 293 const void *data = storage(); local [all...] |
/dalvik/libdex/ |
DexOptData.cpp | 18 * Functions to parse and manipulate the additional data tables added 27 * Check to see if a given data pointer is a valid double-word-aligned 49 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile) 51 const void* pOptStart = data + pDexFile->pOptHeader->optOffset; 52 const void* pOptEnd = data + length; 57 * Make sure the opt data start is in range and aligned. This may 60 * if the opt data header got corrupted, pOpt might not be 64 ALOGE("Bogus opt data start pointer"); 68 /* Make sure that the opt data length is a whole number of words. */ 70 ALOGE("Unaligned opt data area end") [all...] |
/device/generic/goldfish/sensors/ |
sensors_qemu.c | 116 ** This one is used to read sensor data from the hardware. 117 ** We implement this by simply reading the data from the 133 * the sensors data (it is passed to data__data_open() below 146 handle->data[0] = dup(ctl->fd); 231 SensorPoll* data = (void*)dev; local 233 D("%s: dev=%p fd=%d", __FUNCTION__, dev, handle->data[0]); 234 memset(&data->sensors, 0, sizeof(data->sensors)); 236 data->pendingSensors = 0; 237 data->timeStart = 0 250 SensorPoll* data = (void*)dev; local 290 SensorPoll* data = (void*)dev; local 401 SensorPoll* data = (SensorPoll*)dev; local [all...] |
/external/llvm/test/CodeGen/X86/ |
codemodel.ll | 6 @data = external global [0 x i32] ; <[0 x i32]*> [#uses=5] 11 ; CHECK-SMALL: movl data(%rip), %eax 13 ; CHECK-KERNEL: movl data, %eax 14 %0 = load i32* getelementptr ([0 x i32]* @data, i64 0, i64 0), align 4 ; <i32> [#uses=1] 21 ; CHECK-SMALL: movl data+40(%rip), %eax 23 ; CHECK-KERNEL: movl data+40, %eax 24 %0 = load i32* getelementptr ([0 x i32]* @data, i32 0, i64 10), align 4 ; <i32> [#uses=1] 31 ; CHECK-SMALL: movl data-40(%rip), %eax 34 %0 = load i32* getelementptr ([0 x i32]* @data, i32 0, i64 -10), align 4 ; <i32> [#uses=1] 43 ; CHECK-SMALL: movl data(%rax), %ea [all...] |
/external/openssh/regress/ |
multiplex.sh | 13 DATA=/bin/ls${EXEEXT} 38 ${SSH} -F $OBJ/ssh_config -S$CTL otherhost cat ${DATA} > ${COPY} 39 test -f ${COPY} || fail "ssh -Sctl: failed copy ${DATA}" 40 cmp ${DATA} ${COPY} || fail "ssh -Sctl: corrupted copy of ${DATA}" 44 ${SSH} -F $OBJ/ssh_config -S $CTL otherhost cat ${DATA} > ${COPY} 45 test -f ${COPY} || fail "ssh -S ctl: failed copy ${DATA}" 46 cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}" 50 echo "get ${DATA} ${COPY}" | [all...] |
/external/speex/libspeex/ |
speex_callbacks.c | 27 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 53 return callback->func(bits, state, callback->data); 75 EXPORT int speex_std_mode_request_handler(SpeexBits *bits, void *state, void *data) 79 speex_encoder_ctl(data, SPEEX_SET_MODE, &m); 83 EXPORT int speex_std_low_mode_request_handler(SpeexBits *bits, void *state, void *data) 87 speex_encoder_ctl(data, SPEEX_SET_LOW_MODE, &m); 91 EXPORT int speex_std_high_mode_request_handler(SpeexBits *bits, void *state, void *data) 95 speex_encoder_ctl(data, SPEEX_SET_HIGH_MODE, &m); 100 EXPORT int speex_std_vbr_request_handler(SpeexBits *bits, void *state, void *data) 104 speex_encoder_ctl(data, SPEEX_SET_VBR, &vbr) [all...] |
/external/v8/src/ |
apinatives.js | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 44 function Instantiate(data, name) { 45 if (!%IsTemplate(data)) return data; 46 var tag = %GetTemplateField(data, kApiTagOffset); 49 return InstantiateFunction(data, name); 51 var Constructor = %GetTemplateField(data, kApiConstructorOffset); 56 ConfigureTemplateInstance(result, data); 65 function InstantiateFunction(data, name) { 69 var serialNumber = %GetTemplateField(data, kApiSerialNumberOffset) [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
JSGlobalObjectFunctions.cpp | 56 if (!cstr.data()) 60 const char* p = cstr.data(); 223 const UChar* data = s.characters(); local 226 while (p < length && isStrWhiteSpace(data[p])) 231 if (data[p] == '+') 233 else if (data[p] == '-') { 239 if ((radix == 0 || radix == 16) && length - p >= 2 && data[p] == '0' && (data[p + 1] == 'x' || data[p + 1] == 'X')) { 243 if (p < length && data[p] == '0' [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
StringHasher.h | 33 // char* data is interpreted as latin-encoded (zero extended to 16 bits). 91 template<typename T, UChar Converter(T)> static inline unsigned computeHash(const T* data, unsigned length) 98 hasher.addCharacters(Converter(data[0]), Converter(data[1])); 99 data += 2; 103 hasher.addCharacter(Converter(*data)); 108 template<typename T, UChar Converter(T)> static inline unsigned computeHash(const T* data) 113 UChar b0 = Converter(*data++); 116 UChar b1 = Converter(*data++); 128 template<typename T> static inline unsigned computeHash(const T* data, unsigned length [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
arith_routins.h | 31 * - dataQ7 : data vector in Q7 34 * - lenData : data vector length 69 * - lenData : data vector length 72 * - dataQ7 : input: dither vector, output: data vector, in Q7 78 WebRtc_Word16 *data, 91 * - data : data vector 93 * - lenData : data vector length 100 const WebRtc_Word16 *data, 117 * - lenData : data vector lengt [all...] |
/packages/apps/Settings/src/com/android/settings/net/ |
ChartDataLoader.java | 37 * Loader for historical chart data for both network and UID details. 88 final ChartData data = new ChartData(); local 89 data.network = mSession.getHistoryForNetwork(template, fields); 96 data.detailDefault = collectHistoryForUid( 97 template, uid, SET_DEFAULT, data.detailDefault); 98 data.detailForeground = collectHistoryForUid( 99 template, uid, SET_FOREGROUND, data.detailForeground); 103 data.detail = new NetworkStatsHistory(data.detailForeground.getBucketDuration()); 104 data.detail.recordEntireHistory(data.detailDefault) [all...] |
/developers/samples/android/input/multitouch/BasicMultitouch/BasicMultitouch/src/main/java/com/example/android/input/multitouch/basicMultitouch/ |
TouchDisplayView.java | 38 // Hold data for active touch pointer IDs 45 * Holds data related to a touch pointer, including its current position, 72 TouchHistory data = sPool.acquire(); local 73 if (data == null) { 74 data = new TouchHistory(); 77 data.setTouch(x, y, pressure); 79 return data; 154 TouchHistory data = TouchHistory.obtain(event.getX(0), event.getY(0), local 156 data.label = "id: " + 0; 159 * Store the data under its pointer identifier. The pointe 184 TouchHistory data = TouchHistory.obtain(event.getX(index), event.getY(index), local 211 TouchHistory data = mTouches.get(id); local 234 TouchHistory data = mTouches.get(id); local 264 TouchHistory data = mTouches.get(id); local 303 TouchHistory data = mTouches.valueAt(i); local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/api/webNavigation/basic/ |
navigation_collector.js | 122 * @param {!{tabId: number, frameId: number, url: string}} data Information 129 parseId_: function(data) { 130 return data.tabId + '-' + data.frameId; 161 * @param {!Object} data The event data generated for this request. 164 onBeforeRetargetListener_: function(data) { 165 var id = this.parseId_(data); 166 this.prepareDataStorage_(id, data.url); 168 this.pending_[id].sourceUrl = data.sourceUrl [all...] |
/external/webrtc/src/system_wrappers/source/ |
sort.cc | 223 inline void IntegerSort(void* data, WebRtc_UWord32 numOfElements) 225 DataType* dataT = static_cast<DataType*>(data); 230 inline void FloatSort(void* data, WebRtc_UWord32 numOfElements) 232 DataType* dataT = static_cast<DataType*>(data); 238 inline void StdSort(void* data, WebRtc_UWord32 numOfElements) 240 DataType* dataT = static_cast<DataType*>(data); 266 inline WebRtc_Word32 TeardownKeySort(void* data, 270 WebRtc_UWord8* ptrData = static_cast<WebRtc_UWord8*>(data); 290 inline WebRtc_Word32 IntegerKeySort(void* data, void* key, 303 if (TeardownKeySort<KeyType>(data, ptrSortKey, numOfElements [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatDirectoryEntry.java | 65 private final byte[] data; field in class:FatDirectoryEntry 69 FatDirectoryEntry(byte[] data, boolean readOnly) { 72 this.data = data; 103 final byte[] data = new byte[SIZE]; 104 buff.get(data); 105 return new FatDirectoryEntry(data, readOnly); 177 return LittleEndian.getUInt8(data, OFFSET_ATTRIBUTES); 181 LittleEndian.setInt8(data, OFFSET_ATTRIBUTES, flags); 208 final byte[] data = new byte[SIZE] 212 data, 0, local [all...] |
/hardware/invensense/mlsdk/mllite/ |
mlarray.c | 28 * @brief APIs to read different data sets from FIFO. 54 * @param data 74 * @param data 93 * @param data 94 * A pointer to the data to be passed back to the user. 113 * @param data 119 inv_error_t inv_get_rot_mat(long *data) 126 if (NULL == data) { 131 inv_quaternion_to_rotation(qdata, data); 144 * @param data [all...] |
/external/srec/srec/test/SRecTest/src/ |
SRecTest.c | 139 APPL_GRAMMAR_DATA grammars [MAX_NUM_REC_CONTEXTS]; /* Grammar data */ 147 LCHAR raw_waveform_filename [P_PATH_MAX]; /* Name of file of saved waveform data. */ 148 PFile *raw_waveform_file; /* Pointer to file of saved waveform data. */ 167 static int srec_test_recognize_nist_file ( SR_Grammar *active_grammar, ApplicationData *data, FILE *results_file, 169 static int srec_test_recognize_pcm_file ( SR_Grammar *active_grammar, ApplicationData *data, FILE *results_file, 171 static void srec_test_log_recognition_failure ( ApplicationData *data ); 257 void srec_test_delete_grammar ( ApplicationData *data, int grammar_num ) 261 if ( grammar_num < data->grammarCount ) 263 if ( ( data->grammarCount - grammar_num ) > 1 ) 265 memmove ( &data->grammars [grammar_num], &data->grammars [data->grammarCount - 1] [all...] |
/external/webkit/Source/WebKit/mac/Plugins/ |
WebNetscapePluginEventHandlerCocoa.mm | 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 54 event.data.draw.context = context; 55 event.data.draw.x = rect.origin.x; 56 event.data.draw.y = rect.origin.y; 57 event.data.draw.width = rect.size.width; 58 event.data.draw.height = rect.size.height; 113 event.data.mouse.modifierFlags = [nsEvent modifierFlags]; 114 event.data.mouse.buttonNumber = [nsEvent buttonNumber]; 115 event.data.mouse.clickCount = clickCount; 116 event.data.mouse.pluginX = point.x [all...] |
/external/tcpdump/ |
print-smb.c | 93 trans2_findfirst(const u_char *param, const u_char *data, int pcnt, int dcnt) 104 printf("data:\n"); 105 print_data(data, dcnt); 110 trans2_qfsinfo(const u_char *param, const u_char *data, int pcnt, int dcnt) 135 smb_fdata(data, fmt, data + dcnt, unicodestr); 138 printf("data:\n"); 139 print_data(data, dcnt); 177 const u_char *data, *param; local 188 data = buf + EXTRACT_LE_16BITS(w + 12 * 2) 340 const u_char *data, *param; local 801 const u_char *words, *maxwords, *data; local [all...] |
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
CipherOutputStreamTest.java | 55 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 58 cos.write(data); 61 if (!Arrays.equals(result, data)) { 71 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 74 for (int i = 0; i < data.length; i++) { 75 cos.write(data[i]); 79 if (!Arrays.equals(result, data)) { 80 fail("CipherOutputStream wrote incorrect data."); 89 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 92 cos.write(data); [all...] |
/external/chromium/net/base/ |
pem_tokenizer_unittest.cc | 12 const char data[] = local 16 base::StringPiece string_piece(data); 24 EXPECT_EQ("MatchesAcceptedBlockType", tokenizer.data()); 30 const char data[] = local 34 base::StringPiece string_piece(data); 42 EXPECT_EQ("MatchesAcceptedBlockType", tokenizer.data()); 48 const char data[] = local 52 base::StringPiece string_piece(data); 61 const char data[] = local 68 base::StringPiece string_piece(data); 88 const char data[] = local 108 const char data[] = local 132 const char data[] = local 144 const char data[] = local [all...] |