/external/tensorflow/tensorflow/core/framework/ |
D | run_handler_util_test.cc | 40 string range_str = ""; in VerifySchedulingRanges() local 42 if (i > 0) range_str += " "; in VerifySchedulingRanges() 43 range_str += strings::StrCat("[", start[i], ", ", end[i], ")"); in VerifySchedulingRanges() 45 ASSERT_GE(start[i], 0) << range_str; in VerifySchedulingRanges() 46 ASSERT_LE(end[i], num_threads) << range_str; in VerifySchedulingRanges() 49 ASSERT_GE(end[i - 1] - start[i - 1], end[i] - start[i]) << range_str; in VerifySchedulingRanges() 51 ASSERT_GE(end[i - 1], start[i]) << range_str; in VerifySchedulingRanges() 54 ASSERT_GE((end[i] - start[i]), min_threads_per_request) << range_str; in VerifySchedulingRanges() 65 << "Ranges: " << range_str << " thread_demand: " << thread_demand in VerifySchedulingRanges() 72 LOG(INFO) << "Assigned ranges: " << range_str; in VerifySchedulingRanges()
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 132 if (selinuxuser->range_str == NULL) { in cil_reset_selinuxuser() 204 if (rangetrans->range_str == NULL) { in cil_reset_rangetransition() 266 if (userrange->range_str == NULL) { in cil_reset_userrange() 273 if (context->range_str == NULL) { in cil_reset_context()
|
D | cil_write_ast.c | 346 char *range_str = NULL; in cil_unfill_context() local 351 if (context->range_str != NULL) { in cil_unfill_context() 352 range_str = strdup(context->range_str); in cil_unfill_context() 353 if (range_str == NULL) { in cil_unfill_context() 359 rc = cil_unfill_levelrange(context->range, &range_str); in cil_unfill_context() 364 + strlen(range_str) + 6; in cil_unfill_context() 366 if (sprintf(*out_str, "(%s %s %s %s)", user_str, role_str, type_str, range_str) < 0) { in cil_unfill_context() 373 free(range_str); in cil_unfill_context() 582 if (usrrng->range_str != NULL) { in cil_write_userrange() 583 range = strdup(usrrng->range_str); in cil_write_userrange()
|
D | cil_internal.h | 476 char *range_str; member 490 char *range_str; member 582 char *range_str; member 720 char *range_str; member
|
D | cil_copy_ast.c | 474 if (orig->range_str != NULL) { in cil_copy_userrange() 475 new->range_str = orig->range_str; in cil_copy_userrange() 756 if (orig->range_str != NULL) { in cil_copy_rangetransition() 757 new->range_str = orig->range_str; in cil_copy_rangetransition() 1071 if (data->range_str != NULL) { in cil_copy_fill_context() 1072 new->range_str = data->range_str; in cil_copy_fill_context()
|
D | cil_tree.c | 655 } else if (context->range_str != NULL) { in cil_tree_print_context() 656 cil_log(CIL_INFO, " %s", context->range_str); in cil_tree_print_context() 794 } else if (userrange->range_str != NULL) { in cil_tree_print_node() 795 cil_log(CIL_INFO, " %s", userrange->range_str); in cil_tree_print_node() 1160 cil_log(CIL_INFO, " %s", rangetrans->range_str); in cil_tree_print_node()
|
D | cil_resolve_ast.c | 700 if (rangetrans->range_str != NULL) { in cil_resolve_rangetransition() 701 …rc = cil_resolve_name(current, rangetrans->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datu… in cil_resolve_rangetransition() 922 if (userrange->range_str != NULL) { in cil_resolve_userrange() 923 …rc = cil_resolve_name(current, userrange->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datum… in cil_resolve_userrange() 1000 if (selinuxuser->range_str != NULL) { in cil_resolve_selinuxuser() 1001 …rc = cil_resolve_name(current, selinuxuser->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_… in cil_resolve_selinuxuser() 1874 if (context->range_str != NULL) { in cil_resolve_context() 1875 …rc = cil_resolve_name(current, context->range_str, CIL_SYM_LEVELRANGES, extra_args, &lvlrange_datu… in cil_resolve_context()
|
D | cil_build_ast.c | 1475 userrange->range_str = parse_current->next->next->data; in cil_gen_userrange() 1502 if (userrange->range_str == NULL && userrange->range != NULL) { in cil_destroy_userrange() 1582 selinuxuser->range_str = parse_current->next->next->next->data; in cil_gen_selinuxuser() 1629 selinuxuser->range_str = parse_current->next->next->data; in cil_gen_selinuxuserdefault() 1655 if (selinuxuser->range_str == NULL && selinuxuser->range != NULL) { in cil_destroy_selinuxuser() 3447 rangetrans->range_str = NULL; in cil_gen_rangetransition() 3450 rangetrans->range_str = parse_current->next->next->next->next->data; in cil_gen_rangetransition() 3477 if (rangetrans->range_str == NULL && rangetrans->range != NULL) { in cil_destroy_rangetransition() 4123 context->range_str = NULL; in cil_fill_context() 4126 context->range_str = user_node->next->next->next->data; in cil_fill_context() [all …]
|
D | cil.c | 2039 (*context)->range_str = NULL; in cil_context_init() 2189 (*selinuxuser)->range_str = NULL; in cil_selinuxuser_init() 2311 (*rangetrans)->range_str = NULL; in cil_rangetransition_init() 2674 (*userrange)->range_str = NULL; in cil_userrange_init()
|
D | cil_verify.c | 788 ctx->range_str, ctx->user_str); in __cil_verify_context() 799 ctx->range_str, ctx->user_str); in __cil_verify_context()
|
/external/llvm-project/lldb/examples/python/ |
D | symbolication.py | 191 range_str = match.group('range') 192 addr_match = self.addr_regex.match(range_str) 198 range_match = self.range_regex.match(range_str)
|
/external/selinux/libsemanage/src/ |
D | pywrap-test.py | 239 range_str = str(low) 241 range_str = str(low) + "-" + str(high) 245 print("Port: %s %s Context: %s" % (range_str, proto_str, con_str))
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 989 CuAssertStrEquals(tc, test_copy->packet_context->range_str, in test_cil_copy_netifcon_nested() 990 ((struct cil_netifcon *)test_ast_node->data)->packet_context->range_str); in test_cil_copy_netifcon_nested() 1025 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->range_str, in test_cil_copy_fill_context() 1026 ((struct cil_context *)test_ast_node->data)->range_str); in test_cil_copy_fill_context() 1061 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->range_str, in test_cil_copy_fill_context_anonrange() 1062 ((struct cil_context *)test_ast_node->data)->range_str); in test_cil_copy_fill_context_anonrange()
|
/external/selinux/libsepol/src/ |
D | kernel_to_conf.c | 1877 char *range_str = NULL; in range_to_str() local 1889 range_str = create_str("%s - %s", 2, low, high); in range_to_str() 1895 return range_str; in range_to_str()
|
D | kernel_to_cil.c | 1897 char *range_str = NULL; in range_to_str() local 1909 range_str = create_str("(%s %s)", 2, low, high); in range_to_str() 1915 return range_str; in range_to_str()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_file_system.cc | 1204 for (const std::string& range_str : range_strs) { in RequestUploadSessionStatus() local 1206 if (strings::safe_strto64(range_str, &tmp)) { in RequestUploadSessionStatus()
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 3000 range_str = (("(" if open_lower_bound else "[") + str(lower_bound) + ", " + 3014 (len(violation_subscripts[0]), np.size(target), range_str) +
|