Home
last modified time | relevance | path

Searched refs:readonly (Results 1 – 5 of 5) sorted by relevance

/system/extras/ioshark/
Dioshark_bench.h49 int readonly; member
103 return (((struct files_db_s *)node)->readonly); in files_db_readonly()
132 void *files_db_add_byfileno(void *handle, int fileno, int readonly);
Dioshark_bench_subr.c66 void *files_db_add_byfileno(void *handle, int fileno, int readonly) in files_db_add_byfileno() argument
78 db_node->readonly = readonly; in files_db_add_byfileno()
129 if (!db_node->readonly && fsync(db_node->fd) < 0) { in files_db_fsync_discard_files()
Dioshark_bench.c171 int readonly; in create_files() local
198 readonly = 0; in create_files()
200 readonly = 1; in create_files()
204 readonly); in create_files()
/system/core/liblog/tests/
Dliblog_test.cpp1850 char readonly[PROP_VALUE_MAX]; in TEST() local
1858 property_get(readonly_key, readonly, nothing_val); in TEST()
1859 fprintf(stderr, "INFO: getprop %s -> %s\n", readonly_key, readonly); in TEST()
1861 if (!strcmp(readonly, nothing_val)) { in TEST()
1873 property_get(readonly_key, readonly, nothing_val); in TEST()
1874 if (!strcmp(readonly, domain)) { in TEST()
1883 EXPECT_STRNE(domain, readonly); in TEST()
1886 if (!strcasecmp(readonly, "false") || !readonly[0] || in TEST()
1887 !strcmp(readonly, nothing_val)) { in TEST()
/system/nfc/src/nfa/ce/
Dnfa_ce_act.c674 bool readonly; in nfa_ce_set_content() local
685 readonly = (p_cb->listen_info[NFA_CE_LISTEN_INFO_IDX_NDEF].flags & in nfa_ce_set_content()
698 status = CE_T3tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, in nfa_ce_set_content()
706 status = CE_T4tSetLocalNDEFMsg(readonly, p_cb->ndef_max_size, in nfa_ce_set_content()