/external/python/cpython2/Modules/ |
D | imageop.c | 148 ncp = (char *)PyString_AsString(rv); in imageop_crop() 201 ncp = (char *)PyString_AsString(rv); in imageop_scale() 244 ncp = (unsigned char *)PyString_AsString(rv); in imageop_tovideo() 292 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2mono() 331 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2grey4() 368 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2grey2() 404 ncp = (unsigned char *)PyString_AsString(rv); in imageop_dither2mono() 448 ncp = (unsigned char *)PyString_AsString(rv); in imageop_dither2grey2() 490 ncp = (unsigned char *)PyString_AsString(rv); in imageop_mono2grey() 530 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey22grey() [all …]
|
D | zipimport.c | 195 archive = PyString_AsString(self->archive); in zipimporter_repr() 197 prefix = PyString_AsString(self->prefix); in zipimporter_repr() 266 len = make_filename(PyString_AsString(self->prefix), subname, path); in get_module_info() 339 char *prefix = PyString_AsString(self->prefix); in zipimporter_load_module() 344 PyString_AsString(self->archive), in zipimporter_load_module() 446 strncmp(path, PyString_AsString(self->archive), len) == 0 && in zipimporter_get_data() 456 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_data() 493 len = make_filename(PyString_AsString(self->prefix), subname, path); in zipimporter_get_source() 506 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_source() 979 buf = PyString_AsString(raw_data); in get_data() [all …]
|
D | audioop.c | 789 ncp = (signed char *)PyString_AsString(rv); in audioop_mul() 830 ncp = (signed char *)PyString_AsString(rv); in audioop_tomono() 876 ncp = (signed char *)PyString_AsString(rv); in audioop_tostereo() 925 ncp = (signed char *)PyString_AsString(rv); in audioop_add() 977 ncp = (signed char *)PyString_AsString(rv); in audioop_bias() 1016 ncp = (unsigned char *)PyString_AsString(rv); in audioop_reverse() 1058 ncp = (unsigned char *)PyString_AsString(rv); in audioop_lin2lin() 1196 ncp = PyString_AsString(str); in audioop_ratecv() 1213 len = (int)(ncp - PyString_AsString(str)); in audioop_ratecv() 1287 ncp = (unsigned char *)PyString_AsString(rv); in audioop_lin2ulaw() [all …]
|
D | stropmodule.c | 203 p = PyString_AsString(res); in strop_joinfields() 230 p = PyString_AsString(res) + reslen; in strop_joinfields() 277 p = PyString_AsString(res) + reslen; in strop_joinfields() 473 s_new = PyString_AsString(newstr); in strop_lower() 512 s_new = PyString_AsString(newstr); in strop_upper() 552 s_new = PyString_AsString(newstr); in strop_capitalize() 731 s_new = PyString_AsString(newstr); in strop_swapcase() 973 output_start = output = PyString_AsString(result); in strop_translate() 974 input = PyString_AsString(input_obj); in strop_translate()
|
D | syslogmodule.c | 97 atslash = strrchr(PyString_AsString(scriptobj), SEP); in syslog_get_argv() 136 openlog(S_ident_o ? PyString_AsString(S_ident_o) : NULL, logopt, facility); in syslog_openlog()
|
D | dlmodule.c | 98 dlsym(xp->dl_handle, PyString_AsString(name)); in dl_call() 113 alist[i-1] = (long)PyString_AsString(v); in dl_call()
|
D | svmodule.c | 56 if (!(outstr = PyString_AsString(output))) { in svc_conversion() 542 char* str = PyString_AsString(videodata); in sv_CaptureBurst() 620 str = PyString_AsString(videodata); in sv_CaptureOneFrame() 855 str = PyString_AsString(output); in sv_conversion()
|
D | mmapmodule.c | 873 buf = PyString_AsString(v); in mmap_ass_slice() 900 buf = PyString_AsString(v); in mmap_ass_item() 935 buf = PyString_AsString(value); in mmap_ass_subscript() 968 const char *buf = PyString_AsString(value); in mmap_ass_subscript() 977 const char *buf = PyString_AsString(value); in mmap_ass_subscript()
|
D | cdmodule.c | 247 (CDFRAME *) PyString_AsString(result), numframes); in CD_readda() 488 p = PyString_AsString(v); in CD_callback() 495 p = PyString_AsString(v); in CD_callback()
|
D | imgfile.c | 138 cdatap = PyString_AsString(rv); in imgfile_read() 331 cdatap = PyString_AsString(rv); in imgfile_readscaled()
|
/external/python/cpython2/Objects/ |
D | moduleobject.c | 76 return PyString_AsString(nameobj); in PyModule_GetName() 96 return PyString_AsString(fileobj); in PyModule_GetFilename() 121 char *s = PyString_AsString(key); in _PyModule_Clear() 135 char *s = PyString_AsString(key); in _PyModule_Clear()
|
D | classobject.c | 237 sname = PyString_AsString(name); in class_getattr() 349 sname = PyString_AsString(name); in class_setattr() 396 name = PyString_AsString(op->cl_name); in class_repr() 401 PyString_AsString(mod), in class_repr() 719 sname = PyString_AsString(name); in instance_getattr1() 837 sname = PyString_AsString(name); in instance_setattr() 920 cname = PyString_AsString(classname); in instance_repr() 928 PyString_AsString(mod), in instance_repr() 2138 PyString_AsString(inst->in_class->cl_name)); in instance_call()
|
/external/python/cpython2/Python/ |
D | traceback.c | 156 strcpy(namebuf, PyString_AsString(v)); in _Py_DisplaySourceLine() 244 PyString_AsString( in tb_printinternal() 247 PyString_AsString(tb->tb_frame->f_code->co_name)); in tb_printinternal()
|
D | mactoolboxglue.c | 55 char *input = PyString_AsString(rv); in PyMac_StrError() 128 input = PyString_AsString(rv); in PyMac_GetFullPathname() 169 memcpy((char *)&tmp, PyString_AsString(v), 4); in PyMac_GetOSType() 201 memcpy((char *)(pbuf+1), PyString_AsString(v), len); in PyMac_GetStr255()
|
D | _warnings.c | 154 return PyString_AsString(action); in get_filter() 159 return PyString_AsString(action); in get_filter() 203 mod_str = PyString_AsString(filename); in normalize_module() 496 const char *file_str = PyString_AsString(*filename); in setup_context() 516 const char *module_str = PyString_AsString(*module); in setup_context()
|
D | pythonrun.c | 821 ps1 = PyString_AsString(v); in PyRun_InteractiveOneFlags() 829 ps2 = PyString_AsString(w); in PyRun_InteractiveOneFlags() 1012 *filename = PyString_AsString(v); in parse_syntax_error() 1049 *text = PyString_AsString(v); in parse_syntax_error() 1280 char* modstr = PyString_AsString(moduleName); in PyErr_Display() 1638 msg = PyString_AsString(u); in err_input()
|
D | ceval.c | 1044 filename = PyString_AsString(co->co_filename); in PyEval_EvalFrameEx() 3391 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3428 PyString_AsString(co->co_name)); in PyEval_EvalCodeEx() 3455 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3456 PyString_AsString(kwd_str)); in PyEval_EvalCodeEx() 3471 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3472 PyString_AsString(kwd_str)); in PyEval_EvalCodeEx() 3491 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 3515 PyString_AsString(co->co_name), in PyEval_EvalCodeEx() 4232 return PyString_AsString(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName() [all …]
|
D | future.c | 25 const char *feature = PyString_AsString(name->name); in future_check_features()
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 16 #define PyBytes_AsString PyString_AsString
|
D | stringobject.h | 69 PyAPI_FUNC(char *) PyString_AsString(PyObject *);
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 109 key = PyString_AsString(idx); in pysqlite_row_subscript() 114 … compare_key = PyString_AsString(PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)); in pysqlite_row_subscript()
|
D | connection.c | 109 rc = sqlite3_open(PyString_AsString(database_utf8), &self->db); in pysqlite_connection_init() 124 if (strcmp(PyString_AsString(class_attr_str), "<type 'apsw.Connection'>") == 0) { in pysqlite_connection_init() 573 sqlite3_result_text(context, PyString_AsString(py_val), -1, SQLITE_TRANSIENT); in _pysqlite_set_result() 578 sqlite3_result_text(context, PyString_AsString(stringval), -1, SQLITE_TRANSIENT); in _pysqlite_set_result() 1172 begin_statement_str = PyString_AsString(begin_statement); in pysqlite_connection_set_isolation_level() 1518 PyString_AsString(uppercase_name), in pysqlite_connection_create_collation()
|
D | cursor.c | 533 operation_cstr = PyString_AsString(operation); in _pysqlite_query_execute() 540 operation_cstr = PyString_AsString(operation_bytestr); in _pysqlite_query_execute() 800 script_cstr = PyString_AsString(script_obj); in pysqlite_cursor_executescript() 807 script_cstr = PyString_AsString(script_str); in pysqlite_cursor_executescript()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 56 #define PyString_AsString(ob) \ macro 175 PyString_AsString(s.get())); in AssignItem() 417 PyString_AsString(s.get())); in Append()
|
/external/python/cpython2/Parser/ |
D | tokenizer.c | 438 str = PyString_AsString(utf8); in fp_readl() 691 str = PyString_AsString(utf8); in decode_str() 721 str = PyString_AsString(utf8); in decode_str() 809 encoding = PyString_AsString(enc); in tok_stdin_decode() 1723 const char *line = PyString_AsString(lineobj); in PyTokenizer_RestoreEncoding()
|