Home
last modified time | relevance | path

Searched refs:co (Results 1 – 25 of 1159) sorted by relevance

12345678910>>...47

/third_party/curl/lib/
Dcookie.c109 static void freecookie(struct Cookie *co) in freecookie() argument
111 free(co->expirestr); in freecookie()
112 free(co->domain); in freecookie()
113 free(co->path); in freecookie()
114 free(co->spath); in freecookie()
115 free(co->name); in freecookie()
116 free(co->value); in freecookie()
117 free(co->maxage); in freecookie()
118 free(co->version); in freecookie()
119 free(co); in freecookie()
[all …]
/third_party/python/Objects/
Dcodeobject.c124 PyCodeObject *co; in PyCode_NewWithPosOnlyArgs() local
231 co = PyObject_New(PyCodeObject, &PyCode_Type); in PyCode_NewWithPosOnlyArgs()
232 if (co == NULL) { in PyCode_NewWithPosOnlyArgs()
237 co->co_argcount = argcount; in PyCode_NewWithPosOnlyArgs()
238 co->co_posonlyargcount = posonlyargcount; in PyCode_NewWithPosOnlyArgs()
239 co->co_kwonlyargcount = kwonlyargcount; in PyCode_NewWithPosOnlyArgs()
240 co->co_nlocals = nlocals; in PyCode_NewWithPosOnlyArgs()
241 co->co_stacksize = stacksize; in PyCode_NewWithPosOnlyArgs()
242 co->co_flags = flags; in PyCode_NewWithPosOnlyArgs()
244 co->co_code = code; in PyCode_NewWithPosOnlyArgs()
[all …]
Dframeobject.c603 PyCodeObject *co = f->f_code; in frame_dealloc() local
604 if (co->co_zombieframe == NULL) { in frame_dealloc()
605 co->co_zombieframe = f; in frame_dealloc()
623 Py_DECREF(co); in frame_dealloc()
1018 PyCodeObject *co; in PyFrame_FastToLocalsWithError() local
1032 co = f->f_code; in PyFrame_FastToLocalsWithError()
1033 map = co->co_varnames; in PyFrame_FastToLocalsWithError()
1042 if (j > co->co_nlocals) in PyFrame_FastToLocalsWithError()
1043 j = co->co_nlocals; in PyFrame_FastToLocalsWithError()
1044 if (co->co_nlocals) { in PyFrame_FastToLocalsWithError()
[all …]
/third_party/python/Lib/
Ddis.py155 def _format_code_info(co): argument
157 lines.append("Name: %s" % co.co_name)
158 lines.append("Filename: %s" % co.co_filename)
159 lines.append("Argument count: %s" % co.co_argcount)
160 lines.append("Positional-only arguments: %s" % co.co_posonlyargcount)
161 lines.append("Kw-only arguments: %s" % co.co_kwonlyargcount)
162 lines.append("Number of locals: %s" % co.co_nlocals)
163 lines.append("Stack size: %s" % co.co_stacksize)
164 lines.append("Flags: %s" % pretty_flags(co.co_flags))
165 if co.co_consts:
[all …]
Dmodulefinder.py340 co = compile(fp.read(), pathname, 'exec')
348 co = marshal.loads(memoryview(data)[16:])
350 co = None
353 if co:
355 co = self.replace_paths_in_code(co)
356 m.__code__ = co
357 self.scan_code(co, m)
395 def scan_opcodes(self, co): argument
397 code = co.co_code
398 names = co.co_names
[all …]
/third_party/python/Lib/test/
Dtest_code.py150 def dump(co): argument
155 print("%s: %s" % (attr, getattr(co, "co_" + attr)))
156 print("consts:", tuple(consts(co.co_consts)))
168 co = _testcapi.code_newempty("filename", "funcname", 15)
169 self.assertEqual(co.co_filename, "filename")
170 self.assertEqual(co.co_name, "funcname")
171 self.assertEqual(co.co_firstlineno, 15)
212 co = func.__code__
213 CodeType = type(co)
216 CodeType(co.co_argcount,
[all …]
Dtest_zlib.py242 co = zlib.compressobj()
243 x1 = co.compress(data)
244 x2 = co.flush()
245 self.assertRaises(zlib.error, co.flush) # second flush should not work
261 co = zlib.compressobj(level=level,
269 co.compress(data=HAMLET_SCENE)
272 x = co.compress(HAMLET_SCENE) + co.flush()
283 co = zlib.compressobj(level, method, wbits, memLevel, strategy)
284 x1 = co.compress(HAMLET_SCENE)
285 x2 = co.flush()
[all …]
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dfullconnection_tests.cc26 … std::vector<int> *bias_shape, std::vector<int> *output_shape, int ndim, int ci, int co, in CreateParameter() argument
36 *output_shape = {1, co}; in CreateParameter()
37 *weight_shape = {co, ci}; in CreateParameter()
38 *bias_shape = {co}; in CreateParameter()
41 *output_shape = {n, co}; in CreateParameter()
42 *weight_shape = {co, h * w * ci}; in CreateParameter()
43 *bias_shape = {co}; in CreateParameter()
46 *output_shape = {n, co}; in CreateParameter()
47 *weight_shape = {co, in_n * w * ci / n}; in CreateParameter()
48 *bias_shape = {co}; in CreateParameter()
[all …]
Dmatmul_tests.cc37 int co = 3; variable
39 std::vector<int> output_shape = {1, co};
40 std::vector<int> weight_shape = {co, ci};
57 int co = 3; variable
59 std::vector<int> output_shape = {a, b, m, co};
60 std::vector<int> weight_shape = {a, b, co, ci};
77 int co = 3; variable
79 std::vector<int> output_shape = {a, m, co};
80 std::vector<int> weight_shape = {a, co, ci};
97 int co = 3; in TEST_F() local
[all …]
Dconv2d_transpose_tests.cc25 OpParameter *CreateParameter(int n, int h, int w, int ci, int co, int kh, int kw, std::vector<int> … in CreateParameter() argument
44 *weight_shape = {ci, kh, kw, co}; in CreateParameter()
45 *bias_shape = {co}; in CreateParameter()
46 *output_shape = {1, oh, ow, co}; in CreateParameter()
58 int co = 1; in TEST_F() local
70 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
85 int co = 1; in TEST_F() local
98 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
112 int co = 1; in TEST_F() local
126 …CreateParameter(n, h, w, ci, co, kh, kw, pad, oh, ow, &input_shape, &weight_shape, &bias_shape, &o… in TEST_F()
[all …]
/third_party/libpsl/fuzz/libpsl_icu_load_fuzzer.in/
D8a7038d949648bccd88c9cca392875c8562a6296128 *.kaw��ﷺ=!ü.co���.jpcn
144 ظ�vﷺ=!ü.co���.jpcn
146 ظ.��ﷺ=!ü.co���.jpcn
194 ظ��ﷺ=!ü.co���.jpcn
212 *.kaw��ﷺ=!ü.co���.jpcn
309 ظ��ﷺ=!ü.co���.jpcn
360 ظ��ﷺ=!ü.co���.jpcn
370 ��ﷺ=!ü.co���.jpcn
514 ظ��ﷺ=!ü.co���.jpcn
601 *.kaw��ﷺ=!ü.co���.jpcn
[all …]
/third_party/libpng/contrib/libtests/
Dtarith.c323 static int check_all_characters(checkfp_command *co, checkfp_control c);
325 static int check_some_characters(checkfp_command *co, checkfp_control c,
328 static int check_one_character(checkfp_command *co, checkfp_control c, int ch) in check_one_character() argument
344 co->number[c.cnumber++] = (char)ch; in check_one_character()
347 co->number[c.cnumber++] = '<'; in check_one_character()
348 co->number[c.cnumber++] = hexdigits[(ch >> 4) & 0xf]; in check_one_character()
349 co->number[c.cnumber++] = hexdigits[ch & 0xf]; in check_one_character()
350 co->number[c.cnumber++] = '>'; in check_one_character()
352 co->number[c.cnumber] = 0; in check_one_character()
354 if (co->verbose > 1) in check_one_character()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dtarith.c323 static int check_all_characters(checkfp_command *co, checkfp_control c);
325 static int check_some_characters(checkfp_command *co, checkfp_control c,
328 static int check_one_character(checkfp_command *co, checkfp_control c, int ch) in check_one_character() argument
344 co->number[c.cnumber++] = (char)ch; in check_one_character()
347 co->number[c.cnumber++] = '<'; in check_one_character()
348 co->number[c.cnumber++] = hexdigits[(ch >> 4) & 0xf]; in check_one_character()
349 co->number[c.cnumber++] = hexdigits[ch & 0xf]; in check_one_character()
350 co->number[c.cnumber++] = '>'; in check_one_character()
352 co->number[c.cnumber] = 0; in check_one_character()
354 if (co->verbose > 1) in check_one_character()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dtarith.c323 static int check_all_characters(checkfp_command *co, checkfp_control c);
325 static int check_some_characters(checkfp_command *co, checkfp_control c,
328 static int check_one_character(checkfp_command *co, checkfp_control c, int ch) in check_one_character() argument
344 co->number[c.cnumber++] = (char)ch; in check_one_character()
347 co->number[c.cnumber++] = '<'; in check_one_character()
348 co->number[c.cnumber++] = hexdigits[(ch >> 4) & 0xf]; in check_one_character()
349 co->number[c.cnumber++] = hexdigits[ch & 0xf]; in check_one_character()
350 co->number[c.cnumber++] = '>'; in check_one_character()
352 co->number[c.cnumber] = 0; in check_one_character()
354 if (co->verbose > 1) in check_one_character()
[all …]
/third_party/boost/libs/serialization/src/
Dbasic_iarchive.cpp198 cobject_id & co
298 const cobject_id & co = cobject_id_vector[j]; in delete_created_pointers() local
302 co.bis_ptr->destroy(i->address); in delete_created_pointers()
312 cobject_type co(cid, bis); in register_type() local
314 result = cobject_info_set.insert(co); in register_type()
331 cobject_id & co in load_preamble() argument
333 if(! co.initialized){ in load_preamble()
334 if(co.bis_ptr->class_info()){ in load_preamble()
337 load(ar, co.tracking_level); in load_preamble()
338 load(ar, co.file_version); in load_preamble()
[all …]
Dbasic_oarchive.cpp240 cobject_type co(cobject_info_set.size(), bos); in register_type() local
242 result = cobject_info_set.insert(co); in register_type()
261 const cobject_type & co = register_type(bos); in save_object() local
263 if( ! co.m_initialized){ in save_object()
264 ar.vsave(class_id_optional_type(co.m_class_id)); in save_object()
267 (const_cast<cobject_type &>(co)).m_initialized = true; in save_object()
283 basic_oarchive_impl::aobject ao(t, co.m_class_id, oid); in save_object()
320 const cobject_type & co = register_type(bos); in save_pointer() local
321 if(! co.m_initialized){ in save_pointer()
322 ar.vsave(co.m_class_id); in save_pointer()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c43 struct etna_blend_state *co = CALLOC_STRUCT(etna_blend_state); in etna_blend_state_create() local
53 if (!co) in etna_blend_state_create()
56 co->base = *so; in etna_blend_state_create()
82 co->PE_ALPHA_CONFIG = in etna_blend_state_create()
92 co->PE_ALPHA_CONFIG = 0; in etna_blend_state_create()
98 co->PE_LOGIC_OP = in etna_blend_state_create()
103 co->fo_allowed = !alpha_enable && !logicop_enable; in etna_blend_state_create()
112 co->PE_DITHER[0] = 0x6e4ca280; in etna_blend_state_create()
113 co->PE_DITHER[1] = 0x5d7f91b3; in etna_blend_state_create()
115 co->PE_DITHER[0] = 0xffffffff; in etna_blend_state_create()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/core/
Dcoord.cpp147 VOID CoordTerm::add(Coordinate& co) in add() argument
156 if (m_coord[i] == co) in add()
160 if (m_coord[i] > co) in add()
166 m_coord[i] = co; in add()
174 m_coord[num_coords] = co; in add()
187 BOOL_32 CoordTerm::remove(Coordinate& co) in remove() argument
192 if (m_coord[i] == co) in remove()
206 BOOL_32 CoordTerm::Exists(Coordinate& co) in Exists() argument
211 if (m_coord[i] == co) in Exists()
244 VOID CoordTerm::getsmallest(Coordinate& co) in getsmallest() argument
[all …]
Dcoord.h91 VOID add(Coordinate& co);
93 BOOL_32 remove(Coordinate& co);
94 BOOL_32 Exists(Coordinate& co);
99 VOID getsmallest(Coordinate& co);
100 UINT_32 Filter(INT_8 f, Coordinate& co, UINT_32 start = 0, enum Dim axis = NUM_DIMS);
116 VOID remove(Coordinate& co);
117 BOOL_32 Exists(Coordinate& co);
127 UINT_32 Filter(INT_8 f, Coordinate& co, UINT_32 start = 0, enum Dim axis = NUM_DIMS);
/third_party/ffmpeg/libavfilter/
Dvf_colorkey.c32 int co[4]; member
72 frame->data[0][o + ctx->co[3]] = in do_colorkey_slice()
74 frame->data[0][o + ctx->co[0]], in do_colorkey_slice()
75 frame->data[0][o + ctx->co[1]], in do_colorkey_slice()
76 frame->data[0][o + ctx->co[2]]); in do_colorkey_slice()
99 r = frame->data[0][o + ctx->co[0]]; in do_colorhold_slice()
100 g = frame->data[0][o + ctx->co[1]]; in do_colorhold_slice()
101 b = frame->data[0][o + ctx->co[2]]; in do_colorhold_slice()
109 frame->data[0][o + ctx->co[0]] = (a * t + r * rt + 127) >> 8; in do_colorhold_slice()
110 frame->data[0][o + ctx->co[1]] = (a * t + g * rt + 127) >> 8; in do_colorhold_slice()
[all …]
Dvf_normalize.c106 uint8_t co[4]; // Offsets to R,G,B,A bytes respectively in each pixel member
143 min[c].in = max[c].in = in->data[0][s->co[c]]; in find_min_max()
148 min[c].in = FFMIN(min[c].in, inp[s->co[c]]); in find_min_max()
149 max[c].in = FFMAX(max[c].in, inp[s->co[c]]); in find_min_max()
163 outp[s->co[c]] = s->lut[c][inp[s->co[c]]]; in process()
166 outp[s->co[3]] = inp[s->co[3]]; in process()
217 min[c].in = max[c].in = AV_RN16(in->data[0] + 2 * s->co[c]); in find_min_max_16()
222 min[c].in = FFMIN(min[c].in, inp[s->co[c]]); in find_min_max_16()
223 max[c].in = FFMAX(max[c].in, inp[s->co[c]]); in find_min_max_16()
237 outp[s->co[c]] = s->lut[c][inp[s->co[c]]]; in process_16()
[all …]
Dvf_despill.c31 int co[4]; /* color offsets rgba */ member
47 const int ro = s->co[0], go = s->co[1], bo = s->co[2], ao = s->co[3]; in do_despill_slice()
114 s->co[i] = desc->comp[i].offset; in config_output()
/third_party/mindspore/tests/st/ops/gpu/
Dtest_correction_mul_op.py43 co = 64
44 x = np.random.uniform(-1, 1, size=[co, 64, 32, 32]).astype('float32')
45 bv = np.random.uniform(1, 2, size=[co]).astype('float32')
46 mv = np.random.uniform(1, 2, size=[co]).astype('float32')
48 expect = x * np.reshape(bv, (co, 1, 1, 1)) / np.reshape(mv, (co, 1, 1, 1))
Dtest_correction_mul_grad_op.py44 co, ci, h, w = 64, 1, 32, 32
45 dout = np.random.uniform(-0.1, 0.1, size=[co, ci, h, w]).astype('float32')
46 x = np.random.uniform(1, 1, size=[co, ci, h, w]).astype('float32')
47 batch_std = np.random.uniform(1, 10, size=[co]).astype('float32')
48 running_std = np.random.uniform(1, 10, size=[co]).astype('float32')
51 expect[0] = (dout * np.reshape(batch_std / running_std, (co, 1, 1, 1)))
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dconv2d_transpose.cc89 int co = out_tensors_[0]->shape()[3]; in SetGlobalLocal() local
90 int co4 = UP_DIV(co, C4NUM); in SetGlobalLocal()
106 int co = out_tensors_[0]->shape()[3]; in SetConstArgs() local
122 cl_int4 dst_size = {oh, ow, UP_DIV(co, C4NUM), n}; in SetConstArgs()
169 int co = out_tensors_[0]->shape()[3]; in InitFilter() local
173 int div_co = UP_DIV(co, C4NUM); in InitFilter()
201 if (co_offset < co && ci_offset < ci) { in InitFilter()
202 int ori_index = ((ci_offset * kh + kh_i) * kw + kw_i) * co + co_offset; in InitFilter()
241 int co = out_tensors_[0]->shape()[3]; in InitBias() local
242 int div_co = UP_DIV(co, C4NUM); in InitBias()
[all …]

12345678910>>...47