Searched defs:len (Results 101 - 125 of 221) sorted by relevance

123456789

/frameworks/native/cmds/installd/
H A Dinstalld.h90 size_t len; member in struct:__anon1168
/frameworks/native/cmds/servicemanager/
H A Dservice_manager.c134 size_t len; member in struct:svcinfo
140 struct svcinfo *find_svc(const uint16_t *s16, size_t len) argument
145 if ((len == si->len) &&
146 !memcmp(s16, si->name, len * sizeof(uint16_t))) {
157 ALOGI("service '%s' died\n", str8(si->name, si->len));
170 uint32_t do_find_service(struct binder_state *bs, const uint16_t *s, size_t len, uid_t uid, pid_t spid) argument
174 if (!svc_can_find(s, len, spid)) {
176 str8(s, len), uid);
179 si = find_svc(s, len);
196 do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, uid_t uid, int allow_isolated, pid_t spid) argument
253 size_t len; local
343 audit_callback(void *data, security_class_t cls, char *buf, size_t len) argument
[all...]
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp50 status_t append(const char* txt, size_t len) { argument
51 if ((len+bufferPos) > bufferSize) {
52 void* b = realloc(buffer, ((len+bufferPos)*3)/2);
56 memcpy(buffer+bufferPos, txt, len);
57 bufferPos += len;
155 status_t BufferedTextOutput::print(const char* txt, size_t len) argument
157 //printf("BufferedTextOutput: printing %d\n", len);
162 const char* const end = txt+len;
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp201 static uint32_t crc32c(const uint8_t* buf, size_t len) { argument
204 for (size_t i = 0; i < len; i++) {
H A Degl_display.cpp198 const size_t len = end - start; local
199 if (len) {
201 const String8 ext(start, len);
203 len)) {
204 mExtensionString.append(start, len+1);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetActiveAttrib.cpp189 GLint len = 0; local
190 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
191 if (!len) {
194 char* buf = (char*) malloc(len);
237 (GLsizei)len,
285 GLint len = 0; local
286 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
287 if (!len) {
290 char* buf = (char*) malloc(len);
310 (GLsizei)len,
[all...]
H A DglGetActiveUniform.cpp191 GLint len = 0; local
192 glGetProgramiv((GLuint)program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &len);
193 if (!len) {
196 char* buf = (char*) malloc(len);
240 (GLsizei)len,
285 GLint len = 0; local
286 glGetProgramiv((GLuint)program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &len);
287 if (!len) {
290 char* buf = (char*) malloc(len);
311 len,
[all...]
H A DglGetTransformFeedbackVarying.cpp189 GLint len = 0; local
190 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
191 if (!len) {
194 char* buf = (char*) malloc(len);
237 (GLsizei)len,
285 GLint len = 0; local
286 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
287 if (!len) {
290 char* buf = (char*) malloc(len);
310 (GLsizei)len,
[all...]
/frameworks/rs/cpp/
H A DElement.cpp371 size_t len = strlen(s1); local
372 if (strlen(s2) >= len) {
373 if (!memcmp(s1, s2, len)) {
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic3DLUT.cpp88 int32_t len = x2 - x1; local
89 if(len > 0) {
90 rsdIntrinsic3DLUT_K(out, in, len,
93 x1 += len;
94 out += len;
95 in += len;
H A DrsCpuIntrinsicConvolve3x3.cpp216 int32_t len = (x2 - x1 - 1) >> 1; local
217 if(len > 0) {
218 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len);
219 x1 += len << 1;
220 out += len << 1;
262 int32_t len = (x2 - x1 - 1) >> 1;
263 if(len > 0) {
264 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len);
265 x1 += len << 1;
266 out += len <<
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp386 uint32_t len = (x2 - x1 - 3) >> 2; local
387 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
388 out += len << 2;
389 x1 += len << 2;
395 uint32_t len = (x2 - x1 - 3) >> 1; local
396 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
397 out += len << 1;
398 x1 += len << 1;
444 uint32_t len = (x2 - x1 - 3) >> 1;
445 rsdIntrinsicConvolve5x5_K(out, py0, py1, py2, py3, py4, cp->ip, len);
[all...]
H A DrsCpuIntrinsicYuvToRGB.cpp167 int32_t len = x2 - x1; local
170 x1 += len;
171 out += len;
179 x1 += len;
180 out += len;
183 x1 += len;
184 out += len;
/frameworks/rs/
H A DrsCppUtils.h65 String8(const char *ptr, size_t len) : std::string(ptr, len) { argument
76 void setTo(const char* str, ssize_t len) { argument
77 this->assign(str, len);
190 const char * rsuCopyString(const char *name, size_t len);
H A DrsFileA3D.cpp159 size_t len; local
162 len = fread(magicString, 1, 12, f);
163 if ((len != 12) ||
170 len = fread(&headerSize, 1, sizeof(headerSize), f);
171 if (len != sizeof(headerSize) || headerSize == 0) {
180 len = fread(headerData, 1, headerSize, f);
181 if (len != headerSize) {
192 len = fread(&mDataSize, 1, sizeof(mDataSize), f);
193 if (len != sizeof(mDataSize) || mDataSize == 0) {
205 len
433 rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) argument
[all...]
H A DrsMatrix4x4.cpp213 const float len = x*x + y*y + z*z; local
214 if (len != 1) {
215 const float recipLen = 1.f / sqrtf(len);
H A DrsScriptC.cpp219 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
231 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len);
H A DrsScriptC_Lib.cpp200 uint32_t rsrToClient(Context *rsc, int cmdID, const void *data, int len) { argument
201 //ALOGE("SC_toClient %i %i %i", cmdID, len);
202 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, false);
205 uint32_t rsrToClientBlocking(Context *rsc, int cmdID, const void *data, int len) { argument
206 //ALOGE("SC_toClientBlocking %i %i", cmdID, len);
207 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, true);
212 uint32_t rsrToClient(Context *rsc, int cmdID, void *data, int len) { argument
213 return rsrToClient(rsc, cmdID, (const void *)data, len);
216 uint32_t rsrToClientBlocking(Context *rsc, int cmdID, void *data, int len) { argument
217 return rsrToClientBlocking(rsc, cmdID, (const void *)data, len);
[all...]
/frameworks/wilhelm/src/
H A Ddata.c193 size_t len = strlen((const char *) pDataLocator->mURI.URI); local
194 SLchar *myURI = (SLchar *) malloc(len + 1);
198 memcpy(myURI, pDataLocator->mURI.URI, len + 1);
201 if ('\0' != myURI[len]) {
536 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); local
537 SLchar *myMIME = (SLchar *) malloc(len + 1);
541 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1);
543 if ('\0' != myMIME[len]) {
/frameworks/av/cmds/stagefright/
H A Dstream.cpp356 size_t len = strlen(argv[1]); local
357 if ((!usemp4 && len >= 3 && !strcasecmp(".ts", &argv[1][len - 3])) ||
358 (usemp4 && len >= 4 &&
359 (!strcasecmp(".mp4", &argv[1][len - 4])
360 || !strcasecmp(".3gp", &argv[1][len- 4])
361 || !strcasecmp(".3g2", &argv[1][len- 4])))) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp469 PV_BitstreamFlushBits(stream, PV_TMNMVtab0[code].len + 1);
477 PV_BitstreamFlushBits(stream, PV_TMNMVtab1[code].len + 1);
490 PV_BitstreamFlushBits(stream, PV_TMNMVtab2[code].len + 1);
523 PV_BitstreamFlushBits(stream, PV_MCBPCtabintra[code].len);
552 PV_BitstreamFlushBits(stream, PV_MCBPCtab[code].len);
574 PV_BitstreamFlushBits(stream, PV_MCBPCtab[code >> 4].len);
579 PV_BitstreamFlushBits(stream, PV_MCBPCtab1[code - 8].len);
609 PV_BitstreamFlushBits(stream, PV_CBPYtab[code].len);
871 PV_BitstreamFlushBits(stream, tab->len + 1);
872 pTcoef->sign = (code >> (12 - tab->len))
1475 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
1558 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp114 ALOGI("called findItemIx %zu times (for len=%.1f i=%.1f/%.1f mem) dup %zu times (for len=%.1f)",
128 inline size_t AMessage::findItemIndex(const char *name, size_t len) const {
134 if (len != mItems[i].mNameLength) {
140 if (!memcmp(mItems[i].mName, name, len)) {
158 void AMessage::Item::setName(const char *name, size_t len) { argument
159 mNameLength = len;
160 mName = new char[len + 1];
161 memcpy((void*)mName, name, len + 1);
165 size_t len local
224 setString( const char *name, const char *s, ssize_t len) argument
[all...]
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp531 int len = n / 2; local
535 framedatacopy = new char16_t[len];
536 for (int i = 0; i < len; i++) {
541 id->setTo(framedata, len);
548 int len = n / 2; local
553 framedatacopy = new char16_t[len];
554 for (int i = 0; i < len; i++) {
562 len--;
567 for (int i = 0; i < len; i++) {
575 char *frame8 = new char[len];
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4AudioAssembler.cpp47 size_t len = local
50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
51 value->setTo(&s[keyLen + 1], len - keyLen - 1);
H A DAPacketSource.cpp56 size_t len = local
59 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) {
60 value->setTo(&s[keyLen + 1], len - keyLen - 1);

Completed in 4632 milliseconds

123456789