Home
last modified time | relevance | path

Searched refs:num_str (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc/src/core/lib/json/
Djson.cc93 char* num_str; in grpc_json_add_number_string_child() local
94 gpr_asprintf(&num_str, "%" PRId64, num); in grpc_json_add_number_string_child()
95 return grpc_json_create_child(it, parent, name, num_str, GRPC_JSON_STRING, in grpc_json_add_number_string_child()
/external/strace/
Dbasic_filters.c85 char *num_str = qualify_syscall_separate_personality(s, &p); in qualify_syscall_number() local
88 if (num_str) { in qualify_syscall_number()
89 n = string_to_uint(num_str); in qualify_syscall_number()
90 free(num_str); in qualify_syscall_number()
/external/bcc/src/lua/bcc/vendor/
Djson.lua108 local num_str = str:match('^-?%d+%.?%d*[eE]?[+-]?%d*', pos)
109 local val = tonumber(num_str)
111 return val, pos + #num_str
/external/mesa3d/src/intel/genxml/
Dgen_pack_header.py186 def num_from_str(num_str): argument
187 if num_str.lower().startswith('0x'):
188 return int(num_str, base=16)
190 assert not num_str.startswith('0'), 'octals numbers not allowed'
191 return int(num_str)
/external/mesa3d/src/broadcom/cle/
Dgen_pack_header.py89 def num_from_str(num_str): argument
90 if num_str.lower().startswith('0x'):
91 return int(num_str, base=16)
93 assert(not num_str.startswith('0') and 'octals numbers not allowed')
94 return int(num_str)
/external/OpenCSD/decoder/source/
Dtrc_gen_elem.cpp125 int num_str = sizeof(s_elem_descs) / sizeof(s_elem_descs[0]); in toString() local
127 if(typeIdx < num_str) in toString()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_progvar.cpp284 const size_t num_str() { freeze(); return m_strings.size(); } in num_str() function in StringTable
927 …single_kernel_helper_with_build_options(context, &program, &writer, ksrc.num_str(), ksrc.strs(), "… in l_write_read_for_type()
1078 …single_kernel_helper_with_build_options(context, &program, &writer, ksrc.num_str(), ksrc.strs(), "… in l_init_write_read_for_type()
1267 …_kernel_helper_with_build_options(context, &program, &get_max_size, ksrc.num_str(), ksrc.strs(), "… in l_capacity()
1388 …clProgramWrapper writer_program( clCreateProgramWithSource( context, wksrc.num_str(), wksrc.strs()… in l_user_type()
1394 …print_build_log(writer_program, 1, &device, wksrc.num_str(), wksrc.strs(), wksrc.lengths(), OPTION… in l_user_type()
1398 …clProgramWrapper reader_program( clCreateProgramWithSource( context, rksrc.num_str(), rksrc.strs()… in l_user_type()
1404 …print_build_log(reader_program, 1, &device, rksrc.num_str(), rksrc.strs(), rksrc.lengths(), OPTION… in l_user_type()
1428 …status = create_single_kernel_helper_create_program(context, &program, ksrc.num_str(), ksrc.strs()… in l_user_type()
1431 … print_build_log(program, 1, &device, ksrc.num_str(), ksrc.strs(), ksrc.lengths(), OPTIONS); in l_user_type()
[all …]
/external/mesa3d/src/panfrost/lib/
Dgen_pack.py219 def num_from_str(num_str): argument
220 if num_str.lower().startswith('0x'):
221 return int(num_str, base=16)
223 assert(not num_str.startswith('0') and 'octals numbers not allowed')
224 return int(num_str)
/external/pdfium/core/fpdfapi/parser/
Dcpdf_parser.cpp272 ByteString num_str = m_pSyntax->GetNextWord(&is_num); in VerifyCrossRefV4() local
274 if (!is_num || num_str.IsEmpty() || in VerifyCrossRefV4()
275 FXSYS_atoui(num_str.c_str()) != it.first) { in VerifyCrossRefV4()
/external/python/cpython2/Doc/library/
Djson.rst243 float to be decoded. By default, this is equivalent to ``float(num_str)``.
248 to be decoded. By default, this is equivalent to ``int(num_str)``. This can
337 float to be decoded. By default, this is equivalent to ``float(num_str)``.
342 to be decoded. By default, this is equivalent to ``int(num_str)``. This can
/external/python/cpython3/Doc/library/
Djson.rst249 float to be decoded. By default, this is equivalent to ``float(num_str)``.
254 to be decoded. By default, this is equivalent to ``int(num_str)``. This can
348 float to be decoded. By default, this is equivalent to ``float(num_str)``.
353 to be decoded. By default, this is equivalent to ``int(num_str)``. This can
/external/usrsctp/usrsctplib/netinet/
Dsctp_indata.c5685 unsigned int num_str; local
5695 num_str = fwd_sz / sizeof(struct sctp_strseq_mid);
5697 num_str = fwd_sz / sizeof(struct sctp_strseq);
5699 for (i = 0; i < num_str; i++) {