/device/google/wahoo/lisa/targetdev/ |
D | powerhint.py | 7 def restart_power_hal(target): argument 9 target.execute('pkill -f android\.hardware\.power') 12 def set_touch_param(target, opcode, new_val): argument 18 target.pull(DEVICE_PATH, tmp.name) 27 target.push(tmp.name, DEVICE_PATH) 30 restart_power_hal(target) 33 def set_touch_boost(target, boost=50): argument 38 set_touch_param(target, opcode, boost) 41 def set_touch_min_freq(target, cluster, freq=1100): argument 44 set_touch_param(target, opcode, freq) [all …]
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | base64.c | 168 b64_ntop(u_char const *src, size_t srclength, char *target, size_t targsize) { in b64_ntop() argument 192 target[datalength++] = Base64[output[0]]; in b64_ntop() 193 target[datalength++] = Base64[output[1]]; in b64_ntop() 194 target[datalength++] = Base64[output[2]]; in b64_ntop() 195 target[datalength++] = Base64[output[3]]; in b64_ntop() 214 target[datalength++] = Base64[output[0]]; in b64_ntop() 215 target[datalength++] = Base64[output[1]]; in b64_ntop() 217 target[datalength++] = Pad64; in b64_ntop() 219 target[datalength++] = Base64[output[2]]; in b64_ntop() 220 target[datalength++] = Pad64; in b64_ntop() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
D | install_egg_info.py | 29 self.target = os.path.join(self.install_dir, basename) 30 self.outputs = [self.target] 33 target = self.target 34 if os.path.isdir(target) and not os.path.islink(target): 35 dir_util.remove_tree(target, dry_run=self.dry_run) 36 elif os.path.exists(target): 37 self.execute(os.unlink,(self.target,),"Removing "+target) 41 log.info("Writing %s", target) 43 f = open(target, 'w')
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | GLClientState.cpp | 477 int GLClientState::bindBuffer(GLenum target, GLuint id) in bindBuffer() argument 480 switch(target) { in bindBuffer() 523 void GLClientState::bindIndexedBuffer(GLenum target, GLuint index, GLuint buffer, GLintptr offset, … in bindIndexedBuffer() argument 524 switch (target) { in bindIndexedBuffer() 560 int GLClientState::getMaxIndexedBufferBindings(GLenum target) const { in getMaxIndexedBufferBindings() 561 switch (target) { in getMaxIndexedBufferBindings() 575 bool GLClientState::isNonIndexedBindNoOp(GLenum target, GLuint buffer) { in isNonIndexedBindNoOp() argument 576 if (buffer != !getLastEncodedBufferBind(target)) return false; in isNonIndexedBindNoOp() 578 int idOrError = getBuffer(target); in isNonIndexedBindNoOp() 586 bool GLClientState::isIndexedBindNoOp(GLenum target, GLuint index, GLuint buffer, GLintptr offset, … in isIndexedBindNoOp() argument [all …]
|
D | GLClientState.h | 71 GLenum target; member 243 int bindBuffer(GLenum target, GLuint id); 244 …void bindIndexedBuffer(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr siz… 245 int getMaxIndexedBufferBindings(GLenum target) const; 246 bool isNonIndexedBindNoOp(GLenum target, GLuint buffer); 247 …bool isIndexedBindNoOp(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr siz… 249 int getBuffer(GLenum target); 250 GLuint getLastEncodedBufferBind(GLenum target); 251 void setLastEncodedBufferBind(GLenum target, GLuint id); 311 void enableTextureTarget(GLenum target); [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | dep_util.py | 12 def newer(source, target): argument 27 if not os.path.exists(target): 30 return os.stat(source).st_mtime > os.stat(target).st_mtime 44 for source, target in zip(sources, targets): 45 if newer(source, target): 47 n_targets.append(target) 51 def newer_group(sources, target, missing='error'): argument 67 if not os.path.exists(target): 74 target_mtime = os.stat(target).st_mtime
|
/device/generic/goldfish-opengl/system/GLESv2/ |
D | gl2.cpp | 56 void glEGLImageTargetTexture2DOES(void * self, GLenum target, GLeglImageOES img) in glEGLImageTargetTexture2DOES() argument 59 (void)target; in glEGLImageTargetTexture2DOES() 61 DBG("glEGLImageTargetTexture2DOES v2 target=%#x img=%p\n", target, img); in glEGLImageTargetTexture2DOES() 66 if (image->target == EGL_NATIVE_BUFFER_ANDROID) { in glEGLImageTargetTexture2DOES() 81 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 82 ctx->associateEGLImage(target, hostImage); in glEGLImageTargetTexture2DOES() 85 ctx->restore2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 87 else if (image->target == EGL_GL_TEXTURE_2D_KHR) { in glEGLImageTargetTexture2DOES() 89 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 90 ctx->associateEGLImage(target, hostImage); in glEGLImageTargetTexture2DOES() [all …]
|
/device/generic/goldfish-opengl/system/egl/ |
D | ClientAPIExts.in | 9 (GLenum target, GLeglImageOES image), 10 (target, image)) 13 (GLenum target, GLeglImageOES image), 14 (target, image)) 114 (GLenum target, GLuint renderbuffer), 115 (target, renderbuffer)) 126 (GLenum target, GLenum internalformat, GLsizei width, GLsizei height), 127 (target, internalformat, width, height)) 130 (GLenum target, GLenum pname, GLint* params), 131 (target, pname, params)) [all …]
|
/device/generic/goldfish-opengl/tests/gles_android_wrapper/ |
D | gles.cpp | 126 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) in glGetTexParameterfv() argument 128 getDispatch()->glGetTexParameterfv(target, pname, params); in glGetTexParameterfv() 176 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) in glMultiTexCoord4f() argument 178 getDispatch()->glMultiTexCoord4f(target, s, t, r, q); in glMultiTexCoord4f() 221 void glTexEnvf(GLenum target, GLenum pname, GLfloat param) in glTexEnvf() argument 223 getDispatch()->glTexEnvf(target, pname, param); in glTexEnvf() 226 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) in glTexEnvfv() argument 228 getDispatch()->glTexEnvfv(target, pname, params); in glTexEnvfv() 231 void glTexParameterf(GLenum target, GLenum pname, GLfloat param) in glTexParameterf() argument 233 getDispatch()->glTexParameterf(target, pname, param); in glTexParameterf() [all …]
|
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 355 void GLEncoder::s_glBindBuffer(void *self, GLenum target, GLuint id) in s_glBindBuffer() argument 359 ctx->m_state->bindBuffer(target, id); in s_glBindBuffer() 361 ctx->m_glBindBuffer_enc(self, target, id); in s_glBindBuffer() 364 void GLEncoder::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, GL… in s_glBufferData() argument 367 GLuint bufferId = ctx->m_state->getBuffer(target); in s_glBufferData() 372 ctx->m_glBufferData_enc(self, target, size, data, usage); in s_glBufferData() 375 void GLEncoder::s_glBufferSubData(void * self, GLenum target, GLintptr offset, GLsizeiptr size, con… in s_glBufferSubData() argument 378 GLuint bufferId = ctx->m_state->getBuffer(target); in s_glBufferSubData() 384 ctx->m_glBufferSubData_enc(self, target, offset, size, data); in s_glBufferSubData() 657 void GLEncoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument [all …]
|
D | gl_entry.cpp | 22 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params); 32 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 41 void glTexEnvf(GLenum target, GLenum pname, GLfloat param); 42 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat* params); 43 void glTexParameterf(GLenum target, GLenum pname, GLfloat param); 44 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params); 48 void glBindBuffer(GLenum target, GLuint buffer); 49 void glBindTexture(GLenum target, GLuint texture); 51 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); 52 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); [all …]
|
D | GLEncoder.h | 48 void override2DTextureTarget(GLenum target); 135 static void s_glBindBuffer(void *self, GLenum target, GLuint id); 136 …static void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum… 137 …static void s_glBufferSubData(void *self, GLenum target, GLintptr offset, GLsizeiptr size, const G… 148 static void s_glBindTexture(void* self, GLenum target, GLuint texture); 152 static void s_glGetTexParameterfv(void* self, GLenum target, GLenum pname, GLfloat* params); 153 static void s_glGetTexParameteriv(void* self, GLenum target, GLenum pname, GLint* params); 154 static void s_glGetTexParameterxv(void* self, GLenum target, GLenum pname, GLfixed* params); 155 static void s_glTexParameterf(void* self, GLenum target, GLenum pname, GLfloat param); 156 static void s_glTexParameterfv(void* self, GLenum target, GLenum pname, const GLfloat* params); [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/ |
D | gles1_extensions.entries | 18 void glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image); 19 void glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image); 22 void glBindRenderbufferOES(GLenum target, GLuint renderbuffer); 25 void glRenderbufferStorageOES(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 26 void glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint* params); 28 void glBindFramebufferOES(GLenum target, GLuint framebuffer); 31 GLenum glCheckFramebufferStatusOES(GLenum target); 32 void glFramebufferRenderbufferOES(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLui… 33 void glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, … 34 void glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint… [all …]
|
D | gles2_extensions.entries | 5 void glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image); 6 void glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image); 8 void glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei heig… 9 void glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GL… 10 void glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset… 11 void glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GL… 12 void glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint z… 13 void glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, …
|
D | gles1_core.entries | 22 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); 32 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 41 void glTexEnvf(GLenum target, GLenum pname, GLfloat param); 42 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params); 43 void glTexParameterf(GLenum target, GLenum pname, GLfloat param); 44 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params); 48 void glBindBuffer(GLenum target, GLuint buffer); 49 void glBindTexture(GLenum target, GLuint texture); 51 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); 52 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); [all …]
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 113 #define OVERRIDEWITH(name, target) do { \ in GL2Encoder() argument 114 m_##target##_enc = this-> target; \ in GL2Encoder() 115 this-> target = &s_##name; \ in GL2Encoder() 444 ScopedQueryUpdate(GL2Encoder* ctx, uint32_t bytes, T* target) : in ScopedQueryUpdate() argument 447 mTarget(target), in ScopedQueryUpdate() 547 void GL2Encoder::s_glBindBuffer(void *self, GLenum target, GLuint id) in s_glBindBuffer() argument 551 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBindBuffer() 553 bool nop = ctx->m_state->isNonIndexedBindNoOp(target, id); in s_glBindBuffer() 557 ctx->m_state->bindBuffer(target, id); in s_glBindBuffer() 559 ctx->m_glBindBuffer_enc(ctx, target, id); in s_glBindBuffer() [all …]
|
D | gl2_entry.cpp | 11 void glBindBuffer(GLenum target, GLuint buffer); 12 void glBindFramebuffer(GLenum target, GLuint framebuffer); 13 void glBindRenderbuffer(GLenum target, GLuint renderbuffer); 14 void glBindTexture(GLenum target, GLuint texture); 20 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); 21 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); 22 GLenum glCheckFramebufferStatus(GLenum target); 29 …void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsi… 30 …void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei w… 31 …void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei… [all …]
|
/device/generic/goldfish/tools/ |
D | mk_qemu_image.sh | 19 target=${dir_name}/$label-qemu.img 32 dd if=/dev/zero of=$target ibs=1024k count=1 > /dev/null 2>&1 33 dd if=$srcimg of=$target conv=notrunc,sync ibs=1024k obs=1024k seek=1 > /dev/null 2>&1 35 curdisksize=$(stat -c %s $target) 37 dd if=/dev/zero of=$target conv=notrunc bs=1 count=1024k seek=$curdisksize > /dev/null 2>&1 42 ${SGDISK:-sgdisk} --clear $target > /dev/null 2>&1 43 ${SGDISK:-sgdisk} --new=1:2048:$end --type=1:8300 --change-name=1:$label $target > /dev/null 2>&1
|
/device/google/cuttlefish/common/libs/fs/ |
D | tee.cpp | 42 for (auto& target : targets_) { in Start() local 43 target.content_queue.Push(nullptr); in Start() 48 for (auto& target : targets_) { in Start() local 49 target.content_queue.Push(buffer); in Start() 53 for (auto& target : targets_) { in Start() local 54 target.runner = std::thread([&target]() { in Start() 56 auto queue_chunk = target.content_queue.PopAll(); in Start() 62 target.handler(buffer); in Start()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
D | fix_paren.py | 38 target = results["target"] 41 lparen.prefix = target.prefix 42 target.prefix = u"" # Make it hug the parentheses 43 target.insert_child(0, lparen) 44 target.append_child(RParen())
|
/device/generic/goldfish-opengl/system/GLESv1/ |
D | gl.cpp | 56 void glEGLImageTargetTexture2DOES(void * self, GLenum target, GLeglImageOES img) in glEGLImageTargetTexture2DOES() argument 60 DBG("glEGLImageTargetTexture2DOES v1 target=%#x img=%p", target, img); in glEGLImageTargetTexture2DOES() 64 if (image->target == EGL_NATIVE_BUFFER_ANDROID) { in glEGLImageTargetTexture2DOES() 79 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 84 else if (image->target == EGL_GL_TEXTURE_2D_KHR) { in glEGLImageTargetTexture2DOES() 86 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 88 ctx->m_glEGLImageTargetTexture2DOES_enc(self, target, hostImage); in glEGLImageTargetTexture2DOES() 93 void glEGLImageTargetRenderbufferStorageOES(void *self, GLenum target, GLeglImageOES img) in glEGLImageTargetRenderbufferStorageOES() argument 96 (void)target; in glEGLImageTargetRenderbufferStorageOES() 102 if (image->target == EGL_NATIVE_BUFFER_ANDROID) { in glEGLImageTargetRenderbufferStorageOES()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/ |
D | bld_vlv.sh | 43 if [ -e $(pwd)/Conf/target.txt ]; then 44 rm $(pwd)/Conf/target.txt 174 sed -i '/^ACTIVE_PLATFORM/d' Conf/target.txt 175 sed -i '/^TARGET /d' Conf/target.txt 176 sed -i '/^TARGET_ARCH/d' Conf/target.txt 177 sed -i '/^TOOL_CHAIN_TAG/d' Conf/target.txt 178 sed -i '/^MAX_CONCURRENT_THREAD_NUMBER/d' Conf/target.txt 205 echo ACTIVE_PLATFORM = $ACTIVE_PLATFORM >> Conf/target.txt 206 echo TARGET = $TARGET >> Conf/target.txt 207 echo TOOL_CHAIN_TAG = $TOOL_CHAIN_TAG >> Conf/target.txt [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
D | test_dir_util.py | 28 self.target = os.path.join(self.root_target, 'here') 39 mkpath(self.target, verbose=0) 44 mkpath(self.target, verbose=1) 46 'creating %s' % self.target] 60 mkpath(self.target, 0o700) 62 stat.S_IMODE(os.stat(self.target).st_mode), 0o700 & ~umask) 82 mkpath(self.target, verbose=0) 84 copy_tree(self.target, self.target2, verbose=0) 89 mkpath(self.target, verbose=0) 90 a_file = os.path.join(self.target, 'ok.txt') [all …]
|
D | test_build_scripts.py | 30 target = self.mkdtemp() 33 cmd = self.get_build_scripts_cmd(target, 39 built = os.listdir(target) 43 def get_build_scripts_cmd(self, target, scripts): argument 48 build_scripts=target, 82 target = self.mkdtemp() 86 cmd = self.get_build_scripts_cmd(target, 104 built = os.listdir(target)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
D | makemakefile.py | 5 def makemakefile(outfp, makevars, files, target): argument 12 outfp.write("\nall: %s\n\n" % target) 25 outfp.write("\n%s: %s\n" % (target, ' '.join(deps))) 27 (' '.join(files), target)) 29 outfp.write("\nclean:\n\t-rm -f *.o %s\n" % target)
|