Searched refs:newid (Results 1 - 7 of 7) sorted by relevance

/external/libmtp/examples/
H A Dnewfolder.c37 uint32_t newid; local
46 newid = LIBMTP_Create_Folder(device, argv[1], atol(argv[2]), atol(argv[3]));
47 if (newid == 0) {
50 printf("New folder created with ID: %d\n", newid);
61 int newid = LIBMTP_Create_Folder(device, folder, id, 0); local
62 if (newid == 0) {
67 printf("New folder created with ID: %d\n", newid);
/external/selinux/libselinux/src/
H A Dlabel_file.c349 int newid; local
360 newid = find_stem(data, buf, stem_len);
361 if (newid < 0) {
362 newid = store_stem(data, buf, stem_len);
363 if (newid < 0) {
364 rc = newid;
367 data->stem_arr[newid].from_mmap = 1;
369 stem_map[i] = newid;
/external/openfst/src/include/fst/
H A Dcache.h322 vector<StateId> newid(old_num_states, 0);
324 newid[dstates[i]] = kNoStateId;
327 if (newid[s] != kNoStateId) {
328 newid[s] = nstates;
338 if (newid[*siter] != kNoStateId) {
339 *siter = newid[*siter];
H A Dvector-fst.h82 vector<StateId> newid(states_.size(), 0);
84 newid[dstates[i]] = kNoStateId;
87 if (newid[s] != kNoStateId) {
88 newid[s] = nstates;
101 StateId t = newid[arcs[i].nextstate];
117 SetStart(newid[Start()]);
/external/libmtp/src/
H A Dlibmtp.c163 uint32_t * const newid,
7029 * @param newid a pointer to a variable that will hold the new object
7044 uint32_t * const newid,
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;
7035 create_new_abstract_list(LIBMTP_mtpdevice_t *device, char const * const name, char const * const artist, char const * const composer, char const * const genre, uint32_t const parenthandle, uint32_t const storageid, uint16_t const objectformat, char const * const suffix, uint32_t * const newid, uint32_t const * const tracks, uint32_t const no_tracks) argument
[all...]
/external/selinux/checkpolicy/
H A Dpolicy_define.c114 char *newid = 0; local
117 newid = (char *)malloc(strlen(id) + 1);
118 if (!newid) {
122 strcpy(newid, id);
124 error = queue_push(id_queue, (queue_element_t) newid);
126 error = queue_insert(id_queue, (queue_element_t) newid);
130 free(newid);
/external/dnsmasq/src/
H A Doption.c1952 struct dhcp_netid *newid = opt_malloc(sizeof(struct dhcp_netid)); local
1953 newid->next = id;
1954 id = newid;
1956 newid->net = opt_string_alloc(arg+4);

Completed in 281 milliseconds