Searched refs:len (Results 251 - 275 of 522) sorted by relevance

<<11121314151617181920>>

/frameworks/rs/api/
H A Drs_io.spec75 arg: uint len, "Length of the data, in bytes."
99 arg: uint len, "Length of the data, in bytes."
/frameworks/rs/
H A Drs.h28 RsFile rsaFileA3DCreateFromMemory(RsContext, const void *data, uint32_t len);
H A DrsScriptIntrinsic.cpp76 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
H A DrsFont.h85 void renderUTF(const char *text, uint32_t len, int32_t x, int32_t y,
148 void renderText(const char *text, uint32_t len, int32_t x, int32_t y,
154 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
H A DrsObjectBase.cpp180 void ObjectBase::setName(const char *name, uint32_t len) { argument
181 char *c = (char*)calloc(len + 1, sizeof(char));
183 memcpy(c, name, len);
/frameworks/webview/chromium/tools/
H A Dmemreport.py97 for i in xrange(len(array)):
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h103 void setString(const char *name, const char *s, ssize_t len = -1);
213 void setName(const char *name, size_t len);
229 size_t findItemIndex(const char *name, size_t len) const;
/frameworks/av/media/img_utils/src/
H A DTiffEntry.cpp148 size_t len = count; local
150 len = MAX_PRINT_STRING_LENGTH;
152 output.append(typed_data, len);
/frameworks/av/media/libmedia/
H A DMediaScanner.cpp111 int len = strlen(path); local
118 if ((len == mSkipIndex[idx])
121 && (strncmp(path, &mSkipList[startPos], len) == 0)) {
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.cpp228 size_t len = local
234 len += 10;
236 *inout_pos += len;
/frameworks/av/media/libstagefright/foundation/
H A DParsedMessage.cpp265 size_t len = local
268 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
269 value->setTo(&s[keyLen + 1], len - keyLen - 1);
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java135 long len = mFd.getStatSize();
136 return len >= 0 ? len : UNKNOWN_LENGTH;
192 + " start=" + mStartOffset + " len=" + mLength + "}";
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp149 size_t len; local
152 while ((len = stream->read(data + streamLen,
154 streamLen += len;
/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp220 int len, nameLen; local
253 len = strlen(line);
254 if (len < 1) return;
255 line[--len] = 0;
697 int len = read(fd, buffer, sizeof(buffer)-1); local
700 if (len < 0) {
704 buffer[len] = 0;
794 int len = snprintf(compare, 128, "proc %d", getpid()); local
802 } while (strncmp(compare, line, len));
805 len
[all...]
H A Dcom_google_android_gles_jni_EGLImpl.cpp96 jsize len = _env->GetArrayLength(attrib_list); local
97 if (len < 1) {
101 _env->GetIntArrayRegion(attrib_list, len-1, 1, &item);
130 int len = _env->GetArrayLength(major_minor); local
131 if (len) {
134 if (len >= 1) base[0] = 1;
135 if (len >= 2) base[1] = 0;
152 int len = _env->GetArrayLength(value); local
153 if (len) {
172 int len local
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMatrix3f.java119 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z);
120 if (!(len != 1)) {
121 float recipLen = 1.f / len;
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceResponse.java369 int len = in.readInt();
371 if (len > 0) {
372 data = new byte[len];
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp353 int len = x2 - x1; local
362 out, len,
367 out += len;
368 x1 += len;
420 int len = x2 - x1; local
429 out, len,
434 out += len;
435 x1 += len;
487 int len = x2 - x1; local
496 out, len,
[all...]
H A DrsCpuIntrinsicColorMatrix.cpp900 int32_t len = x2 - x1;
902 if((cp->mOptKernel != nullptr) && (len >= 4)) {
905 cp->mOptKernel(out, in, cp->ip, len >> 2);
906 // Update the len and pointers so the generic code can
908 len &= ~3;
909 x1 += len;
910 out += outstep * len;
911 in += instep * len;
917 //rsdIntrinsicColorMatrix_float_K(out, in, len, &cp->mFnTab, cp->tmpFp, cp->tmpFpa);
918 //x1 += len;
[all...]
/frameworks/rs/scriptc/
H A Drs_quaternion.rsh191 const float len = x*x + y*y + z*z;
192 if (len != 1) {
193 const float recipLen = 1.f / sqrt(len);
213 const float len = rsQuaternionDot(q, q);
214 if (len != 1) {
215 const float recipLen = 1.f / sqrt(len);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix3f.java122 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z);
123 if (!(len != 1)) {
124 float recipLen = 1.f / len;
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp161 size_t len = strcspn(cmdline, "\f\b\r\n"); local
162 cmdline[len] = ']';
163 cmdline[len+1] = '\0';
271 static void snprcent(char *buffer, size_t len, size_t spc, argument
290 snprintf(buffer + offset, (len > offset) ? len - offset : 0,
295 static void snprdec(char *buffer, size_t len, size_t spc, unsigned permille) { argument
300 snprintf(buffer + offset, (len > offset) ? len - offset : 0,
1063 ssize_t len local
[all...]
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py117 if len(devices) == 1:
122 if len(devices) == 0:
135 if self.current_device and len(self.current_device) > 0:
249 if len(raw_output) < 5:
252 for serial_num_index in range(4, len(raw_output), 2):
681 if len(args) == 2:
684 elif len(args) == 1:
689 if len(manifests) == 0:
692 elif len(manifests) > 1:
712 or len(data_director
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.cpp274 ssize_t len = strlen(str); local
275 if (write(fd, str, len) != len) {
301 int len = 0; local
310 len = snprintf(buffer, 128, "trace_event_clock_sync: parent_ts=%f\n", now_in_seconds);
311 if (write(fd, buffer, len) != len) {
316 len = snprintf(buffer, 128, "trace_event_clock_sync: realtime_ts=%" PRId64 "\n", realtime_in_ms);
317 if (write(fd, buffer, len) != len) {
410 int len; local
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduComposer.java344 int len = start.getLength();
346 appendValueLength(len);
992 int len = 0;
993 while ((len = cr.read(buffer)) != -1) {
994 mMessage.write(buffer, 0, len);
995 mPosition += len;
996 dataLength += len;

Completed in 3760 milliseconds

<<11121314151617181920>>