Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 618) sorted by relevance

12345678910>>...25

/device/google/wahoo/lisa/targetdev/
Dpowerhint.py7 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/
Dbase64.c168 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/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp404 int GLClientState::bindBuffer(GLenum target, GLuint id) in bindBuffer() argument
407 switch(target) { in bindBuffer()
450 void GLClientState::bindIndexedBuffer(GLenum target, GLuint index, GLuint buffer, GLintptr offset, … in bindIndexedBuffer() argument
451 switch (target) { in bindIndexedBuffer()
486 int GLClientState::getMaxIndexedBufferBindings(GLenum target) const { in getMaxIndexedBufferBindings()
487 switch (target) { in getMaxIndexedBufferBindings()
501 bool GLClientState::isNonIndexedBindNoOp(GLenum target, GLuint buffer) { in isNonIndexedBindNoOp() argument
502 if (buffer != !getLastEncodedBufferBind(target)) return false; in isNonIndexedBindNoOp()
504 int idOrError = getBuffer(target); in isNonIndexedBindNoOp()
512 bool GLClientState::isIndexedBindNoOp(GLenum target, GLuint index, GLuint buffer, GLintptr offset, … in isIndexedBindNoOp() argument
[all …]
DGLClientState.h71 GLenum target; member
241 int bindBuffer(GLenum target, GLuint id);
242 …void bindIndexedBuffer(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr siz…
243 int getMaxIndexedBufferBindings(GLenum target) const;
244 bool isNonIndexedBindNoOp(GLenum target, GLuint buffer);
245 …bool isIndexedBindNoOp(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr siz…
247 int getBuffer(GLenum target);
248 GLuint getLastEncodedBufferBind(GLenum target);
249 void setLastEncodedBufferBind(GLenum target, GLuint id);
307 void enableTextureTarget(GLenum target);
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dinstall_egg_info.py29 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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Ddep_util.py12 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/
Dgl2.cpp56 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/
DClientAPIExts.in9 (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/
Dgles.cpp126 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/
DGLEncoder.cpp361 void GLEncoder::s_glBindBuffer(void *self, GLenum target, GLuint id) in s_glBindBuffer() argument
365 ctx->m_state->bindBuffer(target, id); in s_glBindBuffer()
367 ctx->m_glBindBuffer_enc(self, target, id); in s_glBindBuffer()
370 void GLEncoder::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, GL… in s_glBufferData() argument
373 GLuint bufferId = ctx->m_state->getBuffer(target); in s_glBufferData()
378 ctx->m_glBufferData_enc(self, target, size, data, usage); in s_glBufferData()
381 void GLEncoder::s_glBufferSubData(void * self, GLenum target, GLintptr offset, GLsizeiptr size, con… in s_glBufferSubData() argument
384 GLuint bufferId = ctx->m_state->getBuffer(target); in s_glBufferSubData()
390 ctx->m_glBufferSubData_enc(self, target, offset, size, data); in s_glBufferSubData()
660 void GLEncoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
[all …]
Dgl_entry.cpp22 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 …]
DGLEncoder.h47 void override2DTextureTarget(GLenum target);
134 static void s_glBindBuffer(void *self, GLenum target, GLuint id);
135 …static void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum…
136 …static void s_glBufferSubData(void *self, GLenum target, GLintptr offset, GLsizeiptr size, const G…
147 static void s_glBindTexture(void* self, GLenum target, GLuint texture);
151 static void s_glGetTexParameterfv(void* self, GLenum target, GLenum pname, GLfloat* params);
152 static void s_glGetTexParameteriv(void* self, GLenum target, GLenum pname, GLint* params);
153 static void s_glGetTexParameterxv(void* self, GLenum target, GLenum pname, GLfixed* params);
154 static void s_glTexParameterf(void* self, GLenum target, GLenum pname, GLfloat param);
155 static void s_glTexParameterfv(void* self, GLenum target, GLenum pname, const GLfloat* params);
[all …]
/device/generic/goldfish/tools/
Dmk_qemu_image.sh19 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
36 curdisksize=$(stat -c %s $target)
38 curdisksize=$(stat -f %z $target)
44 dd if=/dev/zero of=$target conv=notrunc bs=1 count=1024k seek=$curdisksize > /dev/null 2>&1
49 ${SGDISK:-sgdisk} --clear $target > /dev/null 2>&1
50 ${SGDISK:-sgdisk} --new=1:2048:$end --type=1:8300 --change-name=1:$label $target > /dev/null 2>&1
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles1_extensions.entries18 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 …]
Dgles2_extensions.entries5 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, …
Dgles1_core.entries22 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/
DGL2Encoder.cpp111 #define OVERRIDEWITH(name, target) do { \ in GL2Encoder() argument
112 m_##target##_enc = this-> target; \ in GL2Encoder()
113 this-> target = &s_##name; \ in GL2Encoder()
439 ScopedQueryUpdate(GL2Encoder* ctx, uint32_t bytes, T* target) : in ScopedQueryUpdate() argument
442 mTarget(target), in ScopedQueryUpdate()
542 void GL2Encoder::s_glBindBuffer(void *self, GLenum target, GLuint id) in s_glBindBuffer() argument
546 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBindBuffer()
548 bool nop = ctx->m_state->isNonIndexedBindNoOp(target, id); in s_glBindBuffer()
552 ctx->m_state->bindBuffer(target, id); in s_glBindBuffer()
554 ctx->m_glBindBuffer_enc(ctx, target, id); in s_glBindBuffer()
[all …]
Dgl2_entry.cpp11 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/google/cuttlefish_common/guest/libs/eglwrapper/
Dgles1_wrapper_entry.cpp22 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 …]
Dgles3_wrapper_entry.cpp11 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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_paren.py38 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/
Dgl.cpp56 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/
Dbld_vlv.sh43 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/
Dtest_dir_util.py28 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 …]
Dtest_build_scripts.py30 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)

12345678910>>...25