Home
last modified time | relevance | path

Searched refs:arg_array (Results 1 – 11 of 11) sorted by relevance

/external/ltp/pan/
Dsplitstr.c63 char *arg_string = NULL, **arg_array = NULL, *cur_tok = NULL; in splitstr() local
91 arg_array = malloc(sizeof(char *) * max_toks); in splitstr()
93 if (arg_array == NULL) { in splitstr()
110 arg_array[num_toks++] = cur_tok; in splitstr()
114 arg_array = in splitstr()
115 (char **)realloc((void *)arg_array, in splitstr()
117 if (arg_array == NULL) { in splitstr()
124 arg_array[num_toks] = NULL; in splitstr()
130 arg_array[i] = NULL; in splitstr()
142 return ((const char **)arg_array); in splitstr()
/external/ltp/testcases/kernel/fs/doio/
Dstring_to_tokens.c80 string_to_tokens(char *arg_string, char *arg_array[], int array_size, in string_to_tokens() argument
86 if (arg_array == NULL || array_size <= 1 || separator == NULL) in string_to_tokens()
93 if ((arg_array[num_toks] = strtok(arg_string, separator)) == NULL) { in string_to_tokens()
98 if ((arg_array[num_toks] = strtok(NULL, separator)) == NULL) in string_to_tokens()
103 arg_array[num_toks] = NULL; in string_to_tokens()
/external/grpc-grpc/test/core/end2end/tests/
Dsimple_delayed_request.cc189 grpc_arg arg_array[1]; in test_simple_delayed_request_short() local
190 arg_array[0].type = GRPC_ARG_INTEGER; in test_simple_delayed_request_short()
191 arg_array[0].key = in test_simple_delayed_request_short()
193 arg_array[0].value.integer = 1000; in test_simple_delayed_request_short()
194 client_args.args = arg_array; in test_simple_delayed_request_short()
209 grpc_arg arg_array[1]; in test_simple_delayed_request_long() local
210 arg_array[0].type = GRPC_ARG_INTEGER; in test_simple_delayed_request_long()
211 arg_array[0].key = in test_simple_delayed_request_long()
213 arg_array[0].value.integer = 1000; in test_simple_delayed_request_long()
214 client_args.args = arg_array; in test_simple_delayed_request_long()
Dconnectivity.cc55 grpc_arg arg_array[1]; in test_connectivity() local
56 arg_array[0].type = GRPC_ARG_INTEGER; in test_connectivity()
57 arg_array[0].key = in test_connectivity()
59 arg_array[0].value.integer = 1000; in test_connectivity()
60 client_args.args = arg_array; in test_connectivity()
/external/cronet/base/strings/
Dsafe_sprintf.h227 const internal::Arg arg_array[] = { args... }; in SafeSNPrintf() local
228 return internal::SafeSNPrintf(buf, N, fmt, arg_array, sizeof...(args)); in SafeSNPrintf()
235 const internal::Arg arg_array[] = { args... }; in SafeSPrintf() local
236 return internal::SafeSNPrintf(buf, N, fmt, arg_array, sizeof...(args)); in SafeSPrintf()
/external/libchrome/base/strings/
Dsafe_sprintf.h224 const internal::Arg arg_array[] = { args... }; in SafeSNPrintf() local
225 return internal::SafeSNPrintf(buf, N, fmt, arg_array, sizeof...(args)); in SafeSNPrintf()
232 const internal::Arg arg_array[] = { args... }; in SafeSPrintf() local
233 return internal::SafeSNPrintf(buf, N, fmt, arg_array, sizeof...(args)); in SafeSPrintf()
/external/grpc-grpc/test/core/end2end/
Dgoaway_server_test.cc179 grpc_arg arg_array[1]; in main() local
180 arg_array[0].type = GRPC_ARG_INTEGER; in main()
181 arg_array[0].key = in main()
183 arg_array[0].value.integer = 1000; in main()
184 client_args.args = arg_array; in main()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_test.cc182 auto arg_array = std::make_unique<Array2D<float>>(4, 4); in ReduceWindowMaxIotaTest() local
183 arg_array->FillIota(0); in ReduceWindowMaxIotaTest()
184 auto arg_literal = LiteralUtil::CreateR2FromArray2D<float>(*arg_array); in ReduceWindowMaxIotaTest()
2632 auto arg_array = std::make_unique<Array2D<float>>(2, 3); in TEST_P() local
2633 arg_array->FillUnique(1.0f); in TEST_P()
2634 auto arg_literal = LiteralUtil::CreateR2FromArray2D<float>(*arg_array); in TEST_P()
2674 auto arg_array = std::make_unique<Array2D<float>>(2, 3); in TEST_P() local
2675 arg_array->FillUnique(1.0f); in TEST_P()
2676 auto arg_literal = LiteralUtil::CreateR2FromArray2D<float>(*arg_array); in TEST_P()
2791 auto arg_array = std::make_unique<Array2D<float>>(2, 3); in TEST_P() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc1664 llvm_ir::IrArray arg_array(GetIrArrayFor(arg)); in EmitInnerLoopForVectorizedReduction() local
1677 arg_array.EmitArrayElementAddress(input_index, &b_), b_.getInt8PtrTy()); in EmitInnerLoopForVectorizedReduction()
1687 arg_array.AnnotateLoadStoreInstructionWithMetadata(addend); in EmitInnerLoopForVectorizedReduction()
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py1260 def arg_array(self, name): member in DictDecompiler
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py2321 def arg_array(self, value): member in DictCompiler