Home
last modified time | relevance | path

Searched refs:newid (Results 1 – 6 of 6) sorted by relevance

/external/libmtp/examples/
Dnewfolder.c37 uint32_t newid; in newfolder_command() local
46 newid = LIBMTP_Create_Folder(device, argv[1], atol(argv[2]), atol(argv[3])); in newfolder_command()
47 if (newid == 0) { in newfolder_command()
50 printf("New folder created with ID: %d\n", newid); in newfolder_command()
61 int newid = LIBMTP_Create_Folder(device, folder, id, 0); in newfolder_function() local
62 if (newid == 0) { in newfolder_function()
67 printf("New folder created with ID: %d\n", newid); in newfolder_function()
/external/libselinux/src/
Dlabel_file.c222 int newid; in load_mmap() local
249 newid = find_stem(data, buf, stem_len); in load_mmap()
250 if (newid < 0) { in load_mmap()
251 newid = store_stem(data, buf, stem_len); in load_mmap()
252 if (newid < 0) { in load_mmap()
253 rc = newid; in load_mmap()
256 data->stem_arr[newid].from_mmap = 1; in load_mmap()
258 stem_map[i] = newid; in load_mmap()
/external/selinux/libselinux/src/
Dlabel_file.c224 int newid; in load_mmap() local
251 newid = find_stem(data, buf, stem_len); in load_mmap()
252 if (newid < 0) { in load_mmap()
253 newid = store_stem(data, buf, stem_len); in load_mmap()
254 if (newid < 0) { in load_mmap()
255 rc = newid; in load_mmap()
258 data->stem_arr[newid].from_mmap = 1; in load_mmap()
260 stem_map[i] = newid; in load_mmap()
/external/libmtp/src/
Dlibmtp.c163 uint32_t * const newid,
7044 uint32_t * const newid, argument
7104 *newid = 0x00000000U;
7119 prop->ObjectHandle = *newid;
7129 prop->ObjectHandle = *newid;
7136 prop->ObjectHandle = *newid;
7144 prop->ObjectHandle = *newid;
7153 prop->ObjectHandle = *newid;
7162 prop->ObjectHandle = *newid;
7171 prop->ObjectHandle = *newid;
[all …]
/external/selinux/checkpolicy/
Dpolicy_define.c114 char *newid = 0; in insert_id() local
117 newid = (char *)malloc(strlen(id) + 1); in insert_id()
118 if (!newid) { in insert_id()
122 strcpy(newid, id); in insert_id()
124 error = queue_push(id_queue, (queue_element_t) newid); in insert_id()
126 error = queue_insert(id_queue, (queue_element_t) newid); in insert_id()
130 free(newid); in insert_id()
/external/dnsmasq/src/
Doption.c1935 struct dhcp_netid *newid = opt_malloc(sizeof(struct dhcp_netid)); in one_opt() local
1936 newid->next = id; in one_opt()
1937 id = newid; in one_opt()
1939 newid->net = opt_string_alloc(arg+4); in one_opt()