Searched refs:code (Results 476 - 500 of 4188) sorted by relevance

<<11121314151617181920>>

/external/python/cpython3/Tools/unicode/
H A Dgenwincodec.py29 assert ret == 1, "invalid code page"
47 code = codegen("", map, encodingname)
49 code = '''\
55 ) + code.split('"""#"', 1)[1]
57 print(code)
/external/skia/src/gpu/ccpr/
H A DGrCCCubicShader.h4 * Use of this source code is governed by a BSD-style license that can be
31 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code,
33 virtual void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) = 0;
44 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
53 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
H A DGrCCQuadraticShader.h4 * Use of this source code is governed by a BSD-style license that can be
30 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code,
32 virtual void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) {} argument
51 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
63 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
H A DGrCCQuadraticShader.cpp4 * Use of this source code is governed by a BSD-style license that can be
37 GrGLSLVarying::Scope scope, SkString* code,
44 code->appendf("%s.xy = (%s * float3(%s, 1)).xy;",
46 code->appendf("%s.z = dot(%s.xy, %s) + %s.z;",
49 code->appendf("%s.w = %s;", OutName(fXYDW), wind);
51 this->onEmitVaryings(varyingHandler, scope, code);
80 GrGLSLVarying::Scope scope, SkString* code) {
83 code->appendf("%s = float2(2 * %s.x, -1) * float2x2(%s);",
103 GrGLSLVarying::Scope scope, SkString* code) {
108 code
36 onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, GrGLSLVarying::Scope scope, SkString* code, const char* position, const char* inputCoverage, const char* wind) argument
79 onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, GrGLSLVarying::Scope scope, SkString* code) argument
102 onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, GrGLSLVarying::Scope scope, SkString* code) argument
[all...]
/external/skqp/src/gpu/ccpr/
H A DGrCCCubicShader.h4 * Use of this source code is governed by a BSD-style license that can be
31 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code,
33 virtual void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) = 0;
44 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
53 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
H A DGrCCQuadraticShader.h4 * Use of this source code is governed by a BSD-style license that can be
30 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code,
32 virtual void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) {} argument
51 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
63 void onEmitVaryings(GrGLSLVaryingHandler*, GrGLSLVarying::Scope, SkString* code) override;
H A DGrCCQuadraticShader.cpp4 * Use of this source code is governed by a BSD-style license that can be
37 GrGLSLVarying::Scope scope, SkString* code,
44 code->appendf("%s.xy = (%s * float3(%s, 1)).xy;",
46 code->appendf("%s.z = dot(%s.xy, %s) + %s.z;",
49 code->appendf("%s.w = %s;", OutName(fXYDW), wind);
51 this->onEmitVaryings(varyingHandler, scope, code);
80 GrGLSLVarying::Scope scope, SkString* code) {
83 code->appendf("%s = float2(2 * %s.x, -1) * float2x2(%s);",
103 GrGLSLVarying::Scope scope, SkString* code) {
106 code
36 onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, GrGLSLVarying::Scope scope, SkString* code, const char* position, const char* inputCoverage, const char* wind) argument
79 onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, GrGLSLVarying::Scope scope, SkString* code) argument
102 onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, GrGLSLVarying::Scope scope, SkString* code) argument
[all...]
/external/strace/
H A Dbpf_filter.h10 * 1. Redistributions of source code must retain the above copyright
34 uint16_t code; member in struct:bpf_filter_block
/external/syslinux/com32/gplinclude/dmi/
H A Ddmi_ipmi.h32 const char *dmi_ipmi_interface_type(uint8_t code);
/external/tensorflow/tensorflow/core/platform/cloud/
H A Dretrying_utils.cc31 bool IsRetriable(error::Code code) { argument
32 switch (code) {
58 if (!IsRetriable(status.code())) {
93 if (is_retried && status.code() == error::NOT_FOUND) {
/external/tpm2/include/tpm2/
H A DTpmError.h29 TpmFail(const char *function, int line, int code);
/external/v8/src/
H A Ddisassembler.h2 // Use of this source code is governed by a BSD-style license that can be
16 // code into os. Returns the number of bytes disassembled or 1 if no
18 // the code object is used for name resolution and may be null.
20 Code* code = NULL);
/external/v8/src/regexp/
H A Dinterpreter-irregexp.h2 // Use of this source code is governed by a BSD-style license that can be
5 // A simple interpreter for the Irregexp byte code.
20 Handle<ByteArray> code,
/external/zlib/src/
H A Dinflate.h13 the crc code when it is not needed. For shared libraries, gzip decoding
38 LENLENS, /* i: waiting for code length code lengths */
39 CODELENS, /* i: waiting for length/lit and distance code lengths */
41 LEN, /* i: waiting for length/lit/eob code */
43 DIST, /* i: waiting for distance code */
106 /* for table and code decoding */
108 /* fixed and dynamic code tables */
109 code const FAR *lencode; /* starting table for length/literal codes */
110 code cons
[all...]
/external/python/cpython3/Lib/
H A Dpickletools.py32 # - A pickle optimizer: for example, tuple-building code is sometimes more
146 # copyreg.safe_constructors are removed from the unpickling code.
853 implementations don't share the code -- they should). It's
1083 # the code used in a bytestream to represent the opcode; a
1085 'code',
1108 def __init__(self, name, code, arg,
1113 assert isinstance(code, str)
1114 assert len(code) == 1
1115 self.code = code
[all...]
/external/valgrind/none/tests/amd64/
H A Dfaultstatus.c15 int code; member in struct:test
39 static int testcode(int code, int want) argument
41 if (code != want) {
42 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code);
63 ok = ok && testcode(si->si_code, cur_test->code);
116 #define T(n, sig, code, addr) { test##n, sig, code, addr }
/external/valgrind/none/tests/x86/
H A Dfaultstatus.c16 int code; member in struct:test
42 static int testcode(int code, int want) argument
44 if (code != want) {
45 fprintf(stderr, " FAIL: expected si_code==%d, not %d\n", want, code);
66 ok = ok && testcode(si->si_code, cur_test->code);
134 #define T(n, sig, code, addr) { test##n, sig, code, addr }
/external/python/cpython2/Lib/test/
H A Dtest_compile.py98 code = ["""
114 for c in code:
115 compile(c, "<code>", "exec")
176 code = '''
194 exec code
245 # the first line of code starts after 256, correct line numbers
420 code = b'# -*- coding: badencoding -*-\npass\n'
421 self.assertRaises(SyntaxError, compile, code, 'tmp', 'exec')
422 code = u"# -*- coding: utf-8 -*-\npass\n"
423 self.assertRaises(SyntaxError, compile, code, "tm
[all...]
/external/python/cpython2/Modules/cjkcodecs/
H A D_codecs_hk.c35 * These are handled by not mapping tables but a hand-written code.
43 DBCHAR code; local
59 TRYMAP_ENC(big5hkscs_bmp, code, c) {
60 if (code == MULTIC) {
64 code = big5hkscs_pairenc_table[
74 code = 0x8866;
76 code = 0x88a7;
80 else TRYMAP_ENC(big5, code, c);
86 TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff);
92 OUT1(code >>
[all...]
/external/python/cpython3/Modules/cjkcodecs/
H A D_codecs_hk.c35 * These are handled by not mapping tables but a hand-written code.
43 DBCHAR code; local
57 if (TRYMAP_ENC(big5hkscs_bmp, code, c)) {
58 if (code == MULTIC) {
68 code = big5hkscs_pairenc_table[
78 code = 0x8866;
80 code = 0x88a7;
84 else if (TRYMAP_ENC(big5, code, c))
92 if (TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff))
100 OUTBYTE1(code >>
[all...]
/external/tensorflow/tensorflow/core/debug/
H A Ddebug_graph_utils_test.cc49 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
53 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
57 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
66 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
70 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
74 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
78 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
82 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
87 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
136 ASSERT_EQ(errors::Code::INVALID_ARGUMENT, s.code());
[all...]
/external/webp/src/dsp/
H A Dlossless_common.h3 // Use of this source code is governed by a BSD-style license
97 // extra bits. The prefixes are encoded with an entropy code
99 static WEBP_INLINE void VP8LPrefixEncodeBitsNoLUT(int distance, int* const code, argument
104 *code = 2 * highest_bit + second_highest_bit;
107 static WEBP_INLINE void VP8LPrefixEncodeNoLUT(int distance, int* const code, argument
114 *code = 2 * highest_bit + second_highest_bit;
126 static WEBP_INLINE void VP8LPrefixEncodeBits(int distance, int* const code, argument
130 *code = prefix_code.code_;
133 VP8LPrefixEncodeBitsNoLUT(distance, code, extra_bits);
137 static WEBP_INLINE void VP8LPrefixEncode(int distance, int* const code, argument
[all...]
/external/annotation-tools/asmx/src/org/objectweb/asm/
H A DAttribute.java9 * 1. Redistributions of source code must retain the above copyright
33 * A non standard class, field, method or code attribute.
75 * Returns <tt>true</tt> if this type of attribute is a code attribute.
77 * @return <tt>true</tt> if this type of attribute is a code attribute.
87 * this attribute is not a code attribute that contains labels.
109 * @param codeOff index of the first byte of code's attribute content in
111 * not a code attribute. The 6 attribute header bytes, containing the
114 * @param labels the labels of the method's code, or <tt>null</tt> if the
115 * attribute to be read is not a code attribute.
139 * @param code th
153 write( ClassWriter cw, byte[] code, int len, int maxStack, int maxLocals) argument
201 getSize( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals) argument
238 put( final ClassWriter cw, final byte[] code, final int len, final int maxStack, final int maxLocals, final ByteVector out) argument
[all...]
/external/eigen/blas/
H A Dlevel2_real_impl.h52 int code = UPLO(*uplo); local
53 if(code>=2 || func[code]==0)
56 func[code](*n, a, *lda, actual_x, actual_y, alpha);
93 int code = UPLO(*uplo); local
94 if(code>=2 || func[code]==0)
97 func[code](*n, c, *ldc, x_cpy, x_cpy, alpha);
135 int code = UPLO(*uplo); local
136 if(code>
212 int code = UPLO(*uplo); local
259 int code = UPLO(*uplo); local
[all...]
/external/elfutils/libdw/
H A Ddwarf_child.c37 /* Some arbitrary value not conflicting with any existing code. */
148 const unsigned char *code = addr; local
152 if (unlikely (code >= endp)) /* Truncated section. */
154 if (unlikely (*code == 0x80))
155 ++code;
159 if (unlikely (*code == '\0'))

Completed in 1410 milliseconds

<<11121314151617181920>>